Xcode submission error - xcode

I'm trying to submit a Mac OS X Application to the App Store but I'm currently stuck.
I've created and installed the 3rd Party Mac Developer Application and Installer certificate and added to Xcode the provisioning profile for Production.
When I Archive my application and, after validation, try to submit it, I can't choose the "Application" options 'cause the only option I can take is:"No Value".
I've tried to create a package (With "share" button) and test its installation process as suggest it by the Apple Documentation and the process terminate successfully.
But when I try to submit the package through the Application Loader app, I receive the error:"There is no embedded Java executable. Please reinstall Xcode Developer Tools".
The fact is that I've already reinstalled all the Xcode Developer Tools (I was using a beta version before) from the App Store.
Any ideas?

Do you use Xcode 4.2 and as a pre-release version? If so, try using Xcode 4.1.

Use "Application Loader" in Developer/Applications/Utilities. The tool that is present under xcode is full of bugs. You will need to give it the .app generated as a product by XCode. Did that help ? Annother thing you can try is to reject yourself the app into iTunes Connect, then set it again as "ready for download". It won't force you to upgrade your app version.

Related

Xcode Automatic Signing for macOS Developer ID

I'm trying to sign a macOS app with Developer ID / Gatekeeper using Xcode 8 or 9. In the past, I've always done this by scripting codesign. But now I want to add a iCloud entitlement, and that seems to require signing by Xcode. The page on Developer ID in Apple's App Distribution Guide still shows what I remember from an older Xcode version. In Xcode 8 or 9, you see there is no more Developer ID radio buton…
Is the above a correct configuration for Developer ID? (I don't think so, but I don't see any other options!)
After Product > Archive completes, the produced BookMacster archive seems to be a Generic Xcode Archive instead of a app archive…
And the choices it gives me when I click Export don't seem appropriate an app…
If I Save Built Products, I get a directory structure which contains all of the other executables and helpers in the package, but not the BookMacster.app!

Can I upload Xcode builds on macOS 10.12

