Solution to 19011 error in Xcode 3.2.3
Well after downloading, re-downloading, praying and even swearing I finally found a solution to the elusive 19011 error that surfaced in Xcode this morning.
Okay, a little backstory. I have been working on an iPhone app and earlier this morning was ready to submit the app to the App Store. I quickly downloaded the certificates and provisions, created a Distribution profile in Xcode, cleaned All Targets and finally clicked Build. After a few seconds the “excitement” was replaced by that previously mentioned frustration. After much searching in forums, Twitter and even the Apple Forums I finally came up with a fix.
Turns out the most recent (if not only) cause this issue is using the prerelease version of Xcode.
After following the following steps I was able to package apps for submission once again.
Step 1: Run the following command in Terminal.
sudo /Developer/Library/uninstall-devtools
Step 2: Delete the /Developer directory
Step 3: Restart your machine
Step 4: Download and Install Xcode 3.2.2
Step 5: Open your project in Xcode, clean your project (Build > Clean All Targets)
Step 6: Rebuild your project
Step 7: zip up the .app in the distribution directory and upload using iTunes Connect
Hope this helps others… now on to build more apps.
Janice
March 5, 2011 6:22 pm> Turns out the most recent (if not only) cause this
> issue is using the prerelease version of Xcode.
We’ve never downloaded, installed, or run *ANY* prerelease of xcode. Ever.
As we slowly built our app… never got a single -19011 error.
Then today… they started.