Distribution of the assembly - "No such file or directory exists"

When creating a custom assembly in Xcode 4, I get the error message "Operation could not be completed. No such file or directory exists" when I select Share in the "Organizer - Archive" window. I also included the Entitlements.plist file, even a status message also indicates that the build was successful. I do not know what the problem is, and where I am wrong. Please suggest.

+7
source share
4 answers

After downloading Xcode 4.3 beta from the iOS 5 SDK, the Organizer function for sharing and archiving stopped working with the critical error "There is no such file or directory." It turns out that this is due to the presence of two different versions of codesign_allocate. To fix the problem, follow these steps in the terminal window.

sudo ln -s / Developer / Platforms / iPhoneOS.platform / Developer / usr / bin / codesign_allocate / usr / bin

I added this to my blog http://blog.dmahajan.net .

+7
source

You have signed the archived version with your Ad-Hoc profile, if so, then select "Do not overwrite" in the drop-down list.

+5
source

Guys, Another thing I found is that if you developed the application in xcode <xcode4 and you create assemblies in xcode4, then you may get this error.

To solve this problem, do the following: 1. In the Entitlements.plist add the key "application-identifier", type- "String", the value is "$ (AppIdentifierPrefix) $ (CFBundleIdentifier)"

  • Now create the Archive assembly, when a window appears, right-click the application name and Show in Search.
  • AppName -> Right-click -> Show Package Contents.
  • Products โ†’ .app file. Now use this .app file with the provisioning profile.

This solution worked very well for me.

+1
source

Another possibility: duplicate keys in a keychain. Solved my problem.

+1
source

All Articles