我正在尝试为我的iPhone应用程序创建一个临时构建。我完全遵循了配置门户上的说明,我非常确定我的代码签名是正确的,具有正确的配置文件和诸如此类的东西。应用程序在我的分发配置下构建正常,我已正确设置了Entitlements.plist - 一切似乎都是有序的。
然而,在构建之后,没有产品出现。 MyApp.app在产品组中保持红色。在“我的目标的构建设置”下,从未实际创建列出的构建产品路径。有谁知道我可能做错了什么?
更新:以下是我的所有构建结果消息,显然已被删除,但我认为我没有删除任何有用的内容:
CpResource ...
ProcessInfoPlistFile ...
CompileXIB ...
...
CpResource ...
...
CopyPNGFile ...
...
CopyPlistFile ...
DataModelVersionCompile ...
ProcessPCH ...
...
CompileC ...
...
Ld ...
CreateUniversalBinary ...
GenerateDSYMFile /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app.dSYM /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app/MyApp
cd /Users/Jordan/Development/MyApp/trunk/Projects
setenv PATH "/Xcode/Platforms/iPhoneOS.platform/Developer/usr/bin:/Xcode/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Xcode/usr/bin/dsymutil /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app/MyApp -o /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app.dSYM
ProcessProductPackaging "/Users/Jordan/Library/MobileDevice/Provisioning Profiles/0130341B-71DD-4808-AD90-D523F7574DAF.mobileprovision" /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app/embedded.mobileprovision
cd /Users/Jordan/Development/MyApp/trunk/Projects
setenv PATH "/Xcode/Platforms/iPhoneOS.platform/Developer/usr/bin:/Xcode/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
<com.apple.tools.product-pkg-utility> "/Users/Jordan/Library/MobileDevice/Provisioning Profiles/0130341B-71DD-4808-AD90-D523F7574DAF.mobileprovision" -o /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app/embedded.mobileprovision
Touch /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app
cd /Users/Jordan/Development/MyApp/trunk/Projects
setenv PATH "/Xcode/Platforms/iPhoneOS.platform/Developer/usr/bin:/Xcode/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/touch -c /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app
ProcessProductPackaging Entitlements.plist /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Intermediates/MyApp.build/Distribution-iphoneos/MyApp.build/MyApp.xcent
cd /Users/Jordan/Development/MyApp/trunk/Projects
setenv PATH "/Xcode/Platforms/iPhoneOS.platform/Developer/usr/bin:/Xcode/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
<com.apple.tools.product-pkg-utility> /Users/Jordan/Development/MyApp/trunk/Projects/Entitlements.plist -entitlements -format xml -o /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Intermediates/MyApp.build/Distribution-iphoneos/MyApp.build/MyApp.xcent
CodeSign /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app
cd /Users/Jordan/Development/MyApp/trunk/Projects
setenv PATH "/Xcode/Platforms/iPhoneOS.platform/Developer/usr/bin:/Xcode/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv _CODESIGN_ALLOCATE_ /Xcode/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
/usr/bin/codesign -f -s "iPhone Developer: Jordan Kay (3RTJV327L8)" --resource-rules=/Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app/ResourceRules.plist --entitlements /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Intermediates/MyApp.build/Distribution-iphoneos/MyApp.build/MyApp.xcent /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app
Validate /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app
cd /Users/Jordan/Development/MyApp/trunk/Projects
setenv PATH "/Xcode/Platforms/iPhoneOS.platform/Developer/usr/bin:/Xcode/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PRODUCT_TYPE com.apple.product-type.application
/Xcode/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation /Users/Jordan/Library/Developer/Xcode/DerivedData/MyApp-bceoakegbaymrjelqfmsvxnhjwna/Build/Products/Distribution-iphoneos/MyApp.app
2010-12-24 00:49:11.780 Validation[6437:607] *** Warning: Defaulting to the standard codesign tool
答案 0 :(得分:0)
请在此处发布构建结果,以便我们查看。
编辑:问题还不够。我们需要整个结果所有消息。 (参见新截图)
答案 1 :(得分:0)
Apple的文档目前已过时。设置他们所说的一切(看起来你已经完成了),然后转到Build-&gt; Build and Archive。然后转到Window-&gt; Organizer。您应该在ARCHIVED APPLICATIONS下看到您的应用程序(如果没有显示图标图像,则可以)。在侧栏中单击它,单击共享,从下拉列表中选择您的临时配置文件/证书,然后点击电子邮件或保存到磁盘。将其命名为appname.ipa。用户可以将ipa与配置文件一起拖动到iTunes中并进行同步。