I have two project which I build based on the same Rake script, which internally uses XCode build.
Building it with xcodebuild -archivePath
(ARCHIVE succeeds), then I package app with xcodebuild -exportArchive
.
The problem is that first project succeeds all steps, but second is failing on xcodebuild -exportArchive
because xcarchive
is malformed.
I have compared these two archives and malformation is caused by missing Info.plist
inside archive.
When I prepared manually such Info.plist
and put it into xcarchive
, then I was able to package app without problems.
Any clues why XCode build doesn't produce Info.plist
inside xcarchive
file?