set app to iphone4 and up,and ios6 - xcode

I have 3 questions that i couldnt find an answer to.
How would i set my app to work ONLY with iPhones-4 and up ?
How can i install in my xcode ios6 to check my app ?
do i need icon in 57x57 if my app is for iphone4 and up only ?
thanks .

Ad 1. This is not possible, even if you detect iPhone model in your code, someone can buy your app on older iPhone (3GS if you build your app for iOS 6).
You should support all devices available on a given iOS version.
Ad 2. Install the newest XCode (4.5.1) from Mac AppStore
Ad 3. Yes, you do.

Related

Xcode 7 supporting watch OS2 with iOS8 and iOS9 support

Can I provide support with only watchOS2 app having iOS8 support ?
I am supporting iOS8 and iOS9 both in my iOS app.
I need to add watch app with WatchOS2.
User who installs in iOS9 devices are able to use watchOS2 app, but people who are using iOS8 app can't use my watch app, is this possible ?
I am confused at this point because I have to provide support for iOS8 and iOS9.
I need to take a decision quickly, any help is appreciated.
You will need to have iOS 9 for WatchOS 2 to work.
Once you update OS of your watch to Watch OS 2.0 and after it, if you try it to pair with iOS 8 version iPhone, then it will not work and Apple Watch app would advise you that your version of iOS is out of date. It would not allow you to proceed with pairing until you had updated your iPhone software to iOS 9 (Whatever latest version of iOS 9.0).
If you want to support Watch OS 1 and Watch OS 2 then you have to set separate target for both of them.

Removing iphone4 & 4s from supported devices in app

Is there a way to support only iphone5 and above in your app?
Is it an xcode settings thing? When I submitted our app it says you need screenshots for iphone 4 since your binary supports it.
I am using spritekit and building with ios 8.1 . Any help or suggestions would be appreciated.
thanks
you cannot remove support for a device that Apple still supports on the App Store. You need to build your app to be compatible with all iPhones that Apple wants to support on the App Store.

Installing TestFlight on iOS 7

After upgrading my iPhone 5 to iOS 7 beta, it seems I have to re-connect it to Testflight.
Unfortunately, I can't install the provisioning profile:
After selecting 'Reconnect Device', 'Install Profile', 'Install Now', the alert is 'Profile Installation Failed. You iPhone is not activated'
I tried to remove the previous profiles, clear Safari cache and reboot, but no success...
Short answer - Go to TestFlight directly on Mobile Safari and use the TestFlight CocoaPod.
We got TestFlight working on the latest iOS 7 build. The TestFlight "app" that installs doesn't work, but manually visiting the TestFlight site in Mobile Safari allows you to install the profile and load the app. Nothing special needed. It sometimes takes a few tries loading the profile to get it to actually load.
Also, loading our apps into TestFlight wasn't working, so we started using the TestFlight CocoaPod and it works great.
I got it working on an iPad mini running iOS 7 beta 5, that was previously used with testflight while running iOS 6. It seems that it will work under some circumstances. What I did:
Unregistered the device from its connected testflight user account (actually this step might be irrelevant)
Launched testflightapp.com from Safari, not from any icon placed on home screen. It has to be from Safari where the url bar is shown. From here I could install betas. However the device itself is not listed under any user and it is not activated. While trying to activate it, testflight app says the registering works OK, however it really fails.
So, it MIGHT work but it's clear that the people at testflight has some work to do.
More: I am unable to get it working with an iPhone 4 iOS 7 beta 5 at all. The iPhone has not previously been used with testflight and seems to require an activation through that profile (at testflight or Apple, not sure) but the activation fails and there's no app list coming up in Safari, just the activation sequence. The key here might be that the device must have been used with testflight before, while on iOS previous to 7.
It seems that using testflight with iOS 7 beta does not work and/or is not supported at the moment.
Not sure what happened here but I was using testflight with an iPad mini that had iOS6. When I just upgraded it to iOS 7, the testflight site loads on the device, however installs never process.
I found the answer of Lysann Schlegel most useful. After some experimenting, I found out that simply opening TestFlight from Safari works fine. Don't use TestFlight app icon.
I had the same problem. In my case after i connect my iphone with the xcode/ organizer beta it let me install again the apps.
Check in Settings if you have the Developer options.
I'm sorry to say that this is currently untested and is a only workaround, but try downloading the ipa file from the TestFlightApp "Share this build" link and use xcode to install it.
This link is normally provided to allow pre iOS4 users to install using testflightapp.com
Even if this works this workaround is probably unacceptable for a vast majority of beta testers.
I'd say also use the "iphone configuration utility" but I suspect that the current release does not support the iOS beta.
If this does fix the issue for people then it's some confirmation that it's mainly the OTA profile that's at issue.
I did a fresh install of iOS 7 beta 6 (it did not have any provisioning profiles before) and was able to load an app from TestFlight. Installing the provisioning profile failed from the web, but I was able to get the correct one onto the device through XCode's Organizer. Then I downloaded the app from TestFlight in Safari (not the little portal TestFlight app). It loaded up just fine.

