iOS /Applications/Xcode-beta.app

2021-03-10  本文已影响0人  Lee坚武

bug显示的问题详情:

/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip /Users/a729527/Library/Developer/Xcode/DerivedData/AE_Insured-dhftsonngwuiybhddjhtuudtbqli/Build/Products/Debug-iphoneos/libGeneralPurpose.a -m -o /Users/a729527/Library/Developer/Xcode/DerivedData/AE_Insured-dhftsonngwuiybhddjhtuudtbqli/Build/Products/Debug-iphoneos/include/libGeneralPurpose.a
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip: input file must be a linked Mach-O file not an archive: /Users/a729527/Library/Developer/Xcode/DerivedData/AE_Insured-dhftsonngwuiybhddjhtuudtbqli/Build/Products/Debug-iphoneos/libGeneralPurpose.a (for architecture armv7)
error: bitcode_strip /Users/a729527/Library/Developer/Xcode/DerivedData/AE_Insured-dhftsonngwuiybhddjhtuudtbqli/Build/Products/Debug-iphoneos/libGeneralPurpose.a: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip exited with 1

解决方案如下:

在Target中的 User-Defined Setting(Build Settings->User-Defined): 添加 STRIP_BITCODE_FROM_COPIED_FILES=NO to your Target

上一篇下一篇

猜你喜欢

热点阅读