I am developing an IOS application. My application requires IOS 6 or later. I am developing with XCode 6, but I tried to open my project with XCode 5.1.1 then I got error messages this "Unknown type name 'IBInspectable'". So, Do my application work in IOS 6?
IBInspectable is only available in Xcode 6 and the iOS 8 SDK. You can't open it with older versions of Xcode but as long as your Deployment Target is set to iOS 6 you should be good. So keep using Xcode 6:)
Related
I am a developer and i am thinking about updating my iPhone (8.4) to iOS 9 beta. I know all the pros and cons but i was wondering if, if i were to update to iOS 9, it would still be possible to run my app ( was created in Xcode 6.4, deployment target 8.0) on my iPhone using Xcode 7 beta.
Sure, you can run it with Xcode 7 beta on your iOS 9 device (but not Xcode 6). But you can't submit to App Store with Xcode beta until it's out of beta, so I recommend not taking any Xcode 7/iOS 9-only approaches for backwards compatibility if you want to submit within the next two months.
I Confirm you that with Xcode 7 and iOS 9 you can run your 8.0 target App !
EXTRA : The Only Problem:
There is only a small bug if you're using Parse.com, you can't retrive PFFiles. So in this case you need to redevelop your app in Target 9.0 to make it work
hope it helps
I'm trying to test my swift app on my iPhone 5 device. But I'm getting the following message:
I just updated my iPhone 5 and xCode 6 to the latest versions. Any ideas?
Found out the issue was my deployment target in build settings is 8.0, it should be 7.0 if I want my swift app to run in iOS 7.
You cannot run the app when it is made with swift because that comes with iOS 8. you need the beta on your iPhone
And you cannot use swift for iOS 7 programming
I just successfully updated my Xcode tool to 5.1 version and when I check Downloads option in preference section then I noticed there is no option to download ios 6.0 simulator.(Please check attached image)
So how can I access ios 6.0 simulator in Xcode 5.1?
Please follow this procedure to upgrade your xCode
Upgrade xCode
At last change deployment target to access both IOS 6 and IOS 7 simulators.
There are basically no difference between IOS 6.0 and IOS 6.1, in 6.1 apple just added three header file with few method in MapKit framework and did little modification in UIKit. So I don't think that you should bother about that.
You can check the modification here
Switched from Xcode 4.6 to Xcode 5 with titanium. Publishing new apps all go well.
No I opened an old project (Titanium SDK 3.1) and I would like to publish it to the app store for an update with the iOS 6 SDK.
How can this be done...
Thanks in advice for your answers/solution,
Erwin
You can't easily set the SDK to iOS 6, but as long as you set the deployment target to iOS 6 the app will run on iOS 6.
From the release notes of Titanium 3.1.3:
iOS 7 and Release 3.1.3 require the use of Xcode 5.0 and later. You
will still be able to compile iOS 6 apps with Xcode 5. Additionally,
Xcode 5.0 requires Mac OS X 10.8.4 or later.
Just make sure you do not use any methods or classes that are only available on iOS 7.
Does the deployment target of an app need to be set to iOS 7 in order to get the iOS 7 appearance on and iOS 7 device?
It was that way during the beta and it still seems like it is right now due to my testing.
I am currently building using iOS 7 SDK and deployment target of - let just say < iOS 7. The app runs using the iOS 6 appearance on my iOS 7 device.
If I build with iOS 7 as the deployment target, the device gets the iOS 7 UI.
It would be great if someone could confirm. Thanks.
Other build settings:
Architectures: $(ARCHS_STANDARD_32_BIT) armv6
Valid Archs: armv6 armv7 armv7s
I have read other questions which ask about the iOS 6 and 7 appearance in relation to build settings. Including this one: is there a way to have an app run and display as ios 6 on a iphone with iOS 7?
I also could not find any information for this on ADC. ADC just mentions "compatibility with iOS 6, etc"
Update:
This may be related to me building for iOS 7 on Xcode 4.6. Xcode 5 gives me compiler errors on build, the related question is Xcode 5 "Missing compiler spec LLVM 4.2" error
Update (10/14/13):
I have resolved the build errors of building in Xcode 5 and have confirmed that building with SDK set to iOS 7 in Xcode 5 gives an iOS 7 UI even with a deployment target of < iOS 7.
A table for those who find this page:
Xcode 4.6
iOS 7 SDK
iOS 7 deployment
iOS 7 device
iOS 7 UI
iOS 6 device (or lower)
N/A
iOS 6 deployment
iOS 7 device
iOS 6 UI
iOS 6 device (or lower)
iOS 6 UI
iOS 6 SDK
iOS 6 deployment
iOS 7 device
iOS 6 UI
iOS 6 device (or lower)
iOS 6 UI
Xcode 5
iOS 7 SDK
iOS 7 deployment
iOS 7 device
iOS 7 UI
iOS 6 device (or lower)
N/A
iOS 6 deployment (or lower)
iOS 7 device
iOS 7 UI
iOS 6 device (or lower)
iOS 6 UI
No! You can set the deployment target to be 6.1 For example and on devices running 6.1 it will look like 6.1 while on iOS7 devices it will look like 7.0.
And of course if you set deployment target to 7.0 it can ONLY run on 7.0 and up devices.
Also, make sure you set Base SDK to "Latest iOS". And check that your Target settings are NOT overriding your Project Settings. Really you should pick one of those two and only set it on place and let it flow through to the other. I use Target settings mostly.
You want to set your BASE SDK to the highest you're using.
You want to set your DEPLOYMENT target to the LOWEST your prepared to support.
The OS will do the rest.
I had exactly the same problem - Base SDK 7.0, Deployment Target SDK 6.1 on simulator worked as expected (iOS7 looks) but on the device (which had iOS7 installed) resulted in iOS6 looks.
Turns out it was because I had 6.1 SDK copied in my XCode 5 (I copied it previously to build another project against iOS6.1 with XCode5).
I didn't figure it myself, here is the link to the original answer: https://stackoverflow.com/a/19132061/1077481
The bottom line - don't copy SDK 6.1 in XCode5 :)
Yes I think that's the intended behaviour. If the deployment target is <7, it will run like an iOS 6 app on your iOS 7 device.
This is because it doesn't have the usable status bar and also implements the old style keyboard.
Now that apple has the feature of downloading the last compatible version, if you update your app to make it iOS7 only, someone with iOS6 will automatically download the last working version.