Undefined symbols for architecture arm64

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

    I faced the same issue. My solution I found here: Why linker link static libraries with errors? iOS

    Adding $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) to the library search paths fixed the problem.

提交回复
热议问题