Storyboard File Inspector - ios

I submitted my app yesterday and i want this to run on iOS 6.0 and later operating systems.I have set the Deployment Target to 6.0 and Base SDK to Latest iOS(iOS 7.1).Is it ok?
Furthermore i would like to know which is the right selection for storyboard file in File Inspector Tab and in Interface Builder Document Section.Here is a screenshot:
I have chosen Project Deployment Target(6.0) for Builds For option.Is there any problem with this?Where does this option refers to?Cause there is an option iOS 6.0 and later also to choose.So which of these two options i have to choose?

I have set the Deployment Target to 6.0 and Base SDK to Latest iOS(iOS
7.1).Is it ok?
YES
I have chosen Project Deployment Target(6.0) for Builds For option.Is
there any problem with this?
NO, Its just a minimum target.

Related

KMM - How to set iOS deployment target?

I am trying to initialize a KMM project. On the initialization page it asks for minSdk version for Android but not for iOS.
The only way I could find was to traverse the files and manually change iOS deployment target in all of them. I even opened the project in XCode and changed the deployment target in XCode but it did not affect anything either.
Is there any proper workaround or official solution to change iOS deployment target?
No need to manually change XCode project files, you should:
Open iOS project in XCode
Select project file
Go to Build Settings
Search for ios deployment
Change iOS deployment target
Commit changes they will be in iosApp/iosApp.xcodeproj/project.pbxproj if you are using standard KMM template

How to solve iOS deployment target issue?

I am trying to run an application I am developing on an iPhone that runs iOS 10.2.1. I also tried to run it on a simulator that runs iOS 10.2. My Xcode version is 8.3.3. Even though I changed the deployment target to 8.0, I get the following error when I try to run it on a device under 10.3. Are there other things I should pay attention when changing the deployment target other than changing it from Info tab in Xcode? The error states the deployment target as 10.3 but it is not. How can I get around this issue?
"Run destination is not valid for running the scheme.."
My deployment target
Thank you,
I remember the same issue happening in my code.
In my case, I realized that I had not updated my Base SDK to the latest iOS version in the Build Settings
To do so, click on Project name -> Build Settings -> Base SDK
If Base SDK does not show, ensure that "All" is selected in the filter at the top of the page.
Also, sometimes the project has multiple targets and you might be setting the Base SDK on the wrong target.
You need to update your iphone to the newer version or downgrade your xcode version. Currently they are out of sync thus why you are seeing this error.
See here for compatibility:
https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html

Setting the Minimum iOS version in Xcode

I'm fairly new to Xcode as I use CocoonJS to build my HTML5 iPhone game but I want to know how to correctly set the minimum iOS version. I've set my deployment target to 8.0 and did a clean and then a build but when I submit to the app store it says the minimum iOS version is 6.0.
The next thing I tried was manually updating this value in the info.plist but then I get an invalid binary in iTunes Connect saying
Minimum OS Version Mismatch - The minimum OS version (LC_VERSION_MIN_IPHONEOS) in the binary ('6.0') for architecture ('armv7') differs from the MinimumOSVersion ('8.0') in the Info.plist
How do I update the minimum iOS version correctly without screwing up my binary? I've checked other threads but they all just say to update just the deployment target.
Assuming you're building against the 8.x SDK, and you have set the deployment target to 8.x or higher, that'll be enough.
However, I'd imagine you set the deployment target the wrong place in Xcode. You'll need to set it under your Project and not under your Target. Alternatively, if you have a .xcconfig file, you can change it by setting
IPHONEOS_DEPLOYMENT_TARGET = 8.1
If you don't have a .xcconfig, you can verify the deployment target, by opening your project.pbxproj file, and search for IPHONEOS_DEPLOYMENT_TARGET, and check if it's set to your expected value.
If you have Xcode .xcworkspace setup, say coming from ReactNative background, you would need to make sure:
iOS Deployment Target set to 14.1 or whatever version you want to be minimum inside the Project > Build Settings > Deployment for all instances.
iOS Deployment Target set to 14.1 or whatever version you want to be minimum inside the Target > Build Settings > Deployment for all instances.
The deployment info in Target > General > Deployment Info is set to the minimum support version before the iPhone checkmark.
To Verify the minimum version is set properly.
Archive the project.
Validate and Distribute the Development version of the app.
Locate the folder where the ipa was exported
Open the .ipa with some archive utility software (example The unarchiver)
Drag or Open the Info.plist in any code editor
Search for MinimumOSVersion and check whether the minimum os version reflects the required version.
Even after updating the Deployment Targets the archive doesn't update with the set version, force exit xcode and re-open the workspace/project. Check if the settings from previous session were applied, look for every instance where 14.x or whatever the current minimum version is present and update to the one required. Probably quit the Xcode once again and re-open. Generate the archive again and it should be reflect this time.

Selection of the ios on the simulator Xcode

As you can see in the image I have the IOS 5.1 version installed in Xcode for the simulator, but surprisingly I can select it in a project but not in the other.
Why is this happening? Any clue?
The project's deployment version is probably set to iOS 6 or 7.
Check that the deployment target is set to the lowest version of iOS that you want to support. Select your project in the Project Navigator and then check the Deployment Info section under the General tab:
Because You have installed ios 5.1 Simulator
In second image that is your 1st project it is display both ios5.1 and ios7 both because you have set its deployment to 5.1,
and for second project deployment target is selected only ios7, so..
set project's deployment version to iOS 5.1 , and check.

Supporting older versions of iOS from Xcode 5

I want my application run from devices with iOS 6.0 to later (non-retina and retina). I am using Xcode 5 with iOS 7.0 as base SDK. I know the UI changes to support both versions. Just want to know about the projects settings , Deployment Target and Architecture settings in Build Settings section etc.
I am attaching the image of Architecture settings in Build Settings section , I think properly configuring this part may solve my problem. Thanks in Advance for your help.
Make the deployment target as ios 6.0

Resources