I recently faced the problem, that XCode did not allow me to upload Apps to Apple AppStore on MacOS Sierra Developer Preview. XCode and Application Loader both only showed the error „ERROR ITMS – 90167 No. app bundles found in the package“.
Finally I found a nice solution which is as follows.
When you archived your app, find your archive in the Organizer, and then:
- „Show in finder“;
- „Show package contents“;
- In the „xx.xcarchive“ file, find the „Products“-„Applications“-„xx.app“(xx is your app’s name), „Show package contents“ again;
- Finally, you can see there has a file named“Info.plist“, open it;
- Edit the value with a key named „BuildMachineOSBuild“, I just change it to „15F34″(it’s „EI Capitan 10.11.5“ ’s version);
After that, you can upload this archive use Xcode or Application Loader, whatever you want!
Additionally to that information it was necessary for me to use the latest BuildMachineOSBuild for MacOS El Capitan, which is 15G31 (instead of 15F34) and to use the Application Loader of XCode 8 Beta.