app using CLLocationManager and built against ios7 will work on ios8? - ios8

I understood that in ios8 CLLocationManager should first ask the users for new specific permissions (Location Services not working in iOS 8)
But if an app using CLLocationManager was built against ios7 (and working properly on ios7 and submitted in the store), will this app work on a ios8 device?
thanks

Yes apps built with iOS 7 SDK using Xcode 5 will work with iOS 8. My apps on Appstore works fine with iOS 8 beta 5. My dev builds created by Xcode 5 also work fine with iOS 8 beta (distributed using TestFlight).

I have app that is currently on store that uses CLLocationManager and was built for iOS7. It works fine when installed on iOS8 device. But, i have a problem with new version of the app. I made some new features, didn't touch anything related to CLLocationManager, and when I build that new version with iOS7 SDK locations don't work on iOS8 device, while it still works fine on iOS7 devices.
Is there something special that I have to set up in the environment to make it work?

Related

iOS app upgraded from iOS8 SDK to 9, doesn't receive notifications

I recently updated an app from iOS8 (swift 1.2) to iOS9, swift 2.2 on Xcode 7.3.
The app works fine, except that notifications are no longer received.
If I use Xcode 6.3 to build my iOS8 branch (master), the app when deployed to my phone receives notifications just fine.
If I use Xcode 7.3 to build my iOS9 branch, the app does not receive notifications.
I've gone over the usual suspects. I'm not getting any errors when registering for notifications, and my code signing and provisioning profiles all seem to be in order.
My registration is standard boilerplate:
UIApplication.sharedApplication().registerForRemoteNotifications()
let userNotificationSettings = UIUserNotificationSettings(forTypes: .Alert, categories: nil)
UIApplication.sharedApplication().registerUserNotificationSettings(userNotificationSettings)
Is there some difference in notification registration on iOS9? I can't seem to find any differences when googling, but I'm open to any pointers.
Thanks,
SO: THE PLOT THICKENS
For sanity checking, I switched back to my master branch, which uses swift 1.2 and iOS8 SDK, and built and redeployed to an older iPhone running iOS8. And, horrifyingly, notifications are not being received anymore
Meanwhile, if I re-install the last TestFlight build I made, using the same codebase, notifications work.
I'm beginning to wonder if there's some issue here from my having Xcode 6.3 and Xcode 7.3 running on the same machine, maybe mucking up some aspect of code-signing? Is that plausible?

Xcode 7 supporting watch OS2 with iOS8 and iOS9 support

Can I provide support with only watchOS2 app having iOS8 support ?
I am supporting iOS8 and iOS9 both in my iOS app.
I need to add watch app with WatchOS2.
User who installs in iOS9 devices are able to use watchOS2 app, but people who are using iOS8 app can't use my watch app, is this possible ?
I am confused at this point because I have to provide support for iOS8 and iOS9.
I need to take a decision quickly, any help is appreciated.
You will need to have iOS 9 for WatchOS 2 to work.
Once you update OS of your watch to Watch OS 2.0 and after it, if you try it to pair with iOS 8 version iPhone, then it will not work and Apple Watch app would advise you that your version of iOS is out of date. It would not allow you to proceed with pairing until you had updated your iPhone software to iOS 9 (Whatever latest version of iOS 9.0).
If you want to support Watch OS 1 and Watch OS 2 then you have to set separate target for both of them.

XCODE iOS 8 iAD Load Error

I have a universal app that has been in use for several years with iAD Banner working. This was first implemented in iOS4, so it does not use ".canDisplayBanner" and does use the delegate. This has worked in all iOS versions.
With XCODE 6, it still works on simulator and device, iPhone and iPad, in development, when running on iOS7 target (aka, developer ad loads most of the time). If I run the same build on an iOS8 target, everything is the same, but ad Load ALWAYS gets error (3) ads not available, and NEVER become available.
As I understand it, iAd Banner should always return ads in development - regardless of iTunesConnect or provisioning. I have changed iOS Settings->Developer->(iAd Stuff), but no effect. Unfortunately, the Apple AdViewBanner and iAD docs appear to have only had formatting changes for iOS8, and are still essentially iOS6 docs. Searching the net, I can not find any one else with an iOS8 issue with iAd.
I can not determine is this is a coding issue/change for iOS8, or some type of Apple iAD service issue. Suggestions?

Do I need Xcode 4.5.2 to be able to build iPad mini compatible apps?

I already know that if an app is iPad 1/2 compatible, it will work fine on an iPad Mini since they have the same resolution.
The other day I updated my Xcode from 4.5 to 4.5.2 and one of the update description lines mentioned something like:
This version allows iPad Mini and iPad 4th Generation compatibility
Let's assume that all my view's frames are well prepared to run on any screen, will the apps work on iPad Mini if I compile them with Xcode 4.5 instead of 4.5.2?
Thank you, Alex.
I think you answered your own question. Seeing as all the iPad apps built before Xcode 4.5.2 was out run, yes, of course your apps will run as well.

How to tell XCode to run IPhone or IPad Simulator?

I want to prepare my App for the IPad, but what ever I do I can not get this to work. Without any changes to the project, the Active Executable says "xxx - IPhone Simulator".
So what do I have to do to make my app run in the Ipad Simulator ?!
Thx
Change the target version to iPhone OS 3.2. (The simulator currently only allows iPhone on 4.0 and only iPad on 3.2.)

Resources