Reputation: 145
I started getting this issue trying to distribute an archive for my ios app. The app is build on ionic3 framework.
Steps I have taken:
On the next step, I get the error:
main bundle ice-sports.app doesn't have a main Mach-O file. Same message appears in the standard.log
Does anyone have any idea how to address this issue? I have been looking for hours, but not sure what the resolution is
Thanks
Upvotes: 3
Views: 1385
Reputation: 1000
In my case a different toolchain was preselected other than Xcode's. So make sure Xcode toolchain is selected pre-archiving
Upvotes: 0
Reputation: 51
just came across this myself. make sure your Info.plist does contain a valid CFBundleExecutable:
<key>CFBundleExecutable</key>
<string>REPLACE_WITH_NAME_OF_YOUR_EXECUTABLE</string>
Upvotes: 2