解决Xcode 7编译错误:does not contain bitcode

does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
6FE9724C-733F-462C-901A-4E1144DAD81A.png

1,选择项目属性中的”Build Settings“项

解决Xcode 7编译错误:does not contain bitcode_第1张图片
43CDDCA7-4A44-48C9-83B6-E9E9F543346B.png

2,在搜索输入框中输入:bitcode,可以从设置中找到“Enable Bitcode”项,它的默认值是Yes

解决Xcode 7编译错误:does not contain bitcode_第2张图片
F5A4A454-CDD0-4DD5-8E1E-A7ED84EFBEDD.png

3,将Enable Bitcode项的值改成“No”,之后就能成功编译

解决Xcode 7编译错误:does not contain bitcode_第3张图片
43E99E06-A6C8-4335-9426-1317CDD836FD.png

你可能感兴趣的:(解决Xcode 7编译错误:does not contain bitcode)