使用CocoaPods安装pop库后,我收到以下错误 .
***ld: library not found for -lPods-MyApp-pop
clang: error: linker command failed with exit code 1 (use -v to see invocation)***
我的Podfile看起来像这样
hash取消注释这一行,为你的项目哈希平台定义一个全局平台:ios,'7.0'目标'MyApp'做pod'pop','〜> 1.0'结束目标'MyAppTests'结束
这是我使用CocoaPods的第一个项目,任何帮助将不胜感激 .
1 回答
尝试关闭项目,然后打开“.xcworkspace”文件而不是“.xcodeproj”文件 . 我遇到了你遇到的完全相同的问题并打开“.xcworkspace”解决了问题,让我构建并运行我的项目 .
Article discussing this issue