Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to validate your application. the package does not contain an info.plist

I have just finished my application. It runs fine on all devices that I tested it on. It archives successfully as well. However, when I try to validate it in the Xcode organizer I am met with the following errors:

-Unable to validate your application: The package does not contain an info.plist

I checked my project files, and I do see an info.plist file.

like image 508
Ravi Anand Avatar asked Dec 20 '22 06:12

Ravi Anand


2 Answers

In my case I had less than 5 GB free space, cleaning up and archiving again solved it.

like image 136
7RedBits.com Avatar answered Dec 24 '22 02:12

7RedBits.com


This unfortunate error message probably means that some key is missing in your info.plist.

I compared my info.plist source-file (right click the file and select view source) with the corresponding file in another project. I then discovered that, in my case, the following key was missing:

<key>CFBundlePackageType</key>
<string>APPL</string>

I pasted in those two lines in my info.plist file, and then it all worked fine.

Beware that you probably have two info.plist-files in your project (the second one is for the unit test build) and make sure that you compare the right ones.

like image 41
ragnarius Avatar answered Dec 24 '22 02:12

ragnarius