Re: Problems creating IPA archive.
Re: Problems creating IPA archive.
- Subject: Re: Problems creating IPA archive.
- From: Antonio Nunes <email@hidden>
- Date: Sat, 07 May 2011 10:27:23 +0100
On 7 May 2011, at 09:00, Antonio Nunes wrote:
> I created a new distribution certificate at the iOS Provisioning Portal. (Created request, uploaded it to portal, then downloaded the certificate and installed it in my Keychain.)
> I then deleted the Ad Hoc and Distribution provisioning profiles in the portal and recreated them. Downloaded both and installed them in Xcode. (Using Xcode 4.0.2.)
>
> Then I updated my projects' build settings to use the new profiles for the respective build configurations. So far, all fine. I can build with no issues. I can also 'Archive'. When I try to Share the archive however, I get the following error after OKing the save dialog: "The operation couldn’t be completed. No such file or directory"
>
> I have searched for this issue online, and saw various proposed solutions, but it looks like this error can happen for different reasons, and none of the solutions worked for me.
> I have the build setting "generate debug symbols" set to YES. I select the provisioning profile manually when trying to save the IPA archive.
Oh, by the way, I also had to update my Entitlements.plist file to the following content, to get to the stage described above:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!--- Required entitlements (in most cases shouldn't be changed) --->
<key>application-identifier</key>
<string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
</array>
</dict>
</plist>
And I only came to that after online searching. Xcode 4 did not create a correct Entitlements.plist file for me. Frustrating stuff. Don't Apple's engineers run into these issues themselves?
Kind Regards,
António Nunes
SintraWorks
----------------------------------------------------
It isn't so important to do great things,
as to do what you do with great love.
----------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden