Deepak R Deepak R - 3 months ago 27
iOS Question

I could't upload my ipa in Application Loader and i get the below error

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


when i install the ipa using iTunes i am not getting this error.

Confused on how to proceed about this?

Answer

I think the problem could be due to way you are packaging is wrong.

for instance

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 itunesconnect@user.com -p password

Look inside your script it'll solve the problem

Reference

Comments