拿到别人给的静态库,在模拟器上运行没有错误,在真机上就出现了下面的错误。
xxx 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
静态库没有包含bitcode。将工程的enable bitcode设置成NO就可以了。
网友评论