【问题标题】:iPhone ad hoc build does not create a productiPhone ad hoc build 不会创建产品
【发布时间】:2010-12-24 05:06:49
【问题描述】:

我正在尝试为我的 iPhone 应用程序创建一个临时构建。我完全按照 Provisioning Portal 上的说明进行操作,并且我很确定我的代码签名都是正确的,并且具有正确的配置文件等等。该应用程序在我的 Distribution 配置下构建良好,我已正确设置 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

【问题讨论】:

    标签: iphone xcode adhoc


    【解决方案1】:

    请在此处发布您的构建结果,以便我们查看。

    已编辑:问题还不够。我们需要完整的结果,所有消息。 (见新截图)

    【讨论】:

    • 我已使用此信息更新了原始帖子。这些警告都是我在构建结果中看到的。
    • 我明白了,它好像在我的用户库文件夹中的某个 DerivedData 文件夹中。
    【解决方案2】:

    Apple 的文档目前已过期。像他们说的那样设置好所有东西(看起来你已经完成了),然后转到 Build->Build and Archive。然后转到窗口-> 管理器。您应该在 ARCHIVED APPLICATIONS 下看到您的应用程序(如果没有显示图标图像也没关系)。在侧边栏中单击它,单击共享,从下拉列表中选择您的临时配置文件/证书,然后点击电子邮件或保存到磁盘。将其命名为 appname.ipa。用户可以将 ipa 与配置文件一起拖入 iTunes 并同步。

    【讨论】:

    • 据我所知,将 .app 打包成 zip 的旧方法甚至不适用于最新版本的 iTunes/iOS。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-03-14
    • 1970-01-01
    相关资源
    最近更新 更多