Submit ipa file to itunes connect - ios

I build an ipa using adobe.phonegap.build
Now I want to submit this file to itunesconnect using Appliction Loader.while submitting ipa in the application loader I'm getting errors
Missing recommended icon file - The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format.
How to fix this. I'm using the same config.xml file for both android and ios app builds.
Please help me.

Have a look at this post, looks like he had the same problem.
Looks like you images inside your project, where the size is wrong or some of them are missing. Like apple lists the icons they need, you should be sure you have all pictures inside your project.
Somebody else just posted this:
I just encountered the warning for the image sizes of 76x76, 120x120, and 152x152. It seems to be a new thing with iOS 7 as I built my app using PhoneGap 3.1. I created images of these sizes and added this to my config.xml:
<icon src="images/icon-certify-76.png" gap:platform="ios" width="76" height="76"/>
<icon src="images/icon-certify-120.png" gap:platform="ios" width="120" height="120"/>
<icon src="images/icon-certify-152.png" gap:platform="ios" width="152" height="152"/>

Related

iOS cordova app not seeing images saved with cordova.plugin.file after app update

iOS Cordova application does not see locally saved images after app update. Before that everything works fine. How do i set dynamically relative url with cordova.plugin.file?
I used in config.xml:
<preference name="iosExtraFilesystems" value="library,library-nosync,documents,documents-nosync,cache,bundle,root" />
<preference name="iosPersistentFileLocation" value="Library" />
The cordova.plugin.file saves data to:
cordova.file.dataDirectory;
But after app update they disappear from the folder i see them in in console. I read about ios copying files after update and that i have to set relative path to the images that i save locally from camera. But i do not know how to do it for ios to see the images.
Well, the thing was that I saved them to a temp directory, which is cleared by ios on app update. After I started saving the images to the Documents/ directory, everything started working fine.
See docs here https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/

How to set app icon and splash screen for IOS using visual studio tools for apache cordova?

I am building an Apache Cordova app using Visual Studio 2013 with the tools for Apache Cordova extension.
I cannot change the icon that appears in the Apple Store or in iTunesConnect.
I am able to change the icon for android and google play store however.
I have changed the files in res/screens/ios and res/icons/ios accordingly, but it doesn't seem to be updating when I create a new IPA and upload it.
This is the icon I am getting at the moment and this image does not exist anywhere in my project directory structure.
Please notice that the value of the "src" attribute is relative to the project directory and not to the www directory. You can rename the source image whatever you like. The internal name in the app are determined by Cordova.
<platform name="ios">
<!-- iOS 8.0+ -->
<!-- iPhone 6 Plus -->
<icon src="res/ios/icon-60#3x.png" width="180" height="180" />
<!-- other icons -->
</platform>
Hi you need to set image in below locations. There will be default folder created with default cordova logos and splashscreen.
note icons must match the size (height and width).

Setting iOS splash image not possible in Sencha Touch + phonegap?

I have looked around on the web for answers but and am unable to find a clear way to set the iOS splash screen from the sencha/phonegap config. I created splash images to both sencha and phonegap resource directories, and added them to sencha's app.json and config.xml as shown below, then ran "sencha app refresh && sencha app build native".
<gap:splashgap:platform="ios"width="320"height="480"src="resources/splash/320x480.png" />
<gap:splashgap:platform="ios"width="640"height="960"src="resources/splash/640x960.png" />
<gap:splashgap:platform="ios"width="640"height="1136"src="resources/splash/640x1136.png" />
<gap:splashgap:platform="ios"width="768"height="1024"src="resources/splash/768x1024.png" />
<gap:splashgap:platform="ios"width="1024"height="768"src="resources/splash/1024x768.png" />
<gap:splashgap:platform="ios"width="1536"height="2048"src="resources/splash/1536x2048.png" />
<gap:splashgap:platform="ios"width="2048"height="1536"src="resources/splash/2048x1536.png" />
This workflow works well to update the app icon files in the Xcode project, but does not update the iOS splash screen.
Is this actually not possible??
Thanks!

