Hi,
I was tiring to upload my macOS app I created with adt from an air file, to the app store, kept getting an error message:
Could not find the main bundle or the Info.plist is missing a CFBundleIdentifier
Then I found this:
https://developer.apple.com/forums/thread/706441
The answer is:
After reaching to this answer on StackOverflow I could figure out what was happening. The problem was in xcodebuild -exportArchive command, where an exportPath is required. I was passing the whole package name to this argument, like this:
xcodebuild -exportArchive [...] -exportPath mypackage.pkg
That would create a folder named mypackage.pkg and then export the actual .pkg inside of it. So in the next command where I validate the app, I was actually validating the folder that contains the package, not the package itself.
Finally, to solve the problem I replaced the command above by the following:
xcodebuild -exportArchive [...] -exportPath.
Since I'm not creating the app with xcodebuild but with adt, I can't make this change, but the question is, does it make sense to assume that adt is building the app in a way that creates this problem, and therefor it should be reported as a bug because only the developer team can fix it?