Can I debug my app on iOS 7 from Xcode 7? - ios

Can I debug my app on iOS 7 from Xcode 7?
From what I can tell Xcode 7 just ignores any plugged in devices with iOS 7 installed. Is this just a fluke or is this a permanent change to Xcode?
(Using: Xcode 7 beta 6, iPhone 4S iOS 7.1)

The BAD news is that you can't test your app on iOS 7 simulators. At least not with Xcode 7.3.1. If you are using previous Xcode beta then you should check this answer.
The GOOD news is that you can test it on real device running iOS 7. I tested mine with Xcode 7.3.1 on iPhone 4 running iOS 7.1.2.
UPDATE:
The only way I have found so far to test your app on iOS 7 simulators is by installing OS X 10.10 Yosemite and using Xcode 6 (tested with OS X 10.10.5 and Xcode 6.4) side by side with Xcode 7.
UPDATE: Xcode version updated to 7.3.1.

The Xcode 7 beta does not support iOS 7.
It's not necessarily a permanent change, but the general way that the beta works.
Once Xcode 7 is released, the earlier runtimes may be supported, and you will be able to test on devices that are running older releases.

Related

iPhone 5s not working for iOS development with iOS 11.0.2

I am working on a camera app in Swift. Because it is a camera app I have to use the iPhone to run versions of the software. I recently upgraded to iOS 11.0.2 on the iPhone 5s. Now when I try to run the app on the phone I get the following message "This iPhone 5s (Model A1453, A1533) is running iOS 11.0.2 (15A421), which may not be supported by this version of Xcode." and the software will not load. Is there a way around this?
You should update your Xcode to Xcode 9. Xcode 8 will not compile for iOS 11.
Update your xcode to xcode 9. This issue is because of the mismatch version of xcode and your device. To run the app on IOS 11 you must have xcode 9.
Install the xcode 9 because the iOS 11 is only supported run using xcode 9. The previous xcode couldn't run in iOS 11
Please make sure your app is 64bit. Also check https://developer.apple.com/news/?id=06282017b

Update ios11.1 with Xcode 9 and iPhone 7

I was testing my application on my iPhone 7 with Xcode9beta6. All was ok when I got an iOS 11.1 update on my iPhone. Now, when I run my project, I have this message :
I tried with the last Xcode9 version too but still this message.
Any idea ?
I ran into this yesterday. The issue was I had upgraded to iOS 11.1 Beta on my device (iPhone 6S) but I was using the production version (non beta) of Xcode 9. This version of xCode 9 does not support iOS 11.1 Beta.
I had two options - upgrade my xCode 9 to the latest beta version or go to the backup of my iPhone and restore iOS 11.0.1.
I restored to iOS 11.0.1 successfully and now XCode works fine with the iPhone.
Hope that helps
11.1 iOS Beta version not supported by XCode 9 upgrade your XCode 9.1
I also faced same issue.It is because of iOS 11.1 upgrade Since Xcode 9 doest support iOS 11.1 Beta issue has been raised.Only options is either restore to older version or else test with another device which is compatible with Xcode9

Distribution Enterprise app for iOS 6

I would distribute app for iOS 6.
Actually I have XCode 8.2.1 and if I try to distribute with this version of XCode the app doen't work on iOS 6 but works with the highter versions.
So I tried to to distribute my app with XCode 6.4 but it doesn't work either on iOS 6, but works perfecty with highter versions.
I'm starting to think that MAYBE, just MAYBE, the app installation il locked by o.s of iOS.
Can someone help me to understand the issue?
The minimum deployment target with Xcode 8 is iOS 8. To support target
the iOS SDK 7.x and below, use Xcode 7.
If you try to use a deployment target of iOS 7.x or below, Xcode will
suggest you change your target to iOS 8
And Mac OS Sierra you cannot start Xcode 7.x as it crashes on launch due to a missing library.

Compatibility for Xcode 7, iOS 8, MacSierra and old iOS 6 and 7?

I am currently on EL Capitan. I wish to clear few doubts before deciding to upgrade to Sierra.
Can Xcode 7 run on Sierra?
Can iOS simulator run on Sierra ?
Can Xcode 7 in Sierra build and test with iOS 6 and iOS 7 actual devices? As my app is still supporting them. As i know, Xcode 8 can no longer build and run on ios 6.
Thanks!
Yes xcode 7 will work on Sierra, and all simulators will work. But the problem is that you cannot run real devices with version 10.0 or greater. Also you cannot upload a build to Appstore using sierra+xcode 7. For that u need xcode 8.
Hope this is helpful.

In OS X 10.10 (Yosemite Beta), How do I Test Using iOS 6.1 Simulator?

I am trying to target iOS 6.1 using Xcode 5 in Yosemite Beta. However, the simulator won't even run the app, or show the default icons (all I get is a black iOS-shaped screen, and Home or Lock buttons are not working). The 7.1 simulator works fine.
I have also noticed that Xcode 6 Beta does not even offer simulator versions prior to 7.1.
Does this indicate that, even in the final of OS X 10.10, it will be impossible to simulate iOS versions prior to 7.x? This seems very unreasonable to me.
Is this expected behavior?
EDIT: So I had already tried re-installing and re-downloading the 6.1 simulator before posting this question, which did nothing to change the situation. I also checked other similar questions that dealt with the upgrade to Mavericks (OS X 10.9) but the versions supported seem oddly chosen.
I will submit the question to Apple and report back my findings, unless someone else replies who has more concrete information on this specific case.
As far as I have experienced, The iPhone simulator always have this kind of issue on every update of OS X, since the core of iPhone simulator is using the core of OS X, and it only support the latest two version. That is,
10.10 -> iOS 7, iOS 8.
10.9 -> iOS 6, iOS 7.
Meanwhile, Xcode obviously only support for downloading the latest two version simulator, which means you can get iOS 6 simulator in Xcode 5, but not in Xcode 6.
However you can get the old simulator by copy/paste the old SDKs into the correct folder, but this still follows the OSX-iOS relation. That is, if you have the iOS 6 simulator SDK, you can run the iOS 6 simulator on OSX 10.9, but not OSX 10.10.
iOS Simualtor runtimes older than iOS 7.0 will not work with Xcode 6.
iOS Simulator runtimes older than iOS 7.1 will not work on OS X Yosemite.
Older versions of the iOS Simulator runtime cannot be made to work with Xcode 6 nor on OS X Yosemite without significant changes to those legacy runtimes.
You can still build your apps to support older iOS versions by setting an older deployment target, but you will not be able to test them on a simulated device running on OS X Yosemite. You can test on a physical device running iOS 6.1, or you can run Xcode 5.1.1 in OS X Mavericks to test your project in the older simulator.

Resources