iphone构建错误,让我想买一把钉q

iphone构建错误,让我想买一把钉q,第1张

概述我只是试图为一个 iphone应用程序构建一个简单的更新(我以前做过的),但是由于某些原因我收到了这个错误.谁能告诉我这是什么意思? Command/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist failed with exit code 127sh: plutil: c 我只是试图为一个 iphone应用程序构建一个简单的更新(我以前做过的),但是由于某些原因我收到了这个错误.谁能告诉我这是什么意思?

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所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1061771.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存