Undefined symbols for architecture arm64

前端 未结 30 2167
南旧
南旧 2020-11-22 08:17

I am getting a Apple Mach-O Linker Error everytime I import a file from CocoaPods.

Undefined symbols for architecture arm64:
  \"_OBJC_CLASS_$_FBSession\", r         


        
30条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 09:09

    As morisunshine answer pointed in right direction, a little tweak in his answer solved my problem for iOS8.2 .Thanks to him.

    I solved this problem by setting that:

    ARCHS = armv7
    
    VALID_ARCHS = armv6 armv7 armv7s arm64
    
    BUILD ACTIVE ARCHITECTURE ONLY= NO
    

提交回复
热议问题