I could't upload my ipa in Application Loader and i get the below error.
Could not find a CFBundlePackageType" within the Info.plist; or the
package is missing an Info.plist
I think the problem could be due to way you are packaging is wrong.
if I zip the payload like this then it causes above issue
and this is one of the wrong way to do
zip -r -s 64 Payload.zip Payload/ mv Payload.zip appName.ipa
The right way would be to use like below or use xcrun
zip -r Payload.zip Payload/ mv Payload.zip appName.ipa
iTunes have so many validation so it finds out the problem.
To validate any ipa use altool
Go to terminal and use the below script
/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool -v -f APP.ipa -u firstname.lastname@example.org -p password
Look inside your script it'll solve the problem