Xcode 11.4.1 Building for iOS Simulator, but the linked library '******.a' was built for iOS.

描述:今天升级xcode(v11.3 -> v11.4.1),编译项目,报错:

  • Building for iOS Simulator, but the linked library 'xxx.a' was built for iOS.
  • Building for iOS, but the linked library 'xxx-iPhonesimulator.a' was built for iOS Simulator.

解决办法

Xcode -> File -> Workspace Settings -> Build System -> Legacy Build System
Xcode 11.4.1 Building for iOS Simulator, but the linked library '******.a' was built for iOS._第1张图片

你可能感兴趣的:(iOS,Xcode,swift,xcode14,iOS)