XCode 12, FIRAnalyticsConnector, Build Error

前端 未结 4 1337
无人共我
无人共我 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:37

    Ok, I finally found a fix for the issue.

    Change "Build Active Architecture Only" to "Yes" also for "Release".
    The setting can be found selecting your project > "Build Settings" > "Targets" (your target) > "Architectures"

    Source and more elaborate explanation can be found here:
    https://stackoverflow.com/a/64139830/4134160

    Please note that the problem is not related to Firebase. I'll still leave it since it might lead others to this issue and help them to resolve this.

提交回复
热议问题