Removing iphone4 & 4s from supported devices in app - xcode

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.

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.

Setting a twitter account in the iphone simulator

I'm developing an iOS application, and to be able to retrieve data from Twitter, i need to set my Twitter account via Settings in the simulator to use Twitter framework. Even if i type my username and password correctly, it gives an error telling that username or password is invalid , but i'm 100 % sure that they are correct , because i'm using on the web. I'm able to access my Twitter account. The other weird issue that i'm facing this problem while using iphone 5.0 simulator. No problem with iphone 6.0 simulator. It drives me crazy, lookep up on the web, but nothing came up. Do you guys any idea why i'm having this problem ?
Edit: I'm using Xcode 4.5.2 and iOS 6.0 on Mountaion Lion
Do you use Xcode 4.6 Developer Preview 2? This is a known issue:
When using the iOS 6.1 SDK on OS X v10.8 (Mountain Lion), if you use
the iOS 5.0 or iOS 5.1 “Legacy SDK” in iOS Simulator, you will not be
able to sign in to Twitter via the Settings pane and Twitter.framework
will not work correctly. If you need to test Twitter features, you
will need to choose either the iOS 6.1 or iOS 6.0 Simulator run
destination or test with iOS 5.x on a device. These problems do not
occur when running Simulator on OS X v10.7 (Lion).
I had a code done in Xcode 8.3.3 that I code look up tweets on a hashtag. I used the twitter built in Social app to login there then test my app. An update with Xcode 9.2 is that you cannot use the built in social apps like before in Xcode 8.X.X.
iOS 11 no longer supports using Twitter from the built-in social framework.
The solution is that you have to use Twitter Kit 3 to use Twitter features in your app like Tweet, Social Twitter login, and access or use any Twitter API.
link to twitter kit iOS:
https://github.com/twitter/twitter-kit-ios/wiki

set app to iphone4 and up,and ios6

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.

YouTube on iOS Simulator

Hey guys
I was wondering if there is a way to get the youtube app into the iOS Simulator? I am almost done with my project and I need to test some iPhone URL Schemes that I have installed into my project (i.e. launching Facebook, YouTube, AppStore) all those kind of apps that I need to test that aren't in the iOS Simulator, hope someone knows, thanks
no there is no way to install apps on ios simulator.

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