[ios]Enable Bitcode to No

很多文章都在講怎麼關掉 bitcode,

if you are using a third-party framework or library that was updated for iOS 9, and you don’t want to include bitcode, then you should check to see if a version of the framework was provided without bitcode. See Apple’s note on when to include it in your app bundle:

For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode. For watchOS apps, bitcode is required.

To disable/enable bitcode in your project, follow these steps:

  1. In the project build settings, make sure you have enabled All settings to be visible.
  2. The Build Options at the “Build Settings” section down. Select Yes or No for the Enable Bitcode option.

 

Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the App Store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the store.

说的是bitcode是被编译程序的一种中间形式的代码。包含bitcode配置的程序将会在App store上被编译和链接。bitcode允许苹果在后期重新优化我们程序的二进制文件,而不需要我们重新提交一个新的版本到App store上。

 

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *