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







相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2022-02-19
  • 2021-11-16
  • 2022-01-10
猜你喜欢
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
  • 2021-11-01
  • 2022-12-23
相关资源
相似解决方案