I am developing an app with Xcode 5.0.2. My project configuration is base SDK iOS 7.0 and Deployment target is 6.0. I've configured iCloud and it works fine for an iOS 7 device. My problem is when I try to use iCloud in an iOS 6 device.
When I debug the app with Xcode I see this in the debug navigator --> iCloud Report section:
But when I debug my app on a device with iOS 6.1.3 I see this:
I've tested the app on four different devices, two with iOS 6 and two with iOS 7. Both with iOs 7 worked fine and both with iOS 6 don't connect with iCloud. All devices have iCloud configured with the same account and save docs and data enabled.
What's wrong? What can I do to make it works on iOS 6 device?
EDIT 1:
After a day of testing I can narrow the scope of my question. I have noticed that the "debug gauges" are only visible in Xcode when the application runs on a device with iOS 7. However, on devices with iOS 6 these are not visible.
Can anyone confirm me that this is so?
It can be configured in Xcode or in iOS 6 device?
I think that when I see that iCloud isn't configured doesn't refer to iOS 6 device, but rather it refers to Mac OS.
Anyway, leaving aside the "debug gauges" iCloud is still not working for me in iOS 6 devices.
Thanks!
I ran into a sync problem an noticed this, I thought the problem was as Xcode said: iCloud not configured.
But really, it was latency, especially in my case, there was a lot to sync, eventually my program worked, and clearly synced between devices using iCloud.
Don't be surprised if this is a bug, after all, it's Xcode ;)
Related
Since my latest update in the App Store, customers with older iPads are complaining that the app doesn't support their devices anymore.
Deployment target is set to iOS 9, so that part should be OK.
When building and running on my iPad mini 1 from xcode it works fine, but when looking it up in the App Store, iPad mini 1 isn't supported by the app.
Did I accidentally change a setting, or is it the way it is from now on?
(XCODE 9.1)
In the info.plist file the "Required device capabilities" should include "armv7". That fixed it.
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!
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.
It there any reproducible way to run a debug build compiled with iOS 8 SDK on an iOS 9 device?
Xcode usually tells me that the device's iOS is not supported by that version of Xcode. BUT I have managed to run on the same device with the same SDK via AppCode - unfortunately it does not work everytime, but in very rare cases. In these cases even break points worked fine.
Also when distributing an app for testing, it is no problem to install an app built with the iOS 8 SDK on a device running iOS 9.
So how can we properly debug that case?
So here's a hack that works for my whole team (I agree that it's annoying and frustrating, until you move to Xcode 7)
Make sure you have Xcode 7.x and Xcode 6.x Installed
Open Xcode 7 and let it Copy Symbols + Process Symbols so you can build the app for the device (Can take very long for new devices)
Open Xcode 6.4 and you'll see the iPhone. If Build fails Clean first (Cmd + K) and then run again
Known issue,
- It can sometimes say "Unavailable" or "OS Version" (can't be mounted because it's running on iOS 9).
Fix - Quit both Xcode's. Run Xcode 7 first, let it detect the phone and then open Xcode 6.4 and you can run the app now.
FYI: Sometimes just disconnecting and reconnecting the iPhone makes it discover. Also, it takes a looong time to Copy/Process symbols on new phones. The process is faster on known/previous devices.
You have to play with it for a while to figure it out. Best fix is to move to Xcode 7 ASAP.
Everything works just fine, including running on both iOS 8 and iOS 9 devices, breakpoints + debugging, and also submitting the app to iTunes connect.
When I'm in the Testflight web app I see some apps I've built earlier that support iOS 6 and up, but the app I'm working on now does not show up. It's an iPhone 4 running iOS 7.1.2 and testers report the same issue. My device shows also like this version under "devices" and I already tried to reconnect the device, to no avail.
The minimum OS as displayed in Testflight when I go to incompatible builds is listed as iOS 7.1. At this point I'm a bit baffled about what to do. At this point I'm a bit baffled. Already tried to check all build settings and re-uploading the build to Testflight.
Twice I had the same error. Third time I've uploaded the same code with a different build number but with the same settings it worked. I suspect a glitch in the Matrix, a temporary problem on the side of Testflight