ios7 and later causes image icon errors - swift

I sucessfully submitted my app written in swift. That app was targetted for ios8 and later. Now I want to submit the same app for ios7 and later and I have a big problem. I do not know how to solve this. Error message is:
Your binary is not optimized for iPhone 5 - New iPhone apps and apps updates submitted must support the 4 -inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with UILaunchImageSize value set to {320,568}. Launch images must be PNG files and located at the top-lvel of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the 'iOS Human Interface Guidelines' at 'https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/dpc/uid/TP40006556-CH14-SW5' and the 'iOS App Programe Guide' at 'https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12'.

I'm pretty sure you need to add all the image formats prior to IOS 7, could be wrong...
https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen/

Related

Error While submitting app to app store : ERROR ITMS-90096: "Your binary is not optimized for iPhone 5

My app development target is 8.0.
I am getting error while submitting app to app store and error is :
ERROR ITMS-90096: "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 referenced in the
Info.plist under UILaunchImages with a UILaunchImageSize value set to
{320, 568}. 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. Learn more about iPhone 5 support and app
launch images by reviewing the 'iOS Human Interface Guidelines' at
https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen."

ios registering document in document files

I am working on app that reads gpx (topografix) file attached to an email. I have successfully registered this document type to my app so whenever I select such a file I get the option to open it by this app on iPhone. It works fine on my iPhone but on iPad my app is not recognised for opening such a file so my app does not appear on the list of apps that are capable to open it. This app uses iPhone environment and is set for iPhone not for universal environment. By changing on universal environment does not change anything. Why is my app not recognised in the list?
Well the conversion of an iphone app to ipad app has to be done if you want to make it universal.
refer this

Changing iPhone app icon through Cocoa Touch [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Change icon on of an App in iOS 4 in run-time
Is there any way to change the app icon through Cocoa Touch, the way that Calendar app does?
Nope! (or not without jailbreaking and releasing your app in cydia that is) All applications that come with the device run with different permissions than the ones that you install from the app store, and the 'app store apps' can only modify files in their sandbox. the icon.png is not in the sandbox, or the "Documents" folder, it is in the "Appname.app" folder.
No, this is not possible. The icon is set in Info.plist which is part of the app bundle. The app bundle is a collection of all of the files that make up the app (all pictures, videos, files you dragged into Xcode). When submitted to the App Store, the app bundle is signed with a certificate that prevents its modification (so that you cannot change any parts of the app after approval AND so that the device knows it has received a copy from Apple that has not been tampered with along the way). If the icon is set in Info.plist and this cannot be modified, then we're going to have a problem!
This issue is resolved for Newsstand apps. When a magazine is updated, it would only make sense for the icon to update to a picture of the latest issue. If your app is a Newsstand app and you use the NewsstandKit framework, then you can simply change the icon using the code below.
UIApplication *app = [UIApplication sharedApplication];
[app setNewsstandIconImage:[UIImage imageWithContentsOfFile:file]];
Newsstand apps still have a generic icon and icon properties set in Info.plist, but the system can change the icon when told by the app.

Itunes Connect Invalid Binary

I submitted my app in the App Store. First I validated it, and turns out successful. Then I submitted it and succesfully uploaded to iTunes Connect. After a minute, it says that the file is Invalid binary. I am uploading an update of an existing app which is already published in the App Store. (previous version uploaded by other developer). I tried every solution that I found in google search but no luck.
Just for information.
Today I faced the same problem of Invalid Binary while uploading new version of existing application.
I got following email from apple
iPhone 5 Optimization Requirement - Your binary is not optimized for
iPhone 5. As of May 1, all new iPhone apps and app updates
submitted must support the 4-inch display on iPhone 5. All apps must
include a launch image with the -568h size modifier immediately
following the 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. Learn more about iPhone 5 support and app launch images
by reviewing the iOS Human Interface Guidelines and iOS App
Programming Guide.
Once these issues have been corrected, go to the Version Details page
and click "Ready to Upload Binary." Continue through the submission
process until the app status is "Waiting for Upload." You can then
deliver the corrected binary.
Solution:
Added 4inch app screen shots in iTunesconnect meta data
Added Default-568h#2x.png image in my application for iPhone 5
After these changes application successfully submitted.
Need to add arm64
I faced the same problem of Invalid Binary while uploading new version of existing application.
The reason are from February 2015 itself we need to Add arm64 to our app. i added this then my app successfully upload to app store.
Try to check the provisioning you made for the itunes store are correct with your application.
Remove the old binary which has been rejected then add the new one.
If you can do try to make fresh provisioning and also check in the xcode as well.
And do check the mode,is that debug or distribution as you need to make the build for distribution.
Hope it man help you.
Cheers
Sanjay
You cannot submit an app that uses the same bundle ID or the same app name of any app (even the "same" one) submitted by another developer account.
Make sure you have choosen "App Store" as distribution method in distribution provisioning profile, not "Ad Hoc".
I have faced this issue many times.My app got passed validation and submitted
successfully to iTunes Connect.But It shows invalid binary in prerelease
options.I saw one awesome post in Apple discussions and finally solved my
issue.App bundle id was changed in config file of my web app.I have changed
old bundle id in config.xml and app uploaded for review.
Try using the Application Loader under /Developer/Applications/Utilities. Make sure you have created a New App in iTunesConnect...under Manage Applications, select the application you are going to create an update for... when that loads on the right you will see Add a New Update.

Should we take iPhone 4-sized screenshots for app store submission?

So far I haven't been able to find the specifications for the iPhone screenshots we'll submit along with our application. (It's universal, so I'm also taking iPad screenshots.) Can they / should they be of iPhone 4 resolution (640x960 instead of 320x480)?
They can, and should, be iPhone 4 resolution (640x960). You will be able to see the specifications when you create a new version, and click the "?" under Edit images.