I am working on an app that i would like to submit to the store and i have some files that is part of the project that i don't want to be part of the archive.
For example some viewcontroller files that i made but are not going to use for this version of the app or some data files that i am reading into the database that not needed in the release.
Do i have to delete everything before creating the archive or i can some how choose for them not to be included. Also some of the viewcontrollers on the storyboard are extras would i have to delete them also?
Thanks in advance!
Only files that are part of the target you're archiving will be included in the archive and submitted to the App Store. You can add or remove files from a target by selecting it and editing the checkbox in the file inspector panel on the right:
To see all the files that are included in your target, select your project in the file browser on the left. Then select your target and the Build Phases tab.
Under Copy Bundle Resourses you'll see all the resource files that will be added to your app's bundle (and the archive).
You can selectively exclude files from your Xcode project:
In your project settings, select your target. In your target, select Build Phases pane. From there, you can exclude compilation sources and bundle sources via the "Compile Sources" and "Copy Bundle Resources" lists.
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