我正在使用Cocoapods在我的应用中集成Google地图。 Cocoapds在我的项目中成功安装,我在我的机器上本地创建,并显示了GoogleMaps.framework及其所有头文件。之后,我压缩(压缩)了我的项目,并将其交给其他成员导入到SVN repo,他从windows机器导入了项目。现在当我检查Project并构建并运行时,我得到了以下构建错误。我使用终端命令'pod install'
解决了这个问题PhaseScriptExecution Embed \ Pods \ Frameworks /Users/sw.sal/Library/Developer/Xcode/DerivedData/MyPro-hfgbmtnudtrrqtbghtzkgaueuugm/Build/Intermediates/MyPro.build/Debug-iphonesimulator/MyPro.build/Script-B728B15E1844D49B5CB2A981.sh cd“/Users/sw.sal/Documents/My Project / Vi P / Project / SVN Project” / bin / sh -c /Users/sw.sal/Library/Developer/Xcode/DerivedData/MyPro-hfgbmtnudtrrqtbghtzkgaueuugm/Build/Intermediates/MyPro.build/Debug-iphonesimulator/MyPro.build/Script-B728B15E1844D49B5CB2A981.sh
/Users/sw.sal/Library/Developer/Xcode/DerivedData/MyPro-hfgbmtnudtrrqtbghtzkgaueuugm/Build/Intermediates/MyPro.build/Debug-iphonesimulator/MyPro.build/Script-B728B15E1844D49B5CB2A981.sh:line 2:/ Users / sw.sal / Documents / My Project / Vi P / Project / SVN Project / Pods / Target Support Files / Pods-MyPro / Pods-MyPro-frameworks.sh:Permission denied
但是现在我在我的项目中得到了它成功构建但缺少Pods-> GoogleMaps.framework中的所有头文件。我也附了屏幕截图。