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.
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.
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).
Xcode created your archive. The actual . xcarchive folder resides on your Mac in ~/Library/Developer/Xcode/Archives.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With