Set an iPhone 6 launch image on Visual Studio Tools for Apache Cordova

We are using CTP 3 of VS extension for Cordova.
We are trying to add a splash screen for iPhone 6 and iPhone 6+. We need this to solve and issue where iPhone 6+ resolution is incorrect within the app.
Is there a naming convention for the splash screen files for ios?
We know these file names are being added to the XCode project and work successfully (in res\screens\ios):
screen-ipad-landscape-2x.png
screen-ipad-landscape.png
screen-ipad-portrait-2x.png
screen-ipad-portrait.png
screen-iphone-568h-2x.png
screen-iphone-portrait-2x.png
screen-iphone-portrait.png
We ended up forcing vs-mda-remote to use cordova 4.2.0 which helped solve the problem (see this question).
Then we added this to the config.xml and the respective files.
<platform name="ios">
<splash src="res/screens/ios/screen-414w-736h#3x~iphone.png" width="1242" height="2208"/>
<splash src="res/screens/ios/screen-iphone-landscape-736h.png" width="2208" height="1242"/>
</platform>
I believe these are the naming conventions for iPhone6 and 6plus:
res/icons/ios/icon-60#3x.png (180x180)
res/screens/ios/screen-iphone-portrait-667h.png (750x1334)
res/screens/ios/screen-iphone-portrait-736h.png (1242x2208)
res/screens/ios/screen-iphone-landscape-736h.png (2208x1242)

PhoneGap Launch Image iOS Apple Store Submission [duplicate]

This question already has answers here:
Phonegap app submission to AppStore - ITMS-9000 error
(2 answers)
Closed 5 years ago.
As always the submission to iTunesConnect of my PhoneGap application is being rather troublesome. In particular is this new message I see pop up when I try to use Application Loader.
Your binary is not optimized for iPhone 5. - New iPhone apps and app updates
submitted must support the 4-inch display on iPhone 5 and must include a launch
image with the -568h size modifier immediately following the
&lt;basename&gt; portion of the launch image's filename. Launch images
must be PNG files and located at the top-level of your bundle, or provided
within each .lproj folder if you localize your launch images.
Per https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html I have created an image of 640 x 1136, named it "Launch_Image_640x1136-568h.png", and placed it in the www folder. Still, it gives me the error.
What's going on here? Hopefully this is something simple and easy to take care of, but I'm at my wit's end right now. Anyone have any information or solutions to this? Thanks.
**UPDATE**
I develop the app with Aptana 3 on Windows 8.1 and only use a mac for certificates, keys, p12 files, and uploading. I'm not using PhoneGap on a mac through xcode.
So I kept on and finally found the answer today here http://community.phonegap.com/nitobi/topics/iphone_5_optimization_requirement-on7f1 and here https://github.com/phonegap/phonegap-start/blob/master/www/config.xml
In a nutshell the issue arose because Apple, in their never ending pursuit to make things difficult, now requires a "launch screen" image to be included in all apps. As a result, you now have to have, currently, 3 different sized launch screen images with a specific naming procedure on each. The solution that I found via the links above was to place the launch screen images in the root directory and add the following three lines to config.xml
<gap:splash src="Default.png" gap:platform="ios" width="320" height="480" />
<gap:splash src="Default#2x.png" gap:platform="ios" width="640" height="960" />
<gap:splash src="Default-568h#2x.png" gap:platform="ios" width="640" height="1136" />
I'm not sure if the launch screen images are required to be in the root directory or not, but it works for me at the moment. Also, I'm not sure if the images have to begin with "Default", but I do know that the larger two images have to have "#2x" and "-568h#2x" on the end of the file name that's the same name as the smallest image.
For more information on "launch screens" see Apple's documentation here https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html
Hope this helps someone.
It needs to be declared on the app. click on the Project file (the top most item in Xcode with the blue Xcode icon). navigate to target / general settings launch image is one of the items.

Resources