iphone构建错误,让我想买一把钉枪
发布时间:2020-12-14 20:04:36 所属栏目:百科 来源:网络整理
导读:我只是试图为一个 iphone应用程序构建一个简单的更新(我以前做过的),但是由于某些原因我收到了这个错误.谁能告诉我这是什么意思? Command/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist failed with exit code 1
我只是试图为一个
iphone应用程序构建一个简单的更新(我以前做过的),但是由于某些原因我收到了这个错误.谁能告诉我这是什么意思?
Command/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist failed with exit code 127 sh: 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.png sh: dirname: command not found CopyPlistFile /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.app sh: 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? (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |