ios - Phonegap - The Info.plist in the package must contain the CFBundleVersion key -
i have followed steps generate .ipa file
, went upload using application loader kept getting following error:
the info.plist in package must contain cfbundleversion key. info.plist in package must contain cfbundleshortversionstring key.
here's hello world-info.plist file containg info:
<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict> <key>cfbundledevelopmentregion</key> <string>english</string> <key>cfbundledisplayname</key> <string>${product_name}</string> <key>cfbundleexecutable</key> <string>${executable_name}</string> <key>cfbundleiconfile</key> <string>icon.png</string> <key>cfbundleicons</key> <dict> <key>cfbundleprimaryicon</key> <dict> <key>cfbundleiconfiles</key> <array> <string>icon-40</string> <string>icon-small</string> <string>icon-60</string> <string>icon.png</string> <string>icon@2x</string> <string>icon-72</string> <string>icon-72@2x</string> </array> <key>uiprerenderedicon</key> <false/> </dict> </dict> <key>cfbundleicons~ipad</key> <dict> <key>cfbundleprimaryicon</key> <dict> <key>cfbundleiconfiles</key> <array> <string>icon-small</string> <string>icon-40</string> <string>icon-50</string> <string>icon-76</string> <string>icon-60</string> <string>icon</string> <string>icon@2x</string> <string>icon-72</string> <string>icon-72@2x</string> </array> <key>uiprerenderedicon</key> <false/> </dict> </dict> <key>cfbundleidentifier</key> <string>com.phonegap.helloworld</string> <key>cfbundleinfodictionaryversion</key> <string>6.0</string> <key>cfbundlename</key> <string>${product_name}</string> <key>cfbundlepackagetype</key> <string>appl</string> <key>cfbundlesignature</key> <string>????</string> <key>cfbundleversion</key> <string>11</string> <key>cfbundleshortversionstring</key> <string>11</string> <key>lsrequiresiphoneos</key> <true/> <key>nsmainnibfile</key> <string></string> <key>nsmainnibfile~ipad</key> <string></string> <key>uilaunchimages</key> <array> <dict> <key>uilaunchimageminimumosversion</key> <string>8.0</string> <key>uilaunchimagename</key> <string>default</string> <key>uilaunchimageorientation</key> <string>portrait</string> <key>uilaunchimagesize</key> <string>{320, 480}</string> </dict> <dict> <key>uilaunchimageminimumosversion</key> <string>8.0</string> <key>uilaunchimagename</key> <string>default</string> <key>uilaunchimageorientation</key> <string>landscape</string> <key>uilaunchimagesize</key> <string>{320, 480}</string> </dict> <dict> <key>uilaunchimageminimumosversion</key> <string>8.0</string> <key>uilaunchimagename</key> <string>default-568h</string> <key>uilaunchimageorientation</key> <string>portrait</string> <key>uilaunchimagesize</key> <string>{320, 568}</string> </dict> <dict> <key>uilaunchimageminimumosversion</key> <string>8.0</string> <key>uilaunchimagename</key> <string>default-568h</string> <key>uilaunchimageorientation</key> <string>landscape</string> <key>uilaunchimagesize</key> <string>{320, 568}</string> </dict> <dict> <key>uilaunchimageminimumosversion</key> <string>8.0</string> <key>uilaunchimagename</key> <string>default-667h</string> <key>uilaunchimageorientation</key> <string>portrait</string> <key>uilaunchimagesize</key> <string>{375, 667}</string> </dict> <dict> <key>uilaunchimageminimumosversion</key> <string>8.0</string> <key>uilaunchimagename</key> <string>default-667h</string> <key>uilaunchimageorientation</key> <string>landscape</string> <key>uilaunchimagesize</key> <string>{375, 667}</string> </dict> <dict> <key>uilaunchimageminimumosversion</key> <string>8.0</string> <key>uilaunchimagename</key> <string>default-736h</string> <key>uilaunchimageorientation</key> <string>portrait</string> <key>uilaunchimagesize</key> <string>{414, 736}</string> </dict> <dict> <key>uilaunchimageminimumosversion</key> <string>8.0</string> <key>uilaunchimagename</key> <string>default-landscape-736h</string> <key>uilaunchimageorientation</key> <string>landscape</string> <key>uilaunchimagesize</key> <string>{414, 736}</string> </dict> <dict> <key>uilaunchimageminimumosversion</key> <string>8.0</string> <key>uilaunchimagename</key> <string>default-portrait</string> <key>uilaunchimageorientation</key> <string>portrait</string> <key>uilaunchimagesize</key> <string>{768, 1024}</string> </dict> <dict> <key>uilaunchimageminimumosversion</key> <string>8.0</string> <key>uilaunchimagename</key> <string>default-landscape</string> <key>uilaunchimageorientation</key> <string>landscape</string> <key>uilaunchimagesize</key> <string>{768, 1024}</string> </dict> </array> </dict> </plist>
what needs fixed/added can upload application?!
add after first opening of < dict >
<key>cfbundleshortversionstring</key> <string>1.0</string> <key>cfbundleversion</key> <string>1</string>
replace 1.0 version of application want.the funny thing should generated time changing in targetname -> general -> identity :)
edit: added image setting displayd
Comments
Post a Comment