“Too many symbol files” after successfully submitting my apps

后端 未结 10 2183
忘了有多久
忘了有多久 2020-12-02 04:00

I downloaded Xcode 6 GM and submitted two Swift apps to the app store today. Both passed all pre-upload verification and all the other stuff they had to pass and were succe

10条回答
  •  天涯浪人
    2020-12-02 04:08

    If you are using CocoaPods and your app is set to use arm64 only (i.e. there is only arm64 in your project's info.plist)

    UIRequiredDeviceCapabilities
    
        arm64
    
    

    then you can try adding the following script in your Podfile to solve this issue.

    post_install do |installer|
      installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
          config.build_settings['ENABLE_BITCODE'] = 'NO'
          config.build_settings['ARCHS'] = 'arm64'
        end
      end
    end
    

    AND

    set all your projects' targets (not the targets in Pods) to arm64 only

    CocoaPods Github issue reference

提交回复
热议问题