What should be done for me to have the deployment target lower that 7.0 in my project preferences? Now any new project I create using Xcode 5 can only be deployed to iOS 7.0. That's how it looks:
You can directly type a different target (5.0, 5.1, etc) into the text box :)
The only thing to note is you will need to change the architecture to exclude ARM64 if you go below 7.0.
Had the same issue. All I did was to change Architectures to Standard architectures (armv7,armv7s) - exclude the 64 bit. See screenshot.
I had the same problem. I solved it with these steps:
project > Build Setting
Deployment tab > iOS Deployment Target
so:
You can follow my answer here to use the iOS 6 SDK on XCode 5 but you need to have XCode 4 installed on your Mac.
But I think you can just set the Deployment Target to iOS6, in the configuration of the project :
Click Project
Targets > Build Setting >Deployment Tab
Change ios Deployment target See In Image
Related
I developed iPhone app using base SDKs as 6.0 and deployment target as 6.0
Now i want to change my deployment target to 5.0 instead of 6.0
is it possible to change ?
I have used feature of autolayout in xcode 4.5
and
I have one doubt: I have heard that if i develop app using deployment target of iOS 5 and with launch image of Default-568h#2x.png for iPhone 5 apple will reject my app..(Reason : Invalid Launch Image - You app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later) but for support of iPhone 5, i have to supply image Default-568h#2x.png image. how to solve this problem ?
Thanks for the reading of question.
You don't need to change the base SDK to change the deployment target. Just change it to 5.0 under your target options:
Note that autolayout and some other features are available only on SDK 6.0.
Edit for XCode 7+
The tab is now called General, and the Deployment target is under Deployment info:
You might also notice that you can't see older deployment targets from Adis way. So to fix that go to build settings>deployment and then locate iOS deployment target and change it there.
I have two iOS projects that under Xcode 3 built properly and these iPhone been on sale in the app store for some time. After upgrading to Xcode 4, Xcode now thinks these are Mac OS projects!
When I select Project Settings > Info, it actually says at the top "Mac OS Deployment Target" with a drop down allowing me to select 10.4, 10.5 or 10.6! These are not nor ever have been Mac OS projects.
In my build settings, Xcode allows me to select 32 bit or 64 bit Intel architecture. not armv6 or armv7.
You need to change your build settings. Fortunately, this is really easy to do.
Start by clicking on your project's name in the Project Navigator.
Now, click on your Project Name as it comes up in the list. (You may need to do this for your build as well.)
Next, click on Build Settings. Finally, you should be able to change your Base SDK to the appropriate one.
Note that you might need to repeat steps 3 and 4 after selecting your Target in the screen shown below.
Have you restarted Xcode since the upgrade? Often times Xcode 4 seems to need to be restarted after SDK changes.
I didn't face any issues opening the projects in Xcode 4 which are built in Xcode 3. However there can be wired issue with the Xcode 4 you are using. Try resetting the architecture to armv6 or armv7 and base SDK to latest iOS SDK using the build settings. Also set the deployment target properly. This should allow you to run the application in Xcode 4.
Also, try uninstalling the xcode and install Xcode 4 again. This should fix the wired issue you have with your xcode 4.
I have a project for the iPhone, and I'm using an iPad to test it out on. My iPad is running 3.2.
The project has a Base SDK of 4.2 and a Deployment target of 3.2. However, when I try to install it on the iPad, I get the message:
The Info.plist for application at /Path/AppName.app specifies a minimum OS version of 4.2, which is too high to be installed on MyPad
I've checked both Project Settings and Active Target Settings, and they are bold only in the Project Settings. They both say the correct values.
Any ideas? I'm stumped! Thanks!
Doh... I've been stupid. I was changing "Release" instead of "Debug"....
Sorry everyone! Go back to what you were doing! :) blush
Try to set Deployment target of 3.1.
So latest update came out for iOS today and although I've run into this before I've sort of managed but now that I'm doing a lot of testing it is driving me nuts.
Is there a way to still deploy to devices running 4.1? I can't set the project settings to any other base SDK other than 4.2 and I can't deploy to devices running 4.2 if I don't upgrade.
Yes. In the Build Settings, there's a value called "iOS Deployment Target". You can set this to an older version of iOS. Note that this does not prevent you from using new features of iOS 4.2, so you have to be careful, as if you do so it will throw a runtime error on the older OS.
There's actually a couple of places, and the settings can be different for your Debug, Release and Deployment configs.
So you can go to:
Project info
- Deployment - iOS deployment target. ('Delete' if it's bold and it will go to the default of the base SDK)
These are overridden by the target settings, so check them too.
Target (double click on the target icon)
- Deployment - iOS deployment target
This way you can do your debugging on 4.2 or 4.1 without changing your release build config until you have any bugs resolved!
I'm developing a universal iOS application and I set the deployment target to any version before 3.2. However, when it is compiled and I go to install it on an older device, xcode won't install it because version 3.2 is being required. The info.plist generated confirms that the minimum os version is being set 3.2. Why is this?
I have also weak-linked all of the frameworks. Please help! Thanks!
There is a bug in XCode that may not have been fixed yet: You need to do all the project settings BOTH for the current target (select target and hit cmd + i) and in the project settings (project > edit project settings). The two forms are absolutely identical and hold the same information, however they do not correspond to each other - changes made in one form wouldn't reflect in the other. So, make sure to fill in the necessary information in both places and also make sure you're using the same configuration (debug, release,..) for each form.
Maybe so far the target OS information has been read just from one form - the one you didn't fill in.
In Xcode 7, I got error module file's minimum target is ios8.2 while building my unit tests after changing my main target's Deployment Target from 8.1 to 8.2.
Thanks to #Toastor's answer (from 5 years ago!) I was able to solve the error by also changing my project's Deployment Target from 8.1 to 8.2.
You should probably set the deployment target to 3.2 to match your device. The "Base SDK" should be set to a lower version like 3.1.3 for example.