Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will the Xcode archive I submitted to Apple be okay if Generic iOS Device wasn't used to create the archive?

Tags:

xcode

ios

swift

I guess the title says it all.

Basically, I'm new to Xcode and late last night I submitted an app to Apple. Everything went okay (creating the archive, validation, uploading) but this morning I noticed that Xcode was still connected to a physical iPhone and that's what was selected in the Device list. I'm now thinking that when I created the archive last night I probably did't select Generic iOS Device.

Will this matter? And, if so, how? Do I need to reject this binary and upload a newly created archive?

If this has already been answered elsewhere, feel free to refer me to that - I did do a search but didn't find an answer.

like image 506
Monomeeth Avatar asked May 27 '16 22:05

Monomeeth


People also ask

Do I need to build before archive Xcode?

Make sure your build is successfulBefore beginning to archive your build, you need to make sure that the build is successful not only for Debug, for also for Release. Remember to test thoroughly with different types of scenarios to make sure there's no crash or bug.

Where is generic iOS device Xcode?

The Generic iOS Device, under the Build Only Device section of the Device and Simulator drop-down menu, is used for when you need to archive your app, which means that you are preparing your app for submission to Apple (either to the App Store or Test Flight).

Where are Xcode Archives stored?

Xcode created your archive. The actual . xcarchive folder resides on your Mac in ~/Library/Developer/Xcode/Archives.

What is archive in Xcode?

Archive: As its name says, it is the overall package (that contains . app and other related files). From archive you can create . IPA file similar to . apk file (android) with that you can distribute your application.


2 Answers

It is clearly mentioned that you can select Generic iOS Device or your device name.

And so it doesn't matter.

From Apple's Developer Site

To create an archive

In the Xcode project editor, choose a generic device—Generic iOS Device, Generic tvOS Device, or Generic iOS Device + watchOS Device—or your device name from the Scheme toolbar menu.

You can’t create an archive of a simulator build. If a device is connected to your Mac, the device name appears in the Scheme toolbar menu. When you disconnect the device, the menu item changes to the generic device name.

like image 200
saurabh Avatar answered Nov 23 '22 12:11

saurabh


it's ok :)

we can create archive if we select Genric ios device or when we connect with physical iPhone .

so both are same.

you can not create archive if you not select genric ios device or iphone device you connect with xcode. archive option will show disable.

like image 30
balkaran singh Avatar answered Nov 23 '22 12:11

balkaran singh