Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25407] Xcode 9: Debug -> Location does not show standard locations and custom location does not set location

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionInvalid
Resolution Date2017-12-13T11:44:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterMartin Williamson
AssigneeUnknown
Created2017-10-17T16:30:34.000+0000
Updated2018-08-06T17:36:59.000+0000

Description

When building with Xcode 9 and iOS 11 the menu option Debug -> Location does not show the standard locations (apple etc) and custom location does not set location. Using location services / get location etc in app produces a GPS error. Building to 10.3 or below shows the locations correctly and location works as expected

Comments

  1. Hans Knöchel 2017-10-18

    Looks like Xcode 9 changes the default behavior (see [this related thread](https://stackoverflow.com/questions/24951590/xcode-debug-simulate-location-menu-item-not-available-greyed-out) and [this Apple thread](https://forums.developer.apple.com/thread/83599)). Please also ensure to include the new NSLocationAlwaysAndWhenInUseUsageDescription property in your plist.
  2. Martin Williamson 2017-11-01

    NSLocationAlwaysAndWhenInUseUsageDescription is defined and the location works fine with iOS 11 on the device just not in the simulator, the simulator (especially the iphone X one) also runs quite slow. However, if you close the appcelerator launched simulator and launch the Xcode one, all works fine.
  3. Martin Williamson 2017-12-13

    This seems to be resolved in Studio v5.0 and latest XCode
  4. Hans Knöchel 2017-12-13

    Happy to hear, thank you! I am still curious if it was Xcode or Appc-Studio, because Appc-Studio didn't really change much in that direction. But in any case, thanks for the feedback -> Resolving!
  5. Eric Merriman 2018-08-06

    Closing as invalid. If incorrect, please reopen.

JSON Source