Skip to content

Commit eda6c8a

Browse files
NathanWalkerclaude
andcommitted
fix(build): reference the iOS LocationEssentials typings
@nativescript/types-ios v9 moved CLLocation, CLLocationCoordinate2D and CLLocationCoordinate2DMake out of objc!CoreLocation.d.ts into objc!_LocationEssentials.d.ts, which nothing referenced. Without it `nx build geolocation` fails with 8 "Cannot find name 'CLLocation'" errors. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 22fbbcb commit eda6c8a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

references.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/// <reference path="./node_modules/@nativescript/types-android/lib/android-33.d.ts" />
33
/// <reference path="./node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!AudioToolbox.d.ts" />
44
/// <reference path="./node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!CoreLocation.d.ts" />
5+
/// <reference path="./node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!_LocationEssentials.d.ts" />
56
/// <reference path="./node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!Darwin.d.ts" />
67
/// <reference path="./node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!Security.d.ts" />
78
/// <reference path="./node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!AuthenticationServices.d.ts" />

0 commit comments

Comments
 (0)