Undefined symbols for architecture arm64

前端 未结 30 1786
南旧
南旧 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:03

    If the architecture and linker settings look good, check your h files. My issue was the same error, but I had restructured the h files and I removed an extern statement. Other m files were using that variable, causing the linker error.

提交回复
热议问题