Avn*_*arr 5 llvm xcodebuild ios bitcode
我正在使用以下命令构建我的 FAT 框架以使用 bitcode进行分发:
xcodebuild -sdk iphoneos CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
xcodebuild -sdk iphonesimulator CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
lipo -create /path/to/iphone/framework /path/to/simulator/framework -output /path/to/universal/framework
我的构建标志是这样的:
但是当我使用 bitcode 将框架集成到不同的项目中并使用以下方法对其进行存档时:
xcodebuild -workspace /path/to/MyApp/app.xcworkspace -scheme app_scheme archive -archivePath /path/to/MyArchive/MyApp.xcarchive | xcpretty
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
? ld: bitcode bundle could not be generated because '/path/to/my/app/Frameworks/MyFramework.framework/MyFramework' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build for architecture armv7
? clang: error: linker command failed with exit code 1 (use -v to see invocation)
? Linking MyApp
? ld: bitcode bundle could not be generated because '/tmp/insert_viewer_build/build_1.46.0.2024_1491206455/Frameworks/InsertFramework.framework/InsertFramework' 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)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1207 次 |
| 最近记录: |