Command/Developer/library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copypList Failed with exit code 127sh: plutil: command not found
以下是构建结果:
copyPNGfile /Users/me/path/build/dist-iphoneos/MyApp.app/img_000.png images/img_000.png cd /Users/me/ setenv copY_COMMAND /Developer/library/PrivateFrameworks/DevToolscore.framework/Resources/pbxcp setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/System/library/Frameworks/JavaVM.frameworK/Versions/1.6/Home/" "/Developer/Platforms/iPhoneOS.platform/Developer/library/Xcode/Plug-ins/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng" -compress "" /Users/path/images/img_000.png /Users/me/path/build/dist-iphoneos/MyApp.app/img_000.pngsh: dirname: command not foundcopyPListfile /Users/me/path/build/dist-iphoneos/MyApp.app/EnTitlements.pList EnTitlements.pList cd /Users/me/ setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/System/library/Frameworks/JavaVM.frameworK/Versions/1.6/Home/" /Developer/library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copypList --convert binary1 EnTitlements.pList --outdir /Users/me/path/build/dist-iphoneos/MyApp.appsh: plutil: command not found解决方法 由于某些原因,您的PATH变量已解决.你想看看究竟发生了什么.这是你的(冒号分隔为重点):
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin :/Developer/usr/bin :/System/library/Frameworks/JavaVM.frameworK/Versions/1.6/Home/"
这是一个工作PATH的样子:
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin :/Developer/usr/bin :/usr/bin :/bin :/usr/sbin :/sbin"
(行分离是为了阐明PATH变量如何分离路径)
注意我的/usr/bin:/ bin:/usr/sbin:/ sbin和你的?这就是问题. shell脚本只在其路径中查找可执行文件,而在/usr/bin /文件中却没有找到它们.
对于Xcode PATH的SO讨论,请参阅where is $PATH set in xcode?
总结以上是内存溢出为你收集整理的iphone构建错误,让我想买一把钉q全部内容,希望文章能够帮你解决iphone构建错误,让我想买一把钉q所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)