There are missing files when I archived from custom build configuration

Published

We have different build configurations in our project, like the release, debug, sandbox, etc. The interesting case is when I archived from the release or debug build configuration, all archive files extracted as expected as shown in Image 1, but If I change build configuration to sandbox, some files and folders are missing as shown in Image 2.

Although we created custom build configurations by duplicating from debug or release, the archive doesn’t contain all files or folders like in Image 1.

We use carthage(for internal network) and cocoapods(for others) as a dependency manager.

enter image description here

I tried many suggestions but couldn’t find a solution.

Like,

setting skip install to NO in build settings,
removing all archive and derived data files, clean and re-archive,
giving the archive folder to read & write permission

Thank you all

Source: Ios Questions

Published
Categorised as archive, ios, iphone, swift, xcode Tagged , , , ,

Answers

You should make sure that those files are included in Build Phases -> Copy Bundle Resources


Rickie Luettgen

Leave a Reply

Your email address will not be published. Required fields are marked *

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq