How do i restrict my app to ios 10 devices only ? - iphone

On xcode 8 the latest deployment target is 9.1 and that includes iphone 4S but i only want to release it on iphone 5 and above. Please help. Thanks

Related

Ineligible Devices - xcode 6 [duplicate]

This question already has answers here:
Ineligible Devices section appeared in Xcode 6.x.x
(32 answers)
Closed 7 years ago.
My device isn't working with the xcode (6).
I've installed the iOS 8 beta on my device and tried to run my app via the xcode 6 on the device, but unfortunately my device appears under "Ineligible Devices" section.
I also bumped with the following links:
Xcode 6 won't let me develop on my iOS 8 phone
Ineligible Devices section appeared in Xcode 6.x.x
But the actions there didn't help me, any other actions to do other than changing the "Deployment target" + restart (xcode/mac/device)?
In my case, selecting the device from Product -> Destination worked great.
After re-connecting in XCode 6.1. It's working fine. Please try again.
We have to wait to Xcode 6.1, it should be uploaded yesterday but link doen´s work well
Xcode 6.1:
Posted: Oct 16, 2014
Build: 6A1052c
Included iOS SDK: iOS 8.1
Included Mac SDK: OS X v10.10
Disconnect device and clean Xcode 6.1. Reconnect device. This worked for me.
Confirm when connect your device (iOS 8.1 and Xcode6.1) unlocked , it will show as ineligible device even after unlock the device,
so next time you will connect as unlocked device so reconnect clear that issue. i hope it may help to some one.
In my case (Xcode 6.1, iOS 8.2) I did not see any updates in AppStore.
I found Xcode 6.2 for download and pressed "Install". It installed and asked for the update (more than 2 Gb).
Xcode 6.2 works correctly with iOS 8.2 and iOS 8.1.2
Hopefully this tip will help somebody else...
Your project is configured for an iOS version higher than your device. Update your device or change the iOS Deployment Target on Targets->[Your project]->Build Settings->Deployment-> iOS Deployment Target

App not installing on iPhone 5s

I have a MVC web app, which is distributed through ad hoc for iPhone using Xcode 4.5. The Xcode iPhone simulator is 6.1. The app installs fine on previous versions of iPhones, but not installing on iPhone 5s.
Can someone tell me, how I can make adhoc distribution for latest iPhone. Should I update Xcode or any other workaround?
No there is not need to use the iOS 7 SDK, all iOS 7 devices are capable of running iOS 6 apps.
Just make sure that you have the correct UDID, if the UDID start with FFFFF the UDID is not corrcet. Since iOS 7 the developers can not access the UDID any more. Thus all the UDID app are not longer working.
You should use iTunes to retrieve the UDID of the device.
Well Yes, Updation is required. This is because iPhone 5S has iOS 7.0. You will need to update your xcode 4.5 to xcode 5 which is required for running ios 7.0 . Xcode 4.5 will not create builds for ios 7.0 . Therefore you need to install a version of xcode that supports iOS 7.0 and later.
I was having a similar issue, and I found my answer here: Xcode 4.5 - can't install developer .ipa files via iTunes
Using the accepted answer there, my issues for installing on the new 5S went away. I just had to rebuild the distribution profile, make a new .ipa file with it and try again. Strange error, but the answer worked for me.

Testing iOS 6 apps on device running iOS7

I have an iPhone 4s. I receive iOS 7 update in my phone. So the question is: can I run iOS 6 apps from Xcode on my iOS 7 device?
NOTE: I haven't got XCode 5, so that's the reason I would like to know about running iOS 6 apps from XCode 4.6.1 on an iPhone 4s with iOS 7.
This is what you need to do:
close all Xcode apps
run Xcode 5 and wait for the devices to be recognised
run Xcode 4.6.3 at the same time
close Xcode 5
source: http://gerrybeauregard.wordpress.com/2013/07/12/testing-xcode-4-ios-6-sdk-app-on-ios-7-device/
Without Xcode 5, all apps you build will be built as iOS 6 apps, and they will run on your device in iOS 6 mode even though your device is running iOS 7. You may want to keep Xcode 4 around for that very purpose, even though Xocde 5 is now in the App Store. I haven't been able to reliably get apps to run as iOS 6 apps when built in Xcode 5.
Yes, you can run iOS6 Apps from Xcode in your iOS7 device.
They will run in a compatibility mode which is suppose to be like running the app in a iOS6 device but in reality some stuff may not work as expected. I have experienced problems with rotations, UIAlerViews and other components from the SDK.
The mode in which apps run on iOS7 is determined by the Base SDK used to link the executable. If you link against the iOS 6 SDK (included with Xcode 4.6.3) your app will run under iOS 7 but look and behave like running under iOS 6.
In my case, i changed Build Settings -> Build Options -> Compiler for C/C++/Objective-C to Default compiler then it's resolved.
Yes you can Run Your IOS 6 app in to IOS 7 but Sometimes its Graphics not Display Correctly
or it Might be Crash in IOS 7 sometimes...
so Better you use Autolayout in your ios 6 app and run in your ios7 device..
I was unable to upgrade MacOS from 10.7.5 to 10.8.x and that is why I could not install Xcode5 on my MAC. I downloaded Xcode5 but due to incompatibility it can not be installed.
I was able to run app using XCode 4.6 in debug mode on an iPhone 4 with iOS 7 (and can't express enough how happy i got after that)
Steps:
Use incompatible Xcode5 (copy it from the dmg image to somewhere else, there will be a cross sign in it) and right click on it and Click "show package contents".
Go to Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs and copy the iPhoneOS7.0.sdk file in the corresponding folder in Xcode4.6 after showing its package contents.
Go to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport and copy the 7.0 and 7.0.3(11B508) file in the corresponding folder in Xcode4.6 after showing package contents.
Now when you open Xcode4.6 your project Base SDK should be 7.0 and if your device is not detected yet, disconnect and reconnect your device so that it starts "getting symbol files from iPhoneXYZ"
Hope this helps someone.
One more important thing, in your scheme Debugger should be set to "LLDB"
To test iOS 6 apps on iOS device you need to have xcode 4 and xcode 5 on your development machine.
Step 1. Run Xcode 5 and run the project on the ios 7 device.
Step 2. Run Xcode 4 and now you will find the ios 7 device listed in the scheme menu of xcode 4.
Step 3. Run your project and enjoy.
if ([self respondsToSelector:#selector(edgesForExtendedLayout)])
self.edgesForExtendedLayout = UIRectEdgeNone;
// iOS 7(x)

xcode 4.6 can't show deployment target 4.2

i have xcode 4.6.It show deployment target upto 4.3.
i want to use 4.2 but it can't show.
what's step for it.
What's problem?
Xcode 4.6 and iOS 6 do not support iOS 4.2 and/or ARMv6. (ARMv6 devices being iPhone 1st and 3G and the iPod Touch 1g and 2g)
Since all devices that have an ARMv7 are able to run iOS 5 you should set you minimum to 4.3 or if possible iOS 5.0.

Running app on iPhone 3 with Xcode 4

I'm trying to develop an app in iPhone 3 which doesn't update to 4.3.5 and stays in 4.2.
Xcode 4 only runs 4.3 so I cannot test an application on my iPhone 3.
I know I can set my deployment target to 4.2 and distribute it to iphone 3 users, but I want to test it on my iphone 3.
Does anyone know how to install iOS sdk 4.2 on my xcode 4 or simulating app on my iphone 3 (version 4.2).
Thank you.
Use Xcode 3.2.6 or
use an ad-hoc distribution profile to get the app on your device.
http://furbo.org/2008/08/06/beta-testing-on-iphone-20/