Use Swift 2.2 with iOS 9.2 and watchOS 2.1? - ios9.2

Now that Swift 2.2 / iOS 9.3 / watchOS 2.2 is out, can I update an app using Xcode 7.3 and still work on a iOS 9.2 device?
For example, if I started using #selector(someFunc) instead of selector("someFunc"), will this crash on a iOS 9.2 device?

iOS SDK is maintained to be backward-compatible (though I don't know, how far back). You can take a look at page SDK Compatibility Guide, Base SDK and Deployment Target Settings to read about "Base SDK" and "Deployment Target" project settings.
The latest language version (either Swift or Objective-C) can also be used with older iOS versions, because, no matter what the language is, the compiler will generate effectively the same machine-code at the end. There could be nuances like lack of some OS features (e.g. ARC is fully supported starting from iOS 5, though it's pretty much compiler/language feature).
It may be also interesting to read Xcode 7.3 Release Notes to get the list of new features and changes. This document does not states that some older iOS versions are no more supported.

Related

Universal Frameworks with Xcode 10

When we used this script in the post-action of the archive in my scheme to make a FAT binary framework. i.e., One that will work on the simulator and actual device. Its working fine up to Xcode 9.3 But its not working script for Xcode 10.
As per blogs we don't have universal framework support for Xcode 10. Please let us know how to achieve this from Xcode 10.
Thanks,

Project started in Xcode 4.3 compiled in Xcode 5 defaulting to iOS 6 Navigation Bar

I'm having a weird and intermittent issue where my UINavigationBar is showing iOS 6 style. The app was originally created in Xcode 4.3 but I can't seem to pin down what makes it use the old style. Is there any definitive way to ensure that this is taken care of?
In your target build settings make sure you use the latest SDK (7.0) as base sdk.

Building Qt4.8.x on OS X 10.7 with xcode 4.6 or higher

Can I build Qt 4.8.x on OSX 10.7.x using XCode 4.6.x and deploy the application on osx 10.6.x 10.7.x 10.8.x i.e. on Snow Leopard, Lion and Mountain Lion?
I am trying since several days but no result I even tried to explicitly specify -sdk ..10.6.sdk after giving aias Developer/Sdk/... But having very tough time.
Webkit complains it cannot find symbol " _kCFWebServicesProviderDefaultDisplayNameKey" that is referenced from QtWebKit.
I see on Qt's bug site that few people says they were able to do it by using sdk 10.6.sdk using lower xcode, but I dont understand why I do need to use 10.6 ?
Technically the SDK shouldn't matter, as long as "-mmacosx-version-min=10.6" is set as deployment target.

Could not resolve <s:Sequence> to a component implementation after adding AIR 3.6

Since changing to the AIR 3.6 I'm getting many errors such as:
Could not resolve <s:Sequence> to a component implementation.
If I switch to the built in Flex SDK 4.6.0 it works fine. I'm using Flash Builder 4.6.
UPDATE
I think that this is because there is a new compiler for ActionScript and that new compiler is included with the SDK and that is causing problems for Flex projects. I read this on the AIR SDK download page (which I did not notice before):
Note : Flex users will need to download the original AIR SDK without the new compiler.
Source
I was using the AIR SDK 3.6 with Compiler. I had to use the AIR SDK 3.6 only (no compiler). There's a link to it further down the page after the text "Note : Flex users will need to download the original AIR SDK without the new compiler."
Are you sure you upgraded to AIR 3.6 correctly? You have to merge it with your current Flex SDK (make sure to make a copy of it first). There are three distinct SDKs in Flash: Flash, Flex, and AIR. To use the AIR SDK, you have to combine it with one of the other two SDKs. You cannot just point your Project Properties to the AIR SDK you get from Adobe. That just won't work.
It's also worth noting that 3.6 is still in the testing phases. 3.5 is the latest stable release and unless you have a specific reason for using 3.6 (you are a tester, namely), you should avoid using it.

How to use iOS SDK 4.2 with Xcode 4.0.2

I installed Xcode4.0.2 yesterday and attempted to build and run a project developed by someone else, who was using an older version of Xcode (3.2.5) and iOS 4.2.
By default it seems, Xcode sets the project's "Base SDK" to 'Latest iOS (iOS 4.3)'. When I try to change that, my only iOS SDK options are "iOS 4.3" or "Latest iOS (iOS 4.3)". On my machine (Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs) I have "iPhoneSimulator4.2.sdk", as well as one for 3.2, 4.0 and 4.1.
In the Base SDK dialog, I tried choosing "Other..." to set the SDK to something other than the 4.3 options listed. Instead of getting a list of additional installed SDKs I get a text area where I need to manually enter an SDK. I tried "iOS 4.2" but I don't believe that worked.
Why isn't the list of available SDKs being populated with all the ones on my machine, and how can I set the SDK to 4.2?
Thanks!
Mat
You will want to select latest SDK, and then if you want the product to work on an earlier version you will want to select iOS Deployment Target, you can go all the way back to 3.0.

Resources