Will I be capable of submitting an app with Xcode 7.3.1 while on the macOS 10.12 beta? According to this post, it is possible to run Xcode 7 alongside macOS 10.12.
Yes, you can! But if you're tying to do this, you will find two problems.
no .app file provided in bundle
Build with Xcode 7.3.1 then upload using Xcode 8 [Beta]. This will allow you to upload the archive.
When trying to submit to the store you will be faced with this error message:
New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, OS X, and tvOS SDK. Don't submit apps built with beta software including beta OS X builds.
This is because your archive contain the Sierra's mark! I just solved this problem yesterday.
When you archived your app, find your archive in the Organizer, and then:
"Show in finder";
"Show package contents";
In the "xx.xcarchive" file, find the "Products"-"Applications"-"xx.app"(xx is your app's name), "Show package contents" again;
Finally, you can see there has a file named"Info.plist", open it;
Edit the value with a key named "BuildMachineOSBuild", I just change it to "15F34"(it's "El Capitan 10.11.5" 's version);
After that, you can upload this archive use Xcode or Application Loader, whatever you want!
Decided to try it out myself. Both methods of exporting through Xcode and Application Launcher failed with an error stating there was no .app file provided in bundle. Best to stay away from the macOS 10.12 beta if you want to continue developing for iOS 9.

tvOS Invalid Toolchain when Submitting tvOS 9.1 app

I'm trying to submit a tvOS app through iTunes Connect, and every time I try I get the following message:
Invalid Toolchain. New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, and tvOS 8 SDK or later. Don't submit apps built with beta software.
I have made sure to update Xcode to it's newest App Store version, and I'm not using any beta software.
While I never ended up resolving this issue completely, I did find a workaround.
When submitting an app, iTunes Connect checks the compiled app's compatibility to the latest operating system (in this case, for tvOS 9.1 build 13U85). While compatibility is completely fine between the two, Xcode has a bug. During the archiving process, Xcode specified my archive as Build 13U78 which is inaccurate and not correct.
A workaround I found, which is quite simple, changes the archive's build from (in my case) build 13U78 to build 13U85.
First, we'll create an archive which is self explanatory.
Second (and this is essential) we need to do the following:
Open 'Show in Finder'
Next, you need to right-click your archive and choose 'Show Package Content'
Then go to Products, then Applications, then repeat the second step (right click the .app file, then choose 'Show Package Content').
Once you're there, open the Info.plist file.
You'll see some version information in it, but what we want are:
DTSDKBuild
...
DTPlatformBuild
These two options should be something like:
DTPlatformBuild 13U78
...
DTSDKBuild 13U78
Modify 13U78 to be the most recent build of tvOS, or in my case:
DTPlatformBuild 13U85
...
DTSDKBuild 13U85
You're almost done! Just save the modified Info.plist file and close it out. Then Submit to App Store- you're done!
Make absolutely sure you're using the most recent build of tvOS.

Xcode 6 crashes while submit

I just loaded Xcode 6 GM seed. Now I want to submit an update of my app.
Archiving works so far. But when I click "Submit", as soon as the upload loading bar appears Xcode crashes.
Do I need Yosemite?
I had to download the Application Loader from Apple because Xcode could not find it.
Do I need Yosemite?
No. Mine crashed the same way, so i uploaded my app using Xcode 5.1. It worked fine.
The Application Loader seems the only thing that works right now. Had the same problem, while uploading or even just validating.
Just export via Organizer and Upload via Application Loader helped.
I was faced same problem. Now it works fine.
Solution : Just accept new changed terms and condition from apple developer account and resubmit it.
Please Make sure you've accepted all of the new agreements & condition in the Member Center.
To check if you need to, you can go to the preferences -> accounts in XCode, and chose to view details of an account and attempt to refresh button. Here, XCode will warn you that you need to accept new agreements in the Member Center before you can refresh.
or just login to developer account and go to here https://developer.apple.com/membercenter/index.action
I was able to make Xcode work, but I had to go to iTunes connect and start the process there first by going "My Apps" and clicking on the plus sign. Fill in the info and hit save. Then try submitting with Xcode and it should work.
OK. Here's my $0.02.
1) Xcode 6GM crashes every single time for me. I am running 10.9.4. I have no idea how widespread the issue is, but it is 100% repeatable for me. I cannot use Xcode 6 to submit apps for review.
The crash happens during the upload. I have submitted a RADAR report and given crash logs.
2) I was able to submit using the App Loader. Here's how you do that:
2.1) In the Organizer, after you have done the Archive, select the latest archive for submit.
2.2) Instead of "Submit," select "Export."
2.3) Select the first choice (App Store).
2.4) Open the Application Loader.
2.5) Select "Choose."
2.6) Select the .ipa that you just saved in the export.
2.7) That will work. You may get a message teling you that the API file is too big for analysis. I got that for all 9 of the apps I just submitted. In my case, I ignored it.
I think they rewrote the whole application load from scratch, and that Xcode is still buggy as hell.
They had a deadline, and rushed it. It shows.
I expect both the server (Web) component and Xcode to apply patches soon.
In my case, I'm quite annoyed, as I had to rush out a fix for the arbitrary decision they made to change the way that the CLLocationManager works, which broke all my location lookups. The fix is simple, but there will be a period of time when I receive hate mail from the users that upgrade to iOS 8, and the app stops working.
Joy.
I just installed the official version from the App Store and now everything works fine.
I had the same problem. When XCode crashes during export or submit it means that you have non-valid certificate or provision profile in build settings.
Here is the solution:
Accept new changed terms and condition from apple developer account. (Just like Sandeep said)
Go to here to generate new provision profiles, for App Store & AdHoc (Tutorial)
Double click new provision profiles you downloaded to install them, and then XCode will never crash.
The problem is caused by XCode 6.0 does not handle provision profile migration properly. Developers should regenerate provision profiles for XCode 6+, but Xcode 6.0 fails to display this error message properly and crashes. (If you use XCode 6.1 Beta, it will display error messages for you, no crash. Then you will know that the problem is caused by "invalid"=="legacy" provision profile.)
After that, you can submit app and export Ad Hoc distribution for Testflight.

Where to find Application Loader app in Mac?

