我在 Xcode 7.1.1 中遇到的当前错误是:
ld: bitcode bundle could not be generated because
'/Users/--/Carthage/Build/tvOS/SwiftyJSON.framework/SwiftyJSON' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
每个人都说要在其他 C 标志中添加“-fembed-bitcode”。我已经这样做了,但我仍然遇到同样的错误。我不确定是我添加它的方式还是什么。
我目前正在将其添加到 Other C Flags > Release > Any tvOS SDK
关于为什么我仍然收到错误的任何想法?