goodcow
goodcow

Reputation: 4795

Validate app for iOS store archive error

I'm trying to archive my app for upload to the app store and I can't figure it out for the life of me. I've already submitted a ticket to Apple technical support, but I figured I would try here to see if anyone's seen it before. Couldn't find anything on the internet. I tried manually selecting the correct provisioning profile as outlined here.

Error screenshots:

enter image description here

enter image description here

When I look in the terminal at said paths, there is no .bcsym and the other one doesn't have Packages/:

First picture path

Second picture path

Any ideas? The only weird thing I can think of is that this is a Swift rewrite of an Obj-C app so it's in a totally separate xcodeproj. I also had to rename the project at one point to match the legacy name.

Upvotes: 5

Views: 724

Answers (3)

Parth Bhatt
Parth Bhatt

Reputation: 19469

It seems this issue only appears when you build with Xcode 7. I would recommend you to go through eskerber's answer in the below link :

https://forums.developer.apple.com/thread/14729

Just for reference, I am posting the answer from the link here:

It's likely you built your app with Enable Bitcode set to NO in build settings.

Then, in the app submission window, you had "include bitcode" checked, which is now at the bottom of the window. Uncheck that and it should submit. Enable bitcode in your build settings if you want to then submit with bitcode.

Also additionally you may uncheck "Include App symbols did it" from submission window.

Upvotes: 5

goodcow
goodcow

Reputation: 4795

Related to this issue, you may notice that the app binary is very large if you upload with bitcode, even in Testflight. Apple trims this upon distributing in the app store.

Upvotes: 0

Imran
Imran

Reputation: 2941

The likely issue is that you build your project with different bitcode settings and uploading with different. First check in your project settings if you have set the bitcode to yes or no.

enter image description here

And the while uploading make sure you check the(include bitcode) box only if your bitcode settings was Yes otherwise uncheck it.

enter image description here

Upvotes: 1

Related Questions