What to do if Xcode Archiving Utility shows wrong app for validation?
I have two app projects on my mac. Because I was lazy to configure my project again, I just duplicated the entire project folder of my first app and renamed the project. All files in project are always relative to project itself. So it worked very good.
But today I wanted to Build & Archive an update of my first app. It all works with no complaints. But when the Archiving utility of Xcode is done, and I select my archive and click “Validate”, Xcode asks for my iTunes connect credentials. Then I enter them, and in the “Please choose your application record and signing identity” dialogue Xcode offers only one Application for selection. The new (different) App only. But not the app I want to update on the App Store.
In iTunes connect I have my old app still online and clearly there is an App ID for it. But Xcode does not offer selecting this Application.
But one strange thing: The new App ID I created for my new app, has the same Bundle Seed ID as my old app which is already on the App Store. Is this a problem? Is this why Xcode offers me the wrong app to choose?
What can cause this problem? Why would Xcode archive validator not detect my app that is already on the app store and offer it for selection for archive validation?
I did not change my app or bundle ID or anything. All I did the last time was add a new app to iTunes connect but it has a different app ID / bundle ID.
Help greatly appreciated. Thank you guys.
- Xcode 8 can't archive “Command /usr/bin/codesign failed with exit code 1”
- Xcode Error when trying to Validate
- XCode hangs when archiving
- cmake generated Xcode-project - release-build works but archive fails on linker errors
- Xcode “Build and Archive” button disabled for Mac app. Why?
- Iphone app archive - No such file or directory
Solutions Collect From Internet About “What to do if Xcode Archiving Utility shows wrong app for validation?”
I figured out why. When I created my new app, I went to iTunes connect and added a new App ID and Application, and then clicked “Ready to upload binary“. The mandatory step so Xcode can recognize the app and submit it.
So this was a long time ago and I totally forgot that I did this. And then I was surprised why Xcode only lists a wrong app to choose in the validator. Of course Xcode only offers what is in iTunes connect marked as “Ready for upload binary” and this was only my new app.
Now I went there and clicked “Ready to upload binary” for my new version of old app, and VOILLA. Xcode offers it.
So: Simple mistake, big headache. Hope it will be helpful for someone else in same situation.
- How to Delete Derived Data and Clean Project in Xcode 5 and Xcode 6?
- iOS: Multi-line UILabel in Auto Layout
- Using Instruments to test an iOS app without having source code to the application
- Why does UITextField lock up when setting itself to delegate
- UICollectionView distance between cells?
- How does AppDelegate.swift replace AppDelegate.h and AppDelegate.m in Xcode 6.3
- Is this OK to understand that Activity is similar to ViewController in iOS?
- UIActivityViewController not showing body text in gmail
- Create new UIImage by adding shadow to existing UIImage
- iphone facebook side menu using objective c
- Array as a dictionary value in swift language
- Equal spacing between UIButtons using visual format language
- RESTKit – post a large array of objects to server
- why I cannot register my device for apple push messages after unregistering from it?
- Inline YouTube video in Ionic/Cordova/PhoneGap app on iOS/iPhone