I have downloaded applicationloader_1.3.dmg and installed in the destination Macintosh HD.
The messages show The installation was successfully done. But, there is the ApplicationLoader app that doesn't appear anywhere.
How to install and get the Applicationloader app in Application->Utility folder?
I'm using Mac OSX version 10.6.8.
In more modern versions of Xcode, you'll find "Application Loader" under the "Xcode" menu (the first menu to the right of the Apple in the menu bar) and it'll be hiding in the "Open Developer Tools" submenu.
As of Xcode 11, "Application Loader is no longer included with Xcode", per the Xcode 11 Release Notes:
Xcode supports uploading apps from the Organizer window or from the command line with xcodebuild or xcrun altool. Application Loader is no longer included with Xcode. (29008875)
The Xcode Help page, Upload an app to App Store Connect, explains how to upload from the Xcode Archives Organizer.
Transporter
In October 2019, Apple announced the Transporter app for macOS, now available in the Mac App Store.
With Transporter you can:
Upload your .ipa or .pkg files to App Store Connect.
View delivery progress, including validation warnings, errors, and delivery logs, so you can quickly fix any issues.
See a history of past deliveries, including date and time.
This was previously a download from iTunes Connect for qualified partners (FAQ)
Notes on Using the Command Line
I've uploaded non-Xcode builds with xcrun altool --upload-app -f path-to-build.ipa -u your-account#apple.com. It won't show any progress, but you can see the network traffic in Activity Monitor. It finishes with No errors uploading 'path-to-build.ipa'.
See xcrun altool --help for usage. If your account has 2FA enabled, first visit https://appleid.apple.com/ and generate an app password.
You can download Application Loader from Itunes Connect.
Go to https://itunesconnect.apple.com/ , sign in, and click on Manage Your Apps.
There is a Download Application Loader link at the bottom.
At the time of writing, this link is: https://itunesconnect.apple.com/apploader/ApplicationLoader_3.1.dmg
I didn't find application loader anywhere, even in spotlight. You can open it through xcode.
Go to Xcode > Open Developer Tools > Application Loader
With Xcode 11, Application Loader has been removed. The Mac App store now has an app called Transporter.
https://apps.apple.com/us/app/transporter/id1450874784?mt=12
For anyone finding this now (23/09/2019) Application Loader has been removed from Xcode.
If you have built the application in Xcode you should be able to follow these instructions to upload your and distribute your project Upload an app
I am not sure what to do if you have been given a .ipa file, for example when building an Expo project, I'll update this post when i have an answer.
In the mean time more info can be found here.
Developer Apple - Whats new
application loader page:
https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/resources_page
application loader 3.1:
https://itunesconnect.apple.com//apploader/ApplicationLoader_3.1.dmg
I have found in following way :
Go to https://itunesconnect.apple.com/ , sign in
Click "Resources and Help"
you can find it by going to xcode > open developer tool > application Loader
You can also upload an app using the Application Loader tool by using it from the terminal:
MacBook-Pro:~ denis$ altool --upload-app -f "ios-app.ipa" -u "applestore#email.com" -p "yourpassword"
To use altool from anywhere in the terminal you could add it to your
PATH env variable by typing in terminal:
MacBook-Pro:~ denis$ export PATH=$PATH:/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/
MacBook-Pro:~ denis$ source ~/.bash_profile
Now you can upload your app binary with the Transporter app.
You can download Transporter from Mac AppStore Here
Here apple mentioned its used for uploading.
Application Loader now moved to tools
https://itunespartner.apple.com/en/apps/tools
It's in Applications > Xcode > Show package contents > Contents > Applications - but easier to open from Xcode!
This error had me really scared because I make my app using Adobe AIR, so once my AIR builder (FDT) tells me it has packaged it, I really have very little I can do if it fails.
I got this error when I uploaded my ipa through the Application Loader (v3.0 [620]) that I had downloaded from the link they provide when submitting the binary. I tried uploading the ipa through Xcode > Application Loader (v3.6 [1020]) and it worked fine.
I am going to write to Apple about this once my blood pressure returns to normal.
With Application Loader now gone from Xcode I had a look around to see how to upload an .ipa file, since I use UE4 and I don't touch Xcode at all during development. Turns out it's pretty hidden away, You need to go to Window, Organiser, Archives. The archive will only appear if you ticked the "Generate Xcode Archive Package" tickbox in Project Settings. Then you just click Distribute and it's just does it.
Application Loader has been removed from XCode 11, the alternative app is Transporter. you can download it from the appstore with the following link:
https://apps.apple.com/ca/app/transporter/id1450874784?mt=12
Now you can use Transporter app instead of Application Loader.
Download Transporter App from this link: https://apps.apple.com/us/app/transporter/id1450874784?mt=12
If anybody is still looking for the Application loader, it has been removed and replaced with Apple Transporter. Download from the mac AppStore.

Resources