Application Loader: Apple's web service operation was not successful - ios

I'm trying to upload an app with Application Loader but I get following error :
Apple's web service operation was not successful Unable to
authenticate the package: 54005906.itmsp An unknown error occurred.
(2010)
What is the problem? I really can't find any info.

Its was problem with Apples process. Worked the day after!

I would check following
1. Profile, username, password, certificate 2. Clean Build and Try again.

I kept getting it for several days until I changed Deployment Target from 3.1.3 to 4.3.

I just selected Standard Architectures in both Project and Target, and it worked for me.

I had the same error but fixed it by changing Build Active Architecture Only from
Release YES
to
Release NO.

When submitting a question like this you need to include all the error messages
If you choose to post only the error messages that you think are relevant, you are probably going to choose the wrong messages. If you know how to indentify the extraneous info, you probably don't need to post a question to StackOverflow at all. ;-)
When submitting a question like this there are a few things to note:
• If you submit enough failures in some given time frame, Apple will stop allowing you to connect/submit for some other time frame!
- This is a situation that seems to correct itself overnight in most cases. You can use a different authorized account to get around this. (Create a new one if you gotta.)
• The first 2 items are red herrings
Apple's web service operation was not successful
In spite of how it sounds, this doesn't mean it couldn't connect. This simply means that the ultimate goal was not successful.
As a metaphor: if (ApplicationLoader.DeliverYourApp(SelectedFile)){log("Delivery Successful");} else {msg("Apple's web service operation was not successful");}
Unable to authenticate the package: 81680085.itmsp
Before Apple accepts your package on their server, they want it to pass a few "field sobriety" checks.
From their perspective, it's like "cloud computing". They are saving server resources by doing analysis in the cloud. And the cloud is the workstations of all their developer.apple.com members.
• The "Background Activity" panel (revealed by clicking "Activity...") is very useful to watch.
Seeing "Could not start delivery: all transports failed diagnostics" makes you think there is some form of connection or login error (especially when combined with the top 2 errors. If you open the Background Activity panel early on and watch the entire process, you see that the message that is RED in the screenshot above actually goes through these states:
Upload package to the iTunes Store
Authenticating with the iTunes Store
Verifying assets with the iTunes Store
Could not start delivery: all transports failed diagnostics
Finally, the error in my screenshot actually means...
The IPA file I was given fixes the bug that prevented my previous upload from succeeding, however, the developer forgot to increment the build number and Apple re-rejects it out of principle. This could be avoided if they would implement a build script that does something alone the lines of git log --oneline | wc -l. This is pretty much exactly the way I do it in my projects.

Related

Why does my Internal Test Track opt-in URL not work?

I'm developing an app and am ready to release it to a small group (5) of testers for internal testing, so I added their Gmail addresses to the list:
I sent one of the testers the link to the app and after opening email and selecting the link, they got this:
followed by this:
So far, so good. Now when I select the tester in question, instead of advancing to the next page, which is the start of a tutorial (as the app does when it's run from Android Studio), it returns to the previous screen. No error message or crash (I checked with Crashlytics). Anyone have any idea why this is happening?
UPDATE: I added Firebase event logging to my app and saw that no events are being logged from the LoginActivity (on the other hand, when I install the app via Android Studio, events DO get logged). Logcat shows a NameNotFoundException thrown by the PackageManager for for the app's package. Thinking the package manager doesn't like app bundles, I generated an APK instead, but got the same problem.
UPDATE #2: The next thing I tried was re-installing the app via Android Studio. When I simply let the app run, it exhibited the same problem, but if I ran it in Debug mode, it was fine. Not a solution, just a clue.
If I don't get this resolved by this weekend, I'll have to email my testers the APK. I wish someone in the Firebase group were monitoring this problem because emailing APKs as a workaround really sucks!
UPDATE #3: Getting closer to the cause of the problem. The reason that events weren't getting logged in LoginActivity was because I was using a reserved event name: user event names cannot start with "google". After fixing that, events did start getting logged, including an ApiException "10:" when trying to log into a Google account. So I googled around and I THINK the bottom line is that when I opted into Google App Signing I may have uploaded the wrong app signing key. If that's the case, how do I upload the correct one? I hope the answer isn't "create a new app with a different package name and start over".
After opting in to App Signing, I neglected to copy the SHA-1 fingerprint into my Firebase settings. Also, I needed to rebuild the app with the updated google-services.json. After doing all that and updating the release, the opt-in link worked fine.

Can't see build on itunesconnect

First I face with this error "There was an error sending to the App Store. Scheduling restart shortly..." and I was wait and it was successfully uploaded but there is no build at itunesconnect I already waited about one and two hour still can't see any new build. How can I solve this?
Once build uploaded successfully it will go into processing stage. Where they are checking the internal settings using the automated tools.
Things will be checked like if any permission issues coming etc.
Lets say of example if you are using camera into your application but you have not given permission into.plist file than it will get failed into processing & removed build from the App Store.
Also if you have set up the permission properly but not given instructions that how & why this gets used than also build will get failed into processing stage. So there can be various reasons.
Ofcourse they will send you an email to your Admin email Id about the build failed while processing with the reason so by that you can resolve the issue.
Hope this will helps to everyone.

Build is disappearing from itunes connect

When I upload a build from xcode I'm able to see the build is processing on itunesconnect.apple.com, the image below is the screen I initially see:
build processing
But after I refresh the page the build disappears and doesn't reappear. It's been over an hour and I still don't see the build anymore. I've tried rearchiving but I get the same result--I see it initially but then it disappears. This is the "empty" screen I see after my build has disappeared:
empty build
Should I keep on waiting, contact support, or is this normal?
Most probably you are missing some key in the plist.
Please check your email for the developer account.
App Store review may send you a email for the above issue.
Make sure you have the key
" NSPhotoLibraryUsageDescription " also added in your plist
I've had issues in the past when I tab to different applications during the build upload process. In those cases XCode seems to mess up and builds can take an exceptionally long time to process (3+ hours in my case). In my case I just incremented the build number and generated a new version making sure to keep Xcode in focus during the upload.
Usually the build might take around 3 hours to get processed and appear in App store depending on the size of your app. But so far I have not seen a scenario where even processing of build is not shown. I would suggest you to logout and login and then check for the same.
I got a email from apple.
I am not using camera and photo in my app, but still i got this email from apple developer team to add in my info.plist file. I don't know why to add it, but it worked.

Apple Network Extension Framework development

I am working on a project which uses Apple's Network Extension Framework. However I cant make it work. I am following the Apple's tutorial SimpleTunnel. But I am getting this error when I try to save the profile
Save error: Error Domain=NEVPNErrorDomain Code=5 "permission denied" UserInfo={NSLocalizedDescription=permission denied}
In the documentation they ask for a special entitlements. I already sent an email for it but in the meantime I just want to finish the project without going live.
Is there any workarounds? Or should I just wait a couple of months to get the "special entitlements"?
Thanks.
Oh I should have checked apple dev forums before posting.
So the answer is I have to wait until I get the entitlements.
Due to the confused document and function missing of xcode 8.1, this cost me one whole week to find the solution.
Make sure you enrolled apple developer program (it's not free, you need to pay $100 per year)
Go to https://developer.apple.com/account/ios/identifier/bundle
Select Identifiers => App IDs
Click your app on the right(if there is no, you could create one with xcode),
Click edit button, check the network-extension checkbox
NOTE1: Since November 10th 2016, you dont need entitlement from apple to use network-extension
NOTE2: If you are using Hotspot Helper, go to https://developer.apple.com/contact/network-extension/
If you are using VPN Manager, simply use capability menu of xcode project config.

Build not visible in itunes connect

I want to test in app purchases therefore I uploaded build with xcode. I can see the build under "Prerelase" but not in "Versions". How long does it take to show up in "Versions"? It's been 30 minutes
The build is not visible until the "Processing" step is in progress in the "Prerelease" tab.
It should depends on the size of your app.
For a 10Mb app of mine, it took about 5 min.
Check your inbox for an email from iTunes Store:
Subject: iTunes Connect: Your app [...] has one or more issues
Dear developer,
We have discovered one or more issues with your recent delivery for
[your app]. To process your delivery, the
following issues must be corrected:
This app attempts to access privacy-sensitive data without a usage
description. The app's Info.plist must contain an
NSPhotoLibraryUsageDescription key with a string value explaining to
the user how the app uses this data.
[...]
Once the required corrections have been made, you can then redeliver
the corrected binary.
Regards,
The App Store team
Xcode 8 told me the upload was successful, but the build did not appear in iTunes Connect until I fixed the issues indicated in the email and resubmitted.
May be helpful:
While pushing build to ITunes, i minimize organzier window, so in background everything went smoothly and message got display "Build pushed successfully".
But build do not got display in itunes store and sometime build get display in "Processing" step but do not get to "Versions".
I repeated step 1 and 2 but same result.
Then i pushed build with Organizer window (in Foreground) not Minimised and everything worked. (It takes some time according to size as #cdescours pointed)
This experiment was conducted on dated 30, Oct, 2014 throughout day & also same issue was discovered later too. Hence we can conclude iTunes have the issue when the build is pushed in background.
Check the Activity tab in iTunes Connect after you upload the app and wait until it processes:
To update #cdescours' answer, uploaded builds can now be seen in the "Activity" tab in "Processing" state.
Check your email. You should have issue or missing report on you email. I got email that I miss NSCameraUsageDescription key in Info.plist
When you upload your build from Application loader or directly from your xcode to App Store and it is not showing even on multiple uploads with different build version then
Open your .plist file and check whether there is any key string starting with "Privacy - ........."
If that key string value is empty, then Add some string.
example, for me i was using camera, photo Library, Microphone and Location.
For my project i added the string as follows
a. This app requires access to the Camera.
b. This app requires access to the Photo Library.
c. This app requires access to Microphone of your device.
d. This app requires access to your Location.
e. This app requires access to the Bluetooth.
Now upload the build it will get Accepted.
Note: This permission string is mandatory from iOS 10.
In case you are adding build with deployment target >9, add these keys to info.plist in case you are using camera and photos: Privacy - Camera Usage Description and Privacy - Photo Library Usage Description with a valid description.
I had the same issue when I submitted with blank string for these keys.
Sometimes you may need to check your email. There will be no errors while uploading. But apple may have send an email with the errors in your build. In my case I got an email with the following error mentioned in it.
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
I have added the NSPhotoLibraryUsageDescription key, but the description string was empty.
You can see all of your activities (recently uploaded builds here). It will also provide current status of your build.
Building on #sreedeep-kesav's answer (not enough rep to comment), Privacy - Camera Usage Description and Privacy - Photo Library Usage Description can be set by opening your Info.plist file in Xcode and selecting the plus button next to Information Property List:
Wow this was super annoying! Honestly I don't know what the problem was because I've uploaded many apps to the appstore via Xcode over the past few years but past couple days I tried like 8 different build uploads over span of 12 hours but NONE of them would show up in iTunesConnect as Processing or anywhere else. I eventually tried Application Loader even though I've NEVER had to use that before. The first try timed out "Fetching Apple Connect token" or something. I CMD+Q and tried Application Loader again and the 2nd time the upload finished ... and now my build shows up in iTunesConnect as processing. OMG that was annoying, confusing and a huge waste of time (typical Apple Dev experience I guess).
Anyhow ... thought I would share my results.
I have faced the same issue, once I upload build is not showing in AppStore Connect even I did not get any issue mail from apple. So I just wait for a day and that build begins visible on AppStore Connect after a day. It is a weird issue apple team have to look into it.
Happy coding. :)
Check your all privacy access policy option in Info.plist file.
Check the status of the new build on the "Activity" tab. Once the "Processing" label disappears from the build you should be able to use it.
Check your schema that you have selected release not debug.
I came across the same issues, i switched from Xcode6.0 to Xcode6.1 and my builds started appearing in the list.
I want to share my expereince,
I uploaded my build by application uploader and xcode and after 10 hours i couldn't see any build on the itunes connect.
Finally I contacted apple and they explained that a build validation can take 24 hours maximum.
After 24 hours, if the build is not visible on the related page, they advise to upload a newer version.
And if after the second 24 hours if there is still not any build, you can call apple developper program assistance.
Here is the page where you can find phone numbers :
https://developer.apple.com/contact/phone/
Publishing the first version of your application can takes a few days but a newer version takes much less time.
Check all the key and values in info.plist file.
if any key is missing then it will cause this issue.
AppIcon and other thing written in info.plist file must be prefect then u will not able to get this issue.
This worked for me
If build are missing from Itunes 'Activity' tab. Then check your info.plist keys. If all keys are there, then check all keys description. if their length is short then increase your keys description length.
Just wanted to share my experience as well. My Build had crossed Processing Step(it was a mere 984kB app) but did not show up in "Versions" tab for more than 30 minutes. I also double checked my email but had not received anything from Apple. However, under versions tab I had 3 builds listed excluding the latest one. What worked for me was that I just clicked on the least recent one(click on the Build Number) and then clicked on Expire Build and voila buy recent Build was immediately available under the current Version.
I have not found any Apple Document which explains this anomaly.
Hope it Helps! Cheers
Well, in my case I uploaded a build with updated version. like 1.1.0 Build 1.1.0, then I reverted back to 1.0.0 build 1.0.5 and the same build was visible under the 1.0.0 header dropdown.
Hope it helps someone.
This was My Mistake:
I had a minor update in a Push Notification content part and I did not even touch my code.
But I thought I might have to re-upload it in order to reflect that change in the latest version.
And I did.
Tried to upload 3 Builds One by One.
But Not a single build has shown in the Test Flight Version.(Shocked)
Later I realized my mistake that just by updating APNS content part without even touching my code, I was trying to upload a new build and was expecting to reflect it in the Test Flight. (So stupid of me)
InFeb 2020, Apple has changed the TestFlight upload policy. When you do the same old steps to upload your app to TestFlight, even though you provided the export compliance information and the iOS Buildpage shows your build is ready to test, it just doesn’t show up on the TestFlight app. That’s very weird right?
After googling and browsing the StackOverflow threads, it turns out you need to add an extra row in info.plist to make it work.
App Uses Non-Exempt Encryption = NO
info.plist
This way it’ll magically work.
And you don’t even need to provide the export compliance information every-time you upload a new build too!
I has the same issue. Issue was resolved for me by trying to distribute the archive again through Xcode. At the final stage it showed the error that an app with the same version number had already been uploaded (my initial upload an hour ago). As soon as that error message showed I got the email that the original build was available in App Store connect. There must be a workflow issue in the upload process.

Resources