XCode 12, FIRAnalyticsConnector, Build Error

前端 未结 4 1339
无人共我
无人共我 2021-02-13 12:55

After upgrading to XCode 12, my project doesn\'t build for the simulator anymore.

The error I get is:

ld: in ... /Pods/FirebaseAnalytics/Frameworks/FIRAnal         


        
4条回答
  •  北恋
    北恋 (楼主)
    2021-02-13 13:28

    After adding "arm64" to Excluded Architectures for the project AND the pods, I was able to resolve this issue I ran into on an Apple M1.

    I also had to clear DerivedData and restart XCode.

    See: https://medium.com/@khushwanttanwar/xcode-12-compilation-errors-while-running-with-ios-14-simulators-5731c91326e9

提交回复
热议问题