pods symbol(s) not found for architecture XXX

来源:互联网 发布:java查看内存使用情况 编辑:程序博客网 时间:2024/05/19 20:18

主要原因就是pods没有找对对应的目标project,就是所谓的$(inherited),利用下面的步骤完美解决。


I just had the same issue. The "Other Linker Flags" was overriding the flags from CocoaPods. In fact I got a warning about it-

[!] The `sftest [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-sftest/Pods-sftest.debug.xcconfig'. This can lead to problems with the CocoaPods installation- Use the `$(inherited)` flag, or- Remove the build settings from the target.



Changing "Other Linker Flags" to $(inherited) did indeed solve the problem.

来自:http://stackoverflow.com/questions/26335016/cocoapods-ld-symbols-not-found-for-architecture-armv7s








0 0
原创粉丝点击