Why does TestFlight throw error: "Could not install..." - ios

After uploading the app I can't install it. I get the following
error: "Could not install MY_APP_NAME. The requested app is not available or doesn't exist".
What might cause this issue and how can I fix it?
Things I tried:
Rename the app
Recreate certificate and provision profile
Reinstall TestFlight on the device
From the device logs, I see the next TestFlight issue:
"Cannot get app record for BundleID MY_APP_BUNDLEID: The operation couldn’t be completed. (OSStatus error -10814.)"
I provided the correct bundle id, otherwise, I cannot be able to upload the app to TestFlight.

Apple support got back to me. A night later issue has gone. I don't have any details about it, it is just gone. Seems like it was an issue on TestFlight side.

Related

Xcode keeps trying to login into Apple developer account with account I deleted

A year ago I worked on an Iconic/Cordova app and I helped build the iOS side of things. I have a MacBook Pro and an iPhone so I was setup to test the iPhone app, whereas another developer had a Windows machine and an Android phone, so they focused on testing that side of things.
We were working for an entrepreneur who had created an account in the Apple developer portal. Though he added my developer account to his "team" in the Apple developer portal, I was never able to make that work, so I simply started using his credentials:
cap55#cornell.edu
Now I am working for a different company. I am working on a React Native app.
Oddly, when I try to build the iOS part of this in Xcode, I get this error:
Code Signing Error: The operation couldn’t be completed. Unable to log in with account 'cap55#cornell.edu'. An unexpected failure occurred while logging in (Underlying error code 1100).
I tried several times to specify my personal account, but nothing seemed to work, so I opened up the Preferences of Xcode and I deleted the old 'cap55#cornell.edu' account.
Just to emphasize this: if I open Xcode, and then Preferences, and then Accounts, there is only one account, and that is my personal one. There is no record of 'cap55#cornell.edu' anywhere.
I restarted Xcode.
Then I tried to build again. And again I get:
Code Signing Error: The operation couldn’t be completed. Unable to log in with account 'cap55#cornell.edu'. An unexpected failure occurred while logging in (Underlying error code 1100).
It seems like Xcode is hiding this account somewhere that I can not delete? Where should I look. I want to eliminate this account.
I opened the KeyChain app and deleted almost everything in there. Then I restarted Xcode. The problem now seems to be solved.
Check your target's build settings to see what team the "Signging" section is set to. Both in General and also in the "Build Settings" tab for the targert.

codenameone Preferences throwing "Failed to save token" Error

I try to create new apple certificates and it says "Failed to save Token" Error. I have login to itunesconnect.apple.com and successfully accepted the agreement before trying this.Please advise when this error occurs.
There used to be space in the project name and did worked before without any issue and deployed application in app store. Now my certificate got expired. when I tried to regenerate the certificate using the codenameone certificate wizard, it popped error saying path contains space. So I went and deleted the space in the project name and corrected Build.xml and codenameone_settings.properties without space manually. When I tried to connect itunesconnect through codenameone wizard it failed with error "Failed to save token". I have updated AppID in apple itunes connect without space as well to match it. Please advise
The certificate wizard should work now. We had some downtime as I explained here: https://www.codenameone.com/blog/native-logging-certificate-wizard.html

I received the error on multiple attempts. Archive Validation failed with errors

I got Xcode to archive my latest build . I tell Organizer to "Validate..." in preparation for an upload to iTunes Connect. After a good deal of doing its thing, it finally spits this at me:
An error occurred.
The operation couldn’t be completed. (ITunesSoftwareServiceAuthenticationErrorDomain error 434.)
and
iTunes Store operation failed.
This action could not be completed. Try again.
I received the error on multiple attempts.
May be it could be a bug from xcode. You can try alternatively instead of Validate try to Export your IPA for App store distribution.By this way hope you can get IPA file of your app without any problems. Using application loader you can upload your IPA to iTunes connect.
Open latest release Xcode version. Not Beta version xcode.
Go to Xcode menu -> Open developer tool - > Application Loader.

iOS - Error: This action could not be completed. Try Again (-22421)

I am trying to upload an iOS App to the App Store, using Xcode >> Organizer, but I got the issue This Action could not be completed. Try Again (-22421) as in the below image.
I tried to re-upload app many times but same error occurred
Here is snaps for an issue I'm getting :
What to do next? How can I upload my app successfully on store?
Tried using Application Loader app and now getting another error
Error ITMS-90168: "The binary you uploaded was invalid.
Use Application Loader to upload your app, as Xcode organizer can't upload file (rejects IPA) sometimes, without genuine reason and it's frequently occurring issue, with Xcode Organizer, that apple could not resolve permanently.
There are few other reasons also for such kind of error, like
Apple app upload server is not working properly (not in
connection or lost connection during file upload). Just wait and try
again later (may be after a day).
Fluctuation in your network
connection, during file upload.
You may not have added privacy
statements in your info.plist file.
Cocoa Keys: Here, is list of keys that you should consider to add in your info.plist file, if you have used that service in your application.
Solution for error code: 90186
Outdated application loader can be reason of this error. Use latest Xcode tool and use application loader from Xcode Tool.
Incorrect/invalid provisioning profile, associated with your build. Ensure, your have used correct provisioning profile (A provisioning
profile with Distribution/Production mode is require. A Development mode provisioning profile won't allow your to upload app on store.)
You can find latest Application Loader Tool from latest Xcode Tool: Xcode (Menu) ► Open Developer Tool ► Application Loader
This works fine with application loader. You will have to create ur ipa from the Xcode organizer and use application loader.
I am facing this issue for the last week. finally uploaded using application loader.

Can't export development iOS App after archiving it

I archived my app for testing and then tried to export it.
But Xcode asks me to sign the project again, as it doesn't show my previous developer account.
It says :
Apple Developer website is undergoing maintenance
But the website and everything in the developer site seems up and fine!!
Furthermore, I can't believe they have been down for such a long time, it seems there is another problem, because when I try to add the developer account again, it gives me this error:
The operation couldn’t be completed. Unable to log in with account 'xxxxx#me.com'.
An unexpected failure occurred while logging in (Underlying error code 503).
Anyone knows anything about this mystery? Thanks for any help.
The error-message seems to be correct. There is currently a scheduled maintenance.
Source: Apple Developer System Status

Resources