Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode: How can I verify an IPA is valid before uploading?

I have a problem with creating IPA files and TestFlight is showing me this reason.

http://help.testflightapp.com/customer/portal/articles/402843-mismatched-keychain-access-groups

I get a mismatch with keychain access groups but it takes a while to upload the IPA file to TestFlight before it can tell me the file is not valid. I'd like to test the file before I even upload it. I would also like to know how to get information abou the IPA file so that I can diagnose and fix the problem. I have no idea how it is failing since I am using the same Code Signing Identity in the Debug/Release builds as well as signing the IPA from the Archive. I have no idea what is wrong or how to fix it.

Any help is appreciated.

like image 284
Brennan Avatar asked May 30 '12 20:05

Brennan


People also ask

How do I test an IPA file?

An IPA file is technically not meant to be opened. It can be used to test the application it stores or submitted directly to the Apple App Store. You can however open an IPA file if you wish to. Use an unzip tool like Winzip or 7-Zip to decompress an IPA file and see the contents inside it.

How can I share an IPA without a Testflight?

Yes , you can use https://www.diawi.com portal to send yourself iPhone IPA file without using test flight.

How to open An ipa file in Xcode?

An .IPA file is basically a .zip file for iTunes Apps. If it is a project you have worked on and pulled repositories from, than simply clicking it or changing it to a .zip file will make it easier to open in Xcode.

Can I validate my app without uploading it to iTunes?

(Note that it won't allow you to to validate and gives a 'No application records found' error until you've created an App ID in your iTunes Connect account, and followed the steps until you've set it to "Waiting for Upload ". Don't worry if you're not ready to upload to the store yet, you can still validate without uploading anything.)

How do I check if feedback is valid in Xcode?

Another way to check validity feedback in Xcode 4.3 is to archive the app, and hit the Validate button in the Archives section of your Organizer.

How do I Find my iPhone OS version in Xcode?

Secondary Click (i.e. right click, two finger tap, etc.) on Xcode.app and select “Show Package Contents.” This is a simple series of folders to click through, just follow the list below in order and you’ll make it there. The alias folder labeled iPhoneOS (OS Version).sdk (while writing this I had iPhoneOS10.3.sdk)


2 Answers

If your Distribution Provisioning profile bundle identifier matches your App's bundle identifier (eg your bundle id is com.mycompany.appname and your App's bundle id has at least com.mycompany.* then you shouldn't run into this error.

Another way to check validity feedback in Xcode 4.3 is to archive the app, and hit the Validate button in the Archives section of your Organizer. (Note that it won't allow you to to validate and gives a 'No application records found' error until you've created an App ID in your iTunes Connect account, and followed the steps until you've set it to "Waiting for Upload ". Don't worry if you're not ready to upload to the store yet, you can still validate without uploading anything.)

like image 130
andycam Avatar answered Sep 20 '22 22:09

andycam


altool

Go to terminal and use it like below

/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool -v -f APP.ipa -u [email protected] -p password
like image 27
Durai Amuthan.H Avatar answered Sep 19 '22 22:09

Durai Amuthan.H