尝试导出几个iOS应用进行企业分发时,我遇到一个问题,组织者为我的应用显示“ 0权利”,而不选择配置文件。
创建.IPA文件时,这不会引起任何错误。但是,将.ipa和.plist放在我的网站上之后,该应用将无法成功安装。当我尝试安装时,它在“正在加载...”时开始在应用程序图标上显示进度指示器,但随后消失了,我得到了通用消息:
无法下载应用程序-目前无法安装“我的应用程序名称”。
并选择重试。
我的其他两个应用程序都没有这个问题,这些应用程序在组织者中显示了4种权利和配置文件。生产配置概要文件是“公司通配符”,因此它具有以下结构:com.mycompanyname.*
我已经确认,工作代码和非工作代码的App ID都遵循完全相同的结构。在我选择了用于配置的开发团队之后,工作中的应用程序似乎会自动选择配置文件,在其中一个工作中的应用程序中显示:
即使我在目标的“构建设置”中特别选择了我的产品分发配置文件,但在尝试分发我的应用程序时,该配置文件也不包括在内。
为了解决问题,我尝试了此处答案中列出的所有步骤,以及一些不可接受的答案中的一些解决方法:iOS 8-无法安装企业应用程序。供参考,而无需单击;
Verification Stage Failed
在控制台中收到错误我尽力弄清楚为什么我的权利未出现在组织者中的第一位,所以任何建议都值得欢迎。在下面,我放置了我认为是设备控制台无法安装应用程序(已编辑)的相关日志:
Jan 19 10:37:47 My-Device-Name SpringBoard[48] <Warning>: Killing com.companyName.AppName for app installation
Jan 19 10:37:47 My-Device-Name itunesstored[82] <Warning>: LaunchServices: installing app for existing placeholder <LSApplicationProxy: 0x12ed94f40> com.companyName.AppName (Placeholder)
Jan 19 10:37:47 My-Device-Name itunesstored[82] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x12ed94f40> com.companyName.AppName (Placeholder) withPhase:1
Jan 19 10:37:47 My-Device-Name lsd[74] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: 0x1345516b0> : Parent: 0x0 / Fraction completed: 0.5100 / Completed: 51 of 100 to 1
Jan 19 10:37:47 My-Device-Name installd[40] <Notice>: 0x100484000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/Downloads/4200584489248642015/-6824318255463645847" type Customer requested by itunesstored (pid 82)
Jan 19 10:37:47 My-Device-Name installd[40] <Error>: 0x100484000 +[MIInstallable installablesAtURL:packageFormat:userOptions:error:]: 52: Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.7eIGCb/extracted (Error Domain=NSPOSIXErrorDomain Code=2 "_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.7eIGCb/extracted/Payload returned No such file or directory" UserInfo=0x15d61c6b0 {SourceFileLine=413, NSLocalizedDescription=_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.7eIGCb/extracted/Payload returned No such file or directory, FunctionName=-[MIFileManager urlsForItemsInDirectoryAtURL:error:]})
Jan 19 10:37:47 My-Device-Name itunesstored[82] <Error>: 0x10231c000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=6 "Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.7eIGCb/extracted" UserInfo=0x12ee51240 {NSLocalizedDescription=Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.7eIGCb/extracted, LegacyErrorString=PackageInspectionFailed, FunctionName=+[MIInstallable installablesAtURL:packageFormat:userOptions:error:], SourceFileLine=52, NSUnderlyingError=0x12ef3e6f0 "_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.7eIGCb/extracted/Payload returned No such file or directory"}
Jan 19 10:37:47 My-Device-Name itunesstored[82] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Jan 19 10:37:47 My-Device-Name lsd[74] <Warning>: LaunchServices: installation failed for app com.companyName.AppName
Jan 19 10:37:47 My-Device-Name itunesstored[82] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.companyName.AppName.Installing - <NSProgress: 0x13004e800> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 called, removing progress from cache
就像不久前盲目支持我们的SSL更改一样,在Xcode 6中,我可以通过重新阅读文档进行确认,然后致电Apple支持进行验证。您不能再分发带有通配符应用程序ID的企业应用程序。在您的配置文件中查找一个讲故事的XC:com.company。*。
按照苹果的说法,我持有时,谁的技术人员制作了一个最小的测试应用程序以及我自己的最小测试用例,您可以创建新的显式应用程序ID并编辑现有的配置文件以使用它们。因此对现有装置的影响最小。尚未确定天气是否可以在xCode 6中使用该捆绑包ID后恢复到Xcode 5进行存档。我希望此信息对其他企业开发人员有所帮助。https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/DistributingEnterpriseProgramApps/DistributingEnterpriseProgramApps.html。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句