embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/XCTest.framework/XCTest) for architecture arm64

ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/Developer/Library/Frameworks'

ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/XCTest.framework/XCTest) for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

原因:主要是因为XXX的framework支持的最低开发环境为8.0,而使用该framework的工程支持版本为8.0以下(我这里的环境为6.1)

解决方法:选择低版本的开发环境,重新编译XXX的framework,   如图更改最低编译版本,有可能在这两个中的build Setting -->iOS Deployment target  选择最低编译版本

embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/XCTest.framework/XCTest) for architecture arm64_第1张图片

注:不喜勿喷!!!

你可能感兴趣的:(embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/XCTest.framework/XCTest) for architecture arm64)