Uploading an Xcode 5 app to an iOS 8 phone - ios

I just had a simple question. I was hoping to update my iPhone 5c to iOS 8 but I have been worrying about something, so I haven't done it yet. I worry that when I update to iOS 8 then I won't be able to put my apps from Xcode 5 on my iPhone (with iOS 8) anymore. This is because I have seen that when you try to put a swift app on a phone with iOS 7, it doesn't work. Please let me know if this is true or not. Thanks!

You are correct to be worried. Once you update your phone to iOS 8 you will no longer be able to install & debug an app on it from Xcode 5.1. You could still build an .ipa manually and install it to your phone using an iTunes, as long as you build the iOS app using an AdHoc Provisioning Profile. If you update to iOS 8, Apple is kinda forcing you into Xcode 6.
UPDATE: rmaddy's comment is correct. You can build/install/debug from Xcode 5.1.1 to an iOS 8 device as long you've installed Xcode 6 and used it with the iOS 8 device.

Related

Uploading app to itunes from xcode 7.3.1 for iOS 10

My current project app settings are xcode 7.3.1,I am using swift 2.2.
My app supports iOS 8 and above. With the recent changes to security and privacy setting for iOS 10, I wanted to know if uploading my app from xcode 7.3.1 will cause any issue/rejection from apple with respect to iOS 10. Is it suggested that I migrate to swift 2.3 and upload the app through xcode 8?Really puzzled
First point: The app store / iTunes Connect doesn't know or care what language your app is written in.
Second point: If you build with Xcode 7.3.1, then you are not linked against iOS 10. Therefore nothing about iOS 10 applies to you. You are running as an iOS 9 (or lower) app, under iOS 9 rules, even on an iOS 10 device.
Conclusion: You're fine; nothing has changed merely because Xcode 8 and iOS 10 exist.
Caveat: But you should check by running on an iOS 10 device anyway!

Do I need iOS 9 or higher to test an app on an iPhone without a developer program plan?

I can download the latest Xcode, but must I also be running at least iOS 9 to be able to develop an app and run it on my device without being a member of the developer program? I've got an iPhone 4 which cannot be upgraded any further from iOS 7.1.2.
My question is answered here: https://forums.developer.apple.com/thread/52904
No, I don't need iOS 9 as there is probably nothing on the iOS side preventing from using free provisioning. Xcode 7.3.1 supports iOS down to version 6, meaning I could test an app for free on a device with iOS 6.0.

Is it possible to use Xcode 7.x with devices running iOS 10 beta?

I'd like to check my app's performance on devices running iOS10 beta without using the Xcode 8 Beta. The main reasons for this are to a) retain the ability to archive & upload the app to the App Store, and b) share the app's codebase with others using Xcode 7.x. As far as I understand (I could be wrong), you can't use an Xcode beta to upload apps to the App Store.
I've tried sharing the apps with the iOS10 beta devices via TestFlight. Though this does work it doesn't quite solve the problem of being able to do proper testing and debugging on the beta device. Thanks for reading.
It is possible but only if you install Xcode 8 along side Xcode 7 (see below) and you connect the iOS 10 device to your computer while running Xcode 8. Once Xcode 8 downloads and processes the iOS 10 device, you will then be able to use the iOS 10 device on that same computer while using Xcode 7.
Rename /Applications/Xcode.app (your Xcode 7 installation) to something like /Applications/Xcode7.app. Then install Xcode 8. This way you can have both installed at the same time.
And you are correct that beta tools can't be used to build and submit to the App Store. Near the very end of the beta, Apple will post the GM version of Xcode and will send an email to developers that they are accepting iOS 10 apps. Using the GM version of Xcode 8 you will be able to submit your iOS 10 app.

Will i still be able to run my iOS 8.0 app on my iPhone 6 with iOS 9?

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

Run iOS Apps on iPhone with iOS 8 through XCode

My iphone is currently running ios 8. When I try to run apps through XCode on my phone I get this error message:
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.
In XCode under deployment target, there is no option for 8.0 (iOS 8) and the app will not run on my phone.
Is there an SDK I need to download for xcode?
Any help is greatly appreciated.
You need to download Xcode 6, which includes the iOS 8 SDK. You would download this from the Apple developer site, where you downloaded the iOS 8 Beta image from.
https://developer.apple.com/devcenter/ios/index.action
Xcode 5 knows nothing of the existence of iOS 8. You're going to need to get Xcode 6 from this page (direct link) if you want to run apps on your iOS 8 device.
Note that the direct link is only good for the version of Xcode 6 shipped alongside iOS 8 Beta 2. I have no idea what it will do when we get to Beta 3.
The way I got it to work was:
close all instances of Xcode.
open the Xcode 6-Beta
open Xcode 5 so both Xcode's are running at the same time
close Xcode 6-Beta, and after doing that, Xcode 5 will recognize your device as a capable one and you'll be able to deploy to your iOS 8 phone.
The reason you need Xcode 5 is because you won't be able to submit iOS 7 apps to the app store from Xcode 6, it'll give you an error so you need to use Xcode 5.

Resources