Develop apps for the iPad 3's retina display without lion?

Is Xcode 4.3.1 (and therefore lion) required to develop apps for the iPad 3's retina display?
Or is there a way to develop for the new device using Xcode 4.2? I'm not running lion yet.
If you are asking about iOS the iOS 5.1 sdk, then you will have to update to Lion and Xcode 4.3.1 to get it.
But as to the Retina display of the iPad 3, there is nothing special about it in the new sdk. So you can develop apps for the iPad 3 using Xcode 4.2. Just make sure you take into account the high resolution of the device when working with images and other graphics as you do with the iPhone Retina Display.
This small hack may be able to help you: it presents how you could install the 5.1 SDK with an older version of Xcode that works on Snow Leopard.
http://www.iphonedevsdk.com/forum/iphone-sdk-development/100229-snow-leopard-sdk-5-1-a.html
It turns out you do need to develop using Lion and iOS 5.1. If you don't build with the latest SDK then the #2x graphics won't show up in the app.

How to limit iTunes App Store "Requirements" listing?

The iTunes AppStore auto generates some listings on its published pages. One of them is "Requirements:" and shows the devices that this app is compatible with. iPod, iPhone or iPad etc.
QUESTION: Where is this REQUIREMENTS listing set during the build process?
I have submitted an app that I 'thought' was properly configured because the Xcode settings for iPhone and NOT iPhone/iPad. But apparently this is either broken or I am totally confused as to where this is set and how its created on the AppStore.
Can someone enlighten me?
If you create an app that is iPod/iPhone only, it will still run on an iPad, just not as an iPad native app. That is to say, an iPhone/iPod-only app will run in an iPhone-sized window on an iPad. I do not think that you can say you want your iPhone app NOT to run on iPad.
When you select iPhone/iPad for your app type in Xcode, that is telling Apple and iTunes that your app binary is a universal app -- built for both platforms.
may be it's done by apple reviewers according to this guidelines limitation
App Store Review Guidelines:
2.10
iPhone apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
... or else it will be rejected.
What's the problem? When you start a project you get to choose whether its for iPhone or iPad or both. When you submit it to apple this is also checked against your iOS build version and other things (normally though if there's a conflict it'll let you know before submission - eg: if you haven't included the iPad icons and your app says that its for iPad too).
In XCode4 theres a nice handy interface now that you can use. If you select your project in the left hand pane and click on your main target in the main window you can select the iOS application targets that your app is for.
In your Project settings Version, Device and Deployment Target are where the iTunes Requirements come from. If you choose only iPhone, then your requirements will inlcude iPod touch.
I believe this is the answer you are looking for:
http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/App-RelatedResources/App-RelatedResources.html

Resources