Enterprise apps packaged by XCode 6.1 and above no longer run on device

Originator:glhotellier
Number:rdar://20293395 Date Originated:25/03/2015
Status:Closed Resolved:No
Product:XCode Product Version:6.1
Classification: Reproducible:Always
 
Duplicate of 18154140

Summary:
The ipa created by XCode 6.1 contains a folder named Applications where it was previously named Payload.
This prevent enterprise deployment, see the error below :

installd[36] <Error>: 0x603000 +[MIInstallable installablesAtURL:packageFormat:userOptions:error:]: 52: Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.sJWOQN/extracted (Error Domain=NSPOSIXErrorDomain Code=2 "_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.sJWOQN/extracted/Payload returned No such file or directory" UserInfo=0x1657a550 {FunctionName=-[MIFileManager urlsForItemsInDirectoryAtURL:error:], SourceFileLine=413, NSLocalizedDescription=_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.sJWOQN/extracted/Payload returned No such file or directory})

Steps to Reproduce:
Archive a project then click Export / Save for enterprise deployment, choose the appropriate Development Team, then export it.
Find the exported ipa and unzip it. You'll have an "Applications" folder containing your .app where it was previously a "Payload" folder.

Expected Results:
An ipa containing a Payload folder

Actual Results:
An ipa containing an Applications folder

Version:
XCode 6.1 and above

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!