'Invalid bitcode version (Producer: '902.0.39.2_0' Reader: '900.0.37_0')'

后端 未结 6 1773
遥遥无期
遥遥无期 2021-02-18 19:07

I\'m using Xcode 9.0.

My pod file:

pod \'Alamofire\', \'~> 4.3\'
pod \'SwiftyJSON\'
pod \'AlamofireSwiftyJSON\'
pod          


        
6条回答
  •  一生所求
    2021-02-18 19:45

    There is a big chance that the Xcode version that compiled the pod sdk is higher than the one you are using.

    Next possible reason is the bitcode in build settings. Check if it is enabled on your app target and your framework target. If you have added vis cocoapods, click on pods project, under targets section, scroll down to the sdk which is giving this error, open the build settings and check for the bitcode status.

    In my case, the Main project had bitcode disabled and the sdk inside the pods project had it enabled. Disabled it and everything worked fine.

提交回复
热议问题