在为Firebase添加pod之后,我在我的iOS(目标C)应用中收到以下错误。
clang: error: linker command failed with exit code 1 (use -v to see invocation)
可能有用的另一条信息是我在执行pod install命令时在终端中收到的消息:
....... [!] The `myapp [Debug]` target overrides the `LIBRARY_SEARCH_PATHS` build
setting defined in `Pods/Target Support Files/Pods-myapp/Pods-myapp.debug.xcconfig'.
This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `myapp [Release]` target overrides the `LIBRARY_SEARCH_PATHS` build
setting defined in `Pods/Target Support Files/Pods-myapp/Pods-myapp.release.xcconfig'.
This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
看到这个我尝试更改Library Search Paths
,但没有成功。
对于“从目标中删除构建设置”,它究竟意味着什么?我怎么能这样做?
我已经浏览过网络并发现了一些与此错误消息相关的帖子,但我没有找到任何有用的方法来解决我的问题。 我发现的建议都失败了。任何相关的提示都非常受欢迎。