When I try to send ipa file to itunnes I recive 3 erros:
1 - Apple's web service operation was not successful
2 - Unable to authenticate the package:86286718.itmsp
3 - ERROR ITMS-90096: "Your binary us not optimized for iPhone5.......
What should i do?
链接已复制
Apple is having an issue with your iPhone 5 image (640 x 1136). This image must be a PNG file and be the correct size. Please verify the size and format.
As a test, to verify the issue, can you delete that image from the project and submit it again to see if you still get the error?
Eric
The img is a png file with 640x1136 size. I already removed and put again all images.
I did a test now removing the 640x1136 image with CLI 5.4.1 and received same error.
Today I updated 3 apps with the same error, not only one
Renaming your images from JPG to PNG is not sufficient to convert them to PNG format. You must use an image conversion tool to convert a JPG to a PNG. Please confirm that the actual file contents are PNG -- this is what the Cordova build system confirms, is the file format, not the name of the file.
Andre -- the splash640.png image you provided me is a 640x960 image, not a 640x1136 image. Also, that image is 24-bit RGB, not 32-bit RGBA (I don't think that difference is important, but it is a difference).
Until now I have the same error, but now they ask "UlLaunchImages value to set to {320x568}", like this http://stackoverflow.com/questions/28830013/your-binary-is-not-optimized-for-iphone-5-itms-90096-when-submitting .
I put in intelxdk.config.additions.xml <splash platform="ios" src="img/icons/iphone/splash-320x568.png" width="320" height="568" orientation="portrait"/> but the error persists.
This is the image.
Now that xdk was updated to 6.2.0 I tried a new build and have the same error. Only in cordova 5.1.1 works and it will be deprecated soon.
Any idea? In "launch icons and splash screens" I already put the 640x1136 image.
Andre -- what happens if you use this technique in the additions file?
<platform name="ios"> <splash src="img/icons/iphone/splash-320x568.png" width="320" height="568" orientation="portrait"/> </platform>
If you are using 3491:
The images are now stored in the new "package-assets" folder (only if you are using 3491 or later). I have not had a chance to test that new configuration using this mechanism, but, obviously, they your images would have to be moved to that folder. I believe you just need to reference them relative to the package-assets folder (if you are using 3491).
Thanks Paul, but same error.
See this post http://stackoverflow.com/questions/28830013/your-binary-is-not-optimized-for-iphone-5-itms-90096-when-submitting
Do you can see the file Info.plist is created with this array?
<key>UILaunchImages</key>
<array>
<dict>
<key>UILaunchImageName</key>
<string>Default-568</string>
<key>UILaunchImageSize</key>
<string>{320, 568}</string>
</dict>
</array>
How can I check this file?
Andre -- you can confirm if the image was added to the IPA by unzipping the IPA into a folder and checking the contents. For example, this is what's inside a version of hello cordova that I had on my system:
-rw-rw-rw-@ 1 pfische1 staff 1.4K Jul 19 20:58 AppIcon29x29.png -rw-rw-rw-@ 1 pfische1 staff 2.9K Jul 19 20:58 AppIcon29x29@2x.png -rw-rw-rw-@ 1 pfische1 staff 2.9K Jul 19 20:58 AppIcon29x29@2x~ipad.png -rw-rw-rw-@ 1 pfische1 staff 7.4K Jul 19 20:58 AppIcon29x29@3x.png -rw-rw-rw-@ 1 pfische1 staff 1.4K Jul 19 20:58 AppIcon29x29~ipad.png -rw-rw-rw-@ 1 pfische1 staff 4.3K Jul 19 20:58 AppIcon40x40@2x.png -rw-rw-rw-@ 1 pfische1 staff 4.3K Jul 19 20:58 AppIcon40x40@2x~ipad.png -rw-rw-rw-@ 1 pfische1 staff 7.1K Jul 19 20:58 AppIcon40x40@3x.png -rw-rw-rw-@ 1 pfische1 staff 1.9K Jul 19 20:58 AppIcon40x40~ipad.png -rw-rw-rw-@ 1 pfische1 staff 5.8K Jul 19 20:58 AppIcon50x50@2x~ipad.png -rw-rw-rw-@ 1 pfische1 staff 2.5K Jul 19 20:58 AppIcon50x50~ipad.png -rw-rw-rw-@ 1 pfische1 staff 3.0K Jul 19 20:58 AppIcon57x57.png -rw-rw-rw-@ 1 pfische1 staff 6.7K Jul 19 20:58 AppIcon57x57@2x.png -rw-rw-rw-@ 1 pfische1 staff 7.1K Jul 19 20:58 AppIcon60x60@2x.png -rw-rw-rw-@ 1 pfische1 staff 12K Jul 19 20:58 AppIcon60x60@3x.png -rw-rw-rw-@ 1 pfische1 staff 8.9K Jul 19 20:58 AppIcon72x72@2x~ipad.png -rw-rw-rw-@ 1 pfische1 staff 3.9K Jul 19 20:58 AppIcon72x72~ipad.png -rw-rw-rw-@ 1 pfische1 staff 9.5K Jul 19 20:58 AppIcon76x76@2x~ipad.png -rw-rw-rw-@ 1 pfische1 staff 4.1K Jul 19 20:58 AppIcon76x76~ipad.png drwxrwxrwx@ 3 pfische1 staff 102B Jul 19 20:58 CDVNotification.bundle/ -rwxrwxrwx@ 1 pfische1 staff 1.2M Jul 19 20:58 Hello, Cordova* -rw-rw-rw-@ 1 pfische1 staff 1.9K Jul 19 20:58 Info.plist -rw-rw-rw-@ 1 pfische1 staff 30K Jul 19 20:58 LaunchImage-568h@2x.png -rw-rw-rw-@ 1 pfische1 staff 30K Jul 19 20:58 LaunchImage-700-568h@2x.png -rw-rw-rw-@ 1 pfische1 staff 30K Jul 19 20:58 LaunchImage-700@2x.png -rw-rw-rw-@ 1 pfische1 staff 33K Jul 19 20:58 LaunchImage-800-667h@2x.png -rw-rw-rw-@ 1 pfische1 staff 62K Jul 19 20:58 LaunchImage-800-Landscape-736h@3x.png -rw-rw-rw-@ 1 pfische1 staff 44K Jul 19 20:58 LaunchImage-800-Portrait-736h@3x.png -rw-rw-rw-@ 1 pfische1 staff 31K Jul 19 20:58 LaunchImage.png -rw-rw-rw-@ 1 pfische1 staff 30K Jul 19 20:58 LaunchImage@2x.png -rw-rw-rw-@ 1 pfische1 staff 926B Jul 19 20:58 MainViewController.nib -rw-rw-rw-@ 1 pfische1 staff 8B Jul 19 20:58 PkgInfo drwxrwxrwx@ 3 pfische1 staff 102B Jul 19 20:58 _CodeSignature/ -rwxrwxrwx@ 1 pfische1 staff 971B Jul 19 20:58 build-debug.xcconfig* -rwxrwxrwx@ 1 pfische1 staff 1.0K Jul 19 20:58 build-release.xcconfig* -rwxrwxrwx@ 1 pfische1 staff 2.0K Jul 19 20:58 build.xcconfig* -rw-rw-rw-@ 1 pfische1 staff 9.4K Jul 19 20:58 config.xml -rw-rw-rw-@ 1 pfische1 staff 7.2K Jul 19 20:58 embedded.mobileprovision drwxrwxrwx@ 14 pfische1 staff 476B Jul 19 20:58 www/
I did not attempt to add that file to this build, but if I did, and I was successful, I would expect to see a file named like this:
-
LaunchImage-568h.png
