我正在使用 cordova 2.2.0 库从终端创建 ipa 文件。当我使用以下命令时: xcrun -sdk iphoneos6.0 PackageApplication -v /Applications/XAMPP/xamppfiles/htdocs/AppHome/app/webroot/files/apps/iphone/hello_app_test/build/hello_app_test.app -o /Applications/XAMPP /xamppfiles/htdocs/AppHome/app/webroot/files/out_ipa/hello_app_test.ipa --sign "iPhone 开发者:AKIO ITO (N5YRDPREK9)" --embed /private/var/root/Downloads/Dev_Test.mobileprovision
我收到此错误:
打包应用程序:'/Applications/XAMPP/xamppfiles/htdocs/AppHome/app/webroot/files/apps/iphone/hello_app_test/build/hello_app_test.app' 参数:embed=/private/var/root/Downloads/Dev_Test.mobileprovision 详细=1 输出=/Applications/XAMPP/xamppfiles/htdocs/AppHome/app/webroot/files/out_ipa/hello_app_test.ipa 标志=iPhone 开发人员:AKIO ITO (N5YRDPREK9) 环境变量:HOME = /var/root SUDO_GID = 4294967294 VERSIONER_PERL_PREFER_32_BIT =没有 MAIL = /var/mail/root SSH_AUTH_SOCK = /tmp/launch-UvWSWr/Listeners USER = root LOGNAME = root __CF_USER_TEXT_ENCODING = 0x0:0:0 USERNAME = root PATH = /sbin:/bin:/usr/sbin:/usr /local/bin:/usr/bin:/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home:/usr/local/ant/apache-ant-1.8.4:/usr/local/src/ android-sdk-macosx/工具:/usr/local/src/android-sdk-macosx/platform-tools SUDO_USER = 没人 SHELL = /usr/bin/false TERM = 未知 SUDO_COMMAND = /usr/bin/xcrun -sdk iphoneos6.0 PackageApplication -v /Applications/XAMPP /xamppfiles/htdocs/AppHome/app/webroot/files/apps/iphone/hello_app_test/build/hello_app_test.app -o /Applications/XAMPP/xamppfiles/htdocs/AppHome/app/webroot/files/out_ipa/hello_app_test.ipa --签署 iPhone 开发人员:AKIO ITO (N5YRDPREK9) --embed /private/var/root/Downloads/Dev_Test.mobileprovision SUDO_UID = 4294967294 VERSIONER_PERL_VERSION = 5.12 输出目录:'/Applications/XAMPP/xamppfiles/htdocs/AppHome/app/webroot/files /out_ipa/hello_app_test.ipa' 临时目录:'/tmp/oERgpr0ih1'(设置详细时不会在退出时删除)+ /bin/cp -Rp /Applications/XAMPP/xamppfiles/htdocs/AppHome/app/webroot/files/apps/iphone/hello_app_test/build/hello_app_test.app /tmp/oERgpr0ih1 /Payload Program /bin/cp returned 0 : [] ### Checking original app + /usr/bin/codesign --verify -vvvv /Applications/XAMPP/xamppfiles/htdocs/AppHome/app/webroot/files/apps/iphone /hello_app_test/build/hello_app_test.app 程序 /usr/bin/codesign 返回 1:[/Applications/XAMPP/xamppfiles/htdocs/AppHome/app/webroot/files/apps/iphone/hello_app_test/build/hello_app_test.app:代码对象根本没有签名在架构中:i386] 代码设计检查失败:/Applications/XAMPP/xamppfiles/htdocs/AppHome/app/webroot/files/apps/iphone/hello_app_test/build/hello_app_test.app:代码对象根本没有签名在建筑中:i386 完成对原始应用程序的检查### Embedding '/private/var/root/Downloads/Dev_Test.mobileprovision' + /bin/rm -rf /tmp/oERgpr0ih1/Payload/hello_app_test.app/embedded.mobileprovision Program /bin/rm返回 0 : [] + /bin/cp -rp /private/var/root/Downloads/Dev_Test.mobileprovision /tmp/oERgpr0ih1/Payload/hello_app_test.app/embedded.mobileprovision 程序 /bin/cp 返回 0 : [] ## # 与 'iPhone Developer: AKIO ITO (N5YRDPREK9)' 共同设计 '/private/var/root/Downloads/Dev_Test.mobileprovision' + /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign iPhone 开发人员:AKIO ITO (N5YRDPREK9) --resource-rules=/tmp/oERgpr0ih1/Payload/hello_app_test.app/ResourceRules.plist /tmp/oERgpr0ih1/Payload/hello_app_test.app 程序 /usr/bin/codesign 返回 1 :[/tmp/oERgpr0ih1/Payload/hello_app_test.app/ResourceRules.plist:无法读取资源]
请帮助某人从终端(MAC)创建 ipa 文件。任何帮助和建议都将不胜感激。提前致谢。