New warnings in iOS 9: “all bitcode will be dropped”

前端 未结 8 2308
执笔经年
执笔经年 2020-11-22 16:49

I have this new warning about the Google Framework in my app:

(null): URGENT: all bitcode will be dropped because \'/Users/myname/Library/Mobile D

8条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 17:29

    Disclaimer: This is intended for those supporting a continuous integration workflow that require an automated process. If you don't, please use Xcode as described in Javier's answer.

    This worked for me to set ENABLE_BITCODE = NO via the command line:

    find . -name *project.pbxproj | xargs sed -i -e 's/\(GCC_VERSION = "";\)/\1\ ENABLE_BITCODE = NO;/g'
    

    Note that this is likely to be unstable across Xcode versions. It was tested with Xcode 7.0.1 and as part of a Cordova 4.0 project.

提交回复
热议问题