iOS Undefined symbols for architecture arm64

0x00 Debug 正常,Archive 失败

Archive 时,报错:
Undefined symbols for architecture arm64
提示某个类 XXX,没找到!


0x01 Pod 配置问题

如果用 CocoaPods 导入的库
需要在 Build Setting -> Linking -> Other Linker Flags,添加 $(inherited)

查看了一下项目,只在 Debug 下添加了
但在 Release 下,未添加!


0x02 参考

iOS Undefined symbols for architecture arm64


你可能感兴趣的:(iOS各种报错,ios,objective-c,xcode)