I am trying to build an iOS framework using bitrise.
At first I received this error when performing the XCODE archive step…
“Failed to parse archive, error: Info.plist not exists at”,
and when I ran it with a fresh clone on my local machine I noticed that the output directory was empty. Which would explain why Info.plist could not be found.
So I replaced the the ‘Skip Install’ parameter from ‘yes’ to ‘no’ and when I ran it on another fresh installation. The output directory was properly created with the following…
I committed my change, and now I am received a new error…
"Failed to parse archive, error: failed to find main app"
This makes sense because I am building a framework not an iOS application.
I did more investigation to find this link.
Here I found this snippet that contradicts my previous configuration change.
If you get this error in the Xcode Archive step you should check your Xcode Projects settings. Most likely you have the Skip Install option set to YES.
This should only be used for iOS frameworks, for iOS apps this should be set to NO.
Has anyone successfully built an iOS framework and could provide some context to steer me on the correct route?