Invalid Launch Image - itunesconnect - iphone

Hi All,
I have tried uploading the app in appstore and through apploader it was successfully. In the itunes connect the status changed to "Upload Received". But after some time the status got changed to "Invalid Binary".
Below is the mail received :
"Invalid Launch Image - Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later."
I have built the app using Xcode Version 4.3.3 (4E3002). Please help.

If I were you I would get 4.5.2. 4.3.3 is a little old and certain patches may not be available.
https://developer.apple.com/xcode/

Why don't you build your Xcode 4.3.3 required code as a library or framework in 4.3.3, then add it as a library in 4.5.2.

I think.. your iOS target is 4.2 or below..
You have a choice: target above iOS 4.3 and fully support the iPhone 5.... or support older iOS versions but have a letterboxed app on iPhone 5 - in that case you must delete the Default-568h#2x.png file
EDIT
"If you build your project with an older version of Xcode (3.2, 4.2) you'll get an error* when the file Default-568h#2x.png is present as you HAVE TO upgrade Xcode to the latest version in order to build against the latest SDK (6.x). The latest iOS target version supported when building with iOS SDK 6 is 4.3. " ..check here

Related

Getting error when try to upload IPA using Xcode 10.1 or application loader

When I try to upload build it shows me error like:
ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 11.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later."
I know I cannot upload build using old version of XCode. My project was build on Xcode 10.0 but when I try to upload using XCode 10.0 it give above mention error. But When I open project in XCode 10.1 it gives me lots of error due to swift version but I cannot fix because of timeline.
Inshort,
Successfully build on XCode 10.0 but failed in XCode 10.1 and appstore requires iOS 12.1 for upload which is available on in XCode10.1 I tried to make build from XCode 10.0 and upload using application loader of XCode10.1. But still getting error, Any Solution?
Probable solution here would be building your app with the latest SDK available.
But downgrading the version of Swift to your desired one from settings in Xcode.
Please go to build settings of your target on latest Xcode & search for Swift Version. Then if may the latest one in the market so downgrade same to your expected one. So you will not get that much errors upon building
When I tried to solve the problem I got solution that is as per appstore new rule they app should be build in iOS version 12.1 atleast. So I got iPhone SDK 12.1 folder from XCode 10.1 content folder and paste it to XCode 10 Content folder.
App uploaded successfully... :)

Xcode doesn't show iPhone name

I have strange problem.
I made app with deployment target of iOS 6.0
I have iPhone 4s with iOS 6.1 with XCode 4.5 installed on my Mac. XCode doesn't see my device. It says "iOS Device" not "krunal's iPhone" as usual.
(I am sure that device is connected because I see it in iTunes.) XCode denies to start my application on device. It says:
"The version of iOS on “krunal’s iPhone” is not supported by this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK"
Please help..
Upgrade to Xcode 4.6, which includes support for iOS 6.1.
Goto Organizer and Select your device and mark your device for development, this should do it.

Unable to run simulator for iPhone3GS from xcode3

I'm unable to run simulator for testing iPhone3GS below version of 4.0. I have built my app with xcode4 and now, I want to test it how it works in iPhone3GS. I have read that I should install previous version of xcode, so I have installed xcode3. My IPHONEOS_DEPLOYMENT_TARGET is set to 3.1 in projects settings (xcode3). But still I can't see any iphone versions below 4.0 in simulator select list. What am I missing?
Well first of, the latest version of Xcode 3 only comes with the iOS 4.* SDK so there is no iOS 3 simulator.
You will need to installe a version of Xcode 3 with iOS 3.* SDK to get the 3.* simulator, but you can only get them in de bundle version of Xcode.
What I do is test my apps on a device running iOS 3.1.2 with Xcode 4 and dropping support for iOS 3.* in new projects (94% of my user have switch to iOS 4).
in this case you have to click the target section of the xcode and thre you have to chage the setting >build>latest ios.
You can make and add hoc build and install it on an real device that run the desired os version.

How can I build an application for iPhone OS 3.1.2 using the current Xcode?

I have an iPhone running the 3.1.2 firmware and would like to build applications for it. However, I can't find Xcode 3.2.1 with the iPhone OS 3.1.2 SDK at Apple's developer site.
How can I build an application using the current SDK and Xcode versions that will run on this older OS version?
Use the current tools and SDK. Set the "Base SDK" build setting to "Latest iOS" and set the "iOS Deployment Target" to whatever version you want to target, such as iOS 3.1.2.
The only gotcha here is that the compiler won't warn you if you use something from the SDK that was introduced after iOS 3.1.2, and if you do your app will likely crash. So, you'll want to check the docs for each method you use that you don't already know for certain is available in 3.1.2, and you should test your app thoroughly.
Unless there is some unmentioned reason you need the older version, you can use the latest Xcode and just target the build for the old iOS.
If you are a member of the Apple Developer Program (which you need to be in order to download any version of the Xcode and iOS SDK), you can download Xcode 3.2.6 w/ iOS SDK from the main 4.3 from the iOS Dev Center home page. Under the section for Xcode 4, there's a small line saying "Looking for Xcode 3? Download", which takes you to this download page.
Of course, that still requires you to develop using the 4.3 SDK, so you have to be carefull when targeting 3.1.2 devices.
You can purchase Xcode using the Mac-App-Store or by subscribing to the iPhone Developer Program ($99 per year).
Get the latest one (XCode with iOS SDK 4.3) and select 3.1.2 for the deployment iOS Version (under build-settings).

Upgrading iOS SDK

I've XCode 3.2.3 with iOS SDK 4 installed in my iMac. I bought an iPhone 4 with OS version 4.0.2 and I would like to use that device for development. However the Organizer shows the message below when the device is connected.
The version of iPhone OS on “iPhone 4G” does not match any of the versions of iPhone OS supported for development with this installation of the iPhone SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iPhone SDK.
Currently my XCode supports Base SDK from 3.0 to 4.0.1.
So if I download the latest XCode 3.2.4 with iOS SDk 4.1, will I still have Base SDK support from 3.0 ?
Cheers
Jugs
No, XCode 3.2.4 does not come with SDK 3.0, it comes with SDK 3.2 and 4.1. But you don't need the 3.0 SDK to write apps that will run on 3.0.
There are two versions that are important to you as an iOS developer, and you need to understand them: first, there's SDK version that you link to, this is the Base SDK. It should normally be set to the newest SDK available.
And then, there's the Deployment Target. That is the earliest version your app needs to run on. This is the one you are actually caring about, this one ensures that your app will still run on earlier iOS devices.
To set that, go to "Project -> Edit Active Target". In the dialog, select the "Build" tab, make sure "Show" is set to "All Settings" and the type "deploy" in the search field. Scroll down to the "Deployment" section, the last entry should be "iOS Deployment Target". You need to set this to "iOS 3.0" or whatever suits you. You should now get warnings if you use methods or classes that are not available on 3.0.