Skip to content

Commit e84c074

Browse files
feat: migration to SPM only and iOS SDK update to 11.0.0 (#637)
Co-authored-by: Joonas Kerttula <joonas.kerttula@codemate.com>
1 parent 859be84 commit e84c074

15 files changed

Lines changed: 267 additions & 76 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,15 @@ jobs:
240240
with:
241241
path: |
242242
**/ios/Pods
243-
key: ${{ runner.os }}-cocoapods-${{ hashFiles('**/package.json') }}
243+
key: ${{ runner.os }}-cocoapods-${{ hashFiles('**/package.json', '**/*.podspec', '**/Podfile.lock') }}
244244
restore-keys: |
245245
${{ runner.os }}-cocoapods-
246246
247247
- name: Install cocoapods
248248
if: env.turbo_cache_hit != 1 || steps.cocoapods-cache.outputs.cache-hit != 'true'
249249
run: |
250250
cd example/ios
251-
RCT_NEW_ARCH_ENABLED=0 pod install
251+
pod install
252252
env:
253253
NO_FLIPPER: 1
254254

MIGRATING.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,42 @@ This document covers breaking changes and migration steps between major versions
44

55
## Table of Contents
66

7+
- [Migrating from 0.17.x to 0.18.x](#migrating-from-017x-to-018x)
78
- [Migrating from 0.16.x to 0.17.x](#migrating-from-016x-to-017x)
89
- [Migrating from 0.13.x to 0.14.x](#migrating-from-013x-to-014x)
910

1011
---
1112

13+
## Migrating from 0.17.x to 0.18.x
14+
15+
Version 0.18.0 resolves the iOS Google Navigation SDK through Swift Package Manager and upgrades it to `11.0.0`.
16+
17+
### Summary of Breaking Changes
18+
19+
| Category | Change |
20+
| ----------- | ------------------------------------------------------------------------------------- |
21+
| Native SDKs | iOS Navigation SDK upgraded to `11.0.0` and resolved through Swift Package Manager |
22+
| iOS display | `showTrafficLights` and `showStopSigns` no longer affect iOS navigation views |
23+
| iOS maps | `MapType.TERRAIN` is unavailable during active navigation on iOS |
24+
25+
### What changed
26+
27+
Google Navigation is now resolved through Swift Package Manager during `pod install`, rather than through a CocoaPods `GoogleNavigation` dependency. CocoaPods continues to manage React Native autolinking and other pods, but it no longer fetches Google Navigation. Configure framework linkage in your app's Podfile according to your app's dependency requirements; the example app uses dynamic frameworks.
28+
29+
Navigation SDK 11 always displays traffic lights and stop signs during navigation. The deprecated `showTrafficLights` and `showStopSigns` display options have no effect on iOS, but continue to apply on Android. Terrain map type is no longer available during active navigation on iOS; `MapType.TERRAIN` remains available for non-navigation maps. Add an `NSMotionUsageDescription` entry to your app's `Info.plist` to prevent future motion sensor-related crashes.
30+
31+
### Reinstall iOS pods
32+
33+
Reinstall pods after upgrading:
34+
35+
```bash
36+
cd ios && pod install
37+
```
38+
39+
### Release notes
40+
41+
For native SDK changes introduced upstream, review the [iOS Navigation SDK 11.0.0 release notes](https://developers.google.com/maps/documentation/navigation/ios-sdk/release-notes).
42+
1243
## Migrating from 0.16.x to 0.17.x
1344

1445
Version 0.17.0 upgrades the underlying Google Navigation SDKs and raises the minimum Android build toolchain requirements.

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,15 @@ This package requires React Native's new architecture. Make sure new architectur
126126
ENV['RCT_NEW_ARCH_ENABLED'] = '1'
127127
```
128128

129+
#### Motion sensor usage description
130+
131+
Google recommends adding an `NSMotionUsageDescription` entry to your app's `Info.plist` to ensure compatibility with future motion sensor-related functionality in the underlying Navigation SDK for iOS.
132+
133+
```xml
134+
<key>NSMotionUsageDescription</key>
135+
<string>Used to improve navigation features.</string>
136+
```
137+
129138
#### Set Google Maps API Key
130139

131140
To set up, specify your API key in the application delegate `ios/Runner/AppDelegate.m`:
@@ -301,8 +310,6 @@ try {
301310

302311
const displayOptions: DisplayOptions = {
303312
showDestinationMarkers: true,
304-
showStopSigns: true,
305-
showTrafficLights: true,
306313
};
307314

308315
await navigationController.setDestinations([waypoint], { routingOptions, displayOptions });

example/Gemfile.lock

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
7+
rexml
8+
activesupport (6.1.7.10)
9+
concurrent-ruby (~> 1.0, >= 1.0.2)
10+
i18n (>= 1.6, < 2)
11+
minitest (>= 5.1)
12+
tzinfo (~> 2.0)
13+
zeitwerk (~> 2.3)
14+
addressable (2.8.7)
15+
public_suffix (>= 2.0.2, < 7.0)
16+
algoliasearch (1.27.5)
17+
httpclient (~> 2.8, >= 2.8.3)
18+
json (>= 1.5.1)
19+
atomos (0.1.3)
20+
base64 (0.3.0)
21+
benchmark (0.4.1)
22+
bigdecimal (3.2.2)
23+
claide (1.1.0)
24+
cocoapods (1.15.2)
25+
addressable (~> 2.8)
26+
claide (>= 1.0.2, < 2.0)
27+
cocoapods-core (= 1.15.2)
28+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
29+
cocoapods-downloader (>= 2.1, < 3.0)
30+
cocoapods-plugins (>= 1.0.0, < 2.0)
31+
cocoapods-search (>= 1.0.0, < 2.0)
32+
cocoapods-trunk (>= 1.6.0, < 2.0)
33+
cocoapods-try (>= 1.1.0, < 2.0)
34+
colored2 (~> 3.1)
35+
escape (~> 0.0.4)
36+
fourflusher (>= 2.3.0, < 3.0)
37+
gh_inspector (~> 1.0)
38+
molinillo (~> 0.8.0)
39+
nap (~> 1.0)
40+
ruby-macho (>= 2.3.0, < 3.0)
41+
xcodeproj (>= 1.23.0, < 2.0)
42+
cocoapods-core (1.15.2)
43+
activesupport (>= 5.0, < 8)
44+
addressable (~> 2.8)
45+
algoliasearch (~> 1.0)
46+
concurrent-ruby (~> 1.1)
47+
fuzzy_match (~> 2.0.4)
48+
nap (~> 1.0)
49+
netrc (~> 0.11)
50+
public_suffix (~> 4.0)
51+
typhoeus (~> 1.0)
52+
cocoapods-deintegrate (1.0.5)
53+
cocoapods-downloader (2.1)
54+
cocoapods-plugins (1.0.0)
55+
nap
56+
cocoapods-search (1.0.1)
57+
cocoapods-trunk (1.6.0)
58+
nap (>= 0.8, < 2.0)
59+
netrc (~> 0.11)
60+
cocoapods-try (1.2.0)
61+
colored2 (3.1.2)
62+
concurrent-ruby (1.3.3)
63+
drb (2.2.3)
64+
escape (0.0.4)
65+
ethon (0.15.0)
66+
ffi (>= 1.15.0)
67+
ffi (1.17.2)
68+
fourflusher (2.3.1)
69+
fuzzy_match (2.0.4)
70+
gh_inspector (1.1.3)
71+
httpclient (2.9.0)
72+
mutex_m
73+
i18n (1.14.7)
74+
concurrent-ruby (~> 1.0)
75+
json (2.7.6)
76+
logger (1.7.0)
77+
minitest (6.0.6)
78+
drb (~> 2.0)
79+
prism (~> 1.5)
80+
molinillo (0.8.0)
81+
mutex_m (0.3.0)
82+
nanaimo (0.3.0)
83+
nap (1.1.0)
84+
netrc (0.11.0)
85+
nkf (0.2.0)
86+
prism (1.9.0)
87+
public_suffix (4.0.7)
88+
rexml (3.4.2)
89+
ruby-macho (2.5.1)
90+
typhoeus (1.5.0)
91+
ethon (>= 0.9.0, < 0.16.0)
92+
tzinfo (2.0.6)
93+
concurrent-ruby (~> 1.0)
94+
xcodeproj (1.25.1)
95+
CFPropertyList (>= 2.3.3, < 4.0)
96+
atomos (~> 0.1.3)
97+
claide (>= 1.0.2, < 2.0)
98+
colored2 (~> 3.1)
99+
nanaimo (~> 0.3.0)
100+
rexml (>= 3.3.6, < 4.0)
101+
zeitwerk (2.6.18)
102+
103+
PLATFORMS
104+
ruby
105+
106+
DEPENDENCIES
107+
activesupport (>= 6.1.7.5, != 7.1.0)
108+
benchmark
109+
bigdecimal
110+
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
111+
concurrent-ruby (< 1.3.4)
112+
logger
113+
mutex_m
114+
xcodeproj (< 1.26.0)
115+
116+
RUBY VERSION
117+
ruby 3.2.2p53
118+
119+
BUNDLED WITH
120+
2.4.10

example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ First, make sure you go through the setup from the main [README](../README.md).
2222

2323
`pod install`
2424

25-
Note: This example app requires React Native's new architecture to be enabled (RCT_NEW_ARCH_ENABLED=1), which is configured in the Podfile.
25+
Note: This example app requires React Native's new architecture and uses dynamic framework linkage, both configured in the Podfile. Open `SampleApp.xcworkspace` in Xcode after installing pods.
2626

2727
2. Copy the `Keys.plist.sample` file located in `example/ios/SampleApp/` to a new file named `Keys.plist`. This file is git ignored and won't be accidentally committed. In your Google cloud console, add the Google API key to the project and add this newly created API key to the `Keys.plist` file.
2828

example/ios/Podfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ setup_permissions([
2323
'Notifications',
2424
])
2525

26-
linkage = ENV['USE_FRAMEWORKS']
27-
if linkage != nil
28-
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
29-
use_frameworks! :linkage => linkage.to_sym
30-
end
26+
use_frameworks! :linkage => :dynamic
3127

3228
config = use_native_modules!
3329

example/ios/SampleApp.xcodeproj/project.pbxproj

Lines changed: 44 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@
88

99
/* Begin PBXBuildFile section */
1010
00E356F31AD99517003FC87E /* SampleAppTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* SampleAppTests.mm */; };
11-
062AC10D618662A05665211C /* libPods-SampleAppCarPlay.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F7A476D4E03B73E48762E4D4 /* libPods-SampleAppCarPlay.a */; };
1211
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1312
13B07FC11A68108700A75B9A /* main.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.mm */; };
14-
29F89EA4FF546EABE968E1D2 /* libPods-SampleApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 354226CC8A58229ECC025410 /* libPods-SampleApp.a */; };
1513
2A20E8122C8994DB00DB7ADA /* main.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.mm */; };
16-
2A20E8142C8994DB00DB7ADA /* BuildFile in Frameworks */ = {isa = PBXBuildFile; };
1714
2A20E8282C899A1400DB7ADA /* Info-CarPlay.plist in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB61A68108700A75B9A /* Info-CarPlay.plist */; };
1815
2AB8C27A2C89A07000250560 /* Keys.plist in Resources */ = {isa = PBXBuildFile; fileRef = 52D4271C2C81D3F300C7FB36 /* Keys.plist */; };
1916
2AB8C27E2C89A0B400250560 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
@@ -25,8 +22,10 @@
2522
52206E862C8B2FEC00B34D22 /* PhoneSceneDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 52206E822C8B2FEC00B34D22 /* PhoneSceneDelegate.mm */; };
2623
52206E892C8B303700B34D22 /* AppDelegateCarPlay.mm in Sources */ = {isa = PBXBuildFile; fileRef = 52206E882C8B303700B34D22 /* AppDelegateCarPlay.mm */; };
2724
52D4271D2C81D3F300C7FB36 /* Keys.plist in Resources */ = {isa = PBXBuildFile; fileRef = 52D4271C2C81D3F300C7FB36 /* Keys.plist */; };
28-
77BA6ED186FC355B21D3A62F /* libPods-SampleAppTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 36A733F29B6732CA2CF27A17 /* libPods-SampleAppTests.a */; };
25+
64D1697D489B0F3255985321 /* Pods_SampleAppCarPlay.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 95931FFADA3D5522923A0F5B /* Pods_SampleAppCarPlay.framework */; };
2926
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
27+
AA3CA297C8EC7B693A13A44B /* Pods_SampleAppTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 33E9EBE1CFC402F90D5DE484 /* Pods_SampleAppTests.framework */; };
28+
C89FA619825746794A19ACB5 /* Pods_SampleApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B0D6ABF2B0017DFBAB6F7A58 /* Pods_SampleApp.framework */; };
3029
/* End PBXBuildFile section */
3130

3231
/* Begin PBXContainerItemProxy section */
@@ -51,8 +50,7 @@
5150
2A20E8202C8994DB00DB7ADA /* SampleApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SampleApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
5251
2AB8C27C2C89A09D00250560 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = SampleApp/Info.plist; sourceTree = "<group>"; };
5352
2AEB719D2C7C80F9002224A5 /* SampleApp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = SampleApp.entitlements; path = SampleApp/SampleApp.entitlements; sourceTree = "<group>"; };
54-
354226CC8A58229ECC025410 /* libPods-SampleApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SampleApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
55-
36A733F29B6732CA2CF27A17 /* libPods-SampleAppTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SampleAppTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
53+
33E9EBE1CFC402F90D5DE484 /* Pods_SampleAppTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SampleAppTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5654
3B4392A12AC88292D35C810B /* Pods-SampleApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleApp.debug.xcconfig"; path = "Target Support Files/Pods-SampleApp/Pods-SampleApp.debug.xcconfig"; sourceTree = "<group>"; };
5755
4735EA9AB0E8831D741A3A3E /* Pods-SampleAppCarPlay.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleAppCarPlay.debug.xcconfig"; path = "Target Support Files/Pods-SampleAppCarPlay/Pods-SampleAppCarPlay.debug.xcconfig"; sourceTree = "<group>"; };
5856
5205C1212C8B314F00D0FC6B /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = SampleApp/AppDelegate.mm; sourceTree = "<group>"; };
@@ -70,34 +68,34 @@
7068
750C10660A3F190F6072C5DA /* Pods-SampleAppCarPlay.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleAppCarPlay.release.xcconfig"; path = "Target Support Files/Pods-SampleAppCarPlay/Pods-SampleAppCarPlay.release.xcconfig"; sourceTree = "<group>"; };
7169
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = SampleApp/LaunchScreen.storyboard; sourceTree = "<group>"; };
7270
89C6BE57DB24E9ADA2F236DE /* Pods-SampleApp-SampleAppTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleApp-SampleAppTests.release.xcconfig"; path = "Target Support Files/Pods-SampleApp-SampleAppTests/Pods-SampleApp-SampleAppTests.release.xcconfig"; sourceTree = "<group>"; };
71+
95931FFADA3D5522923A0F5B /* Pods_SampleAppCarPlay.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SampleAppCarPlay.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7372
A9D547919643FC330CF84EC3 /* Pods-SampleAppTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleAppTests.release.xcconfig"; path = "Target Support Files/Pods-SampleAppTests/Pods-SampleAppTests.release.xcconfig"; sourceTree = "<group>"; };
73+
B0D6ABF2B0017DFBAB6F7A58 /* Pods_SampleApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SampleApp.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7474
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
75-
F7A476D4E03B73E48762E4D4 /* libPods-SampleAppCarPlay.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SampleAppCarPlay.a"; sourceTree = BUILT_PRODUCTS_DIR; };
7675
/* End PBXFileReference section */
7776

7877
/* Begin PBXFrameworksBuildPhase section */
7978
00E356EB1AD99517003FC87E /* Frameworks */ = {
8079
isa = PBXFrameworksBuildPhase;
8180
buildActionMask = 2147483647;
8281
files = (
83-
77BA6ED186FC355B21D3A62F /* libPods-SampleAppTests.a in Frameworks */,
82+
AA3CA297C8EC7B693A13A44B /* Pods_SampleAppTests.framework in Frameworks */,
8483
);
8584
runOnlyForDeploymentPostprocessing = 0;
8685
};
8786
13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
8887
isa = PBXFrameworksBuildPhase;
8988
buildActionMask = 2147483647;
9089
files = (
91-
062AC10D618662A05665211C /* libPods-SampleAppCarPlay.a in Frameworks */,
90+
64D1697D489B0F3255985321 /* Pods_SampleAppCarPlay.framework in Frameworks */,
9291
);
9392
runOnlyForDeploymentPostprocessing = 0;
9493
};
9594
2A20E8132C8994DB00DB7ADA /* Frameworks */ = {
9695
isa = PBXFrameworksBuildPhase;
9796
buildActionMask = 2147483647;
9897
files = (
99-
2A20E8142C8994DB00DB7ADA /* BuildFile in Frameworks */,
100-
29F89EA4FF546EABE968E1D2 /* libPods-SampleApp.a in Frameworks */,
98+
C89FA619825746794A19ACB5 /* Pods_SampleApp.framework in Frameworks */,
10199
);
102100
runOnlyForDeploymentPostprocessing = 0;
103101
};
@@ -148,9 +146,9 @@
148146
isa = PBXGroup;
149147
children = (
150148
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
151-
F7A476D4E03B73E48762E4D4 /* libPods-SampleAppCarPlay.a */,
152-
36A733F29B6732CA2CF27A17 /* libPods-SampleAppTests.a */,
153-
354226CC8A58229ECC025410 /* libPods-SampleApp.a */,
149+
B0D6ABF2B0017DFBAB6F7A58 /* Pods_SampleApp.framework */,
150+
95931FFADA3D5522923A0F5B /* Pods_SampleAppCarPlay.framework */,
151+
33E9EBE1CFC402F90D5DE484 /* Pods_SampleAppTests.framework */,
154152
);
155153
name = Frameworks;
156154
sourceTree = "<group>";
@@ -806,6 +804,22 @@
806804
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
807805
GCC_WARN_UNUSED_FUNCTION = YES;
808806
GCC_WARN_UNUSED_VARIABLE = YES;
807+
HEADER_SEARCH_PATHS = (
808+
"$(inherited)",
809+
"${PODS_ROOT}/ReactCommon",
810+
"${PODS_ROOT}/ReactCommon/react/nativemodule/core",
811+
"${PODS_ROOT}/React-runtimeexecutor",
812+
"${PODS_ROOT}/React-runtimeexecutor/platform/ios",
813+
"${PODS_ROOT}/ReactCommon-Samples",
814+
"${PODS_ROOT}/ReactCommon-Samples/platform/ios",
815+
"${PODS_ROOT}/React-Fabric/react/renderer/components/view/platform/cxx",
816+
"${PODS_ROOT}/React-NativeModulesApple",
817+
"${PODS_ROOT}/React-bridging",
818+
"${PODS_ROOT}/React-graphics",
819+
"${PODS_ROOT}/React-graphics/react/renderer/graphics/platform/ios",
820+
"${PODS_ROOT}/React-featureflags",
821+
"${PODS_ROOT}/React-renderercss",
822+
);
809823
IPHONEOS_DEPLOYMENT_TARGET = 16.6;
810824
LD_RUNPATH_SEARCH_PATHS = (
811825
/usr/lib/swift,
@@ -881,6 +895,22 @@
881895
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
882896
GCC_WARN_UNUSED_FUNCTION = YES;
883897
GCC_WARN_UNUSED_VARIABLE = YES;
898+
HEADER_SEARCH_PATHS = (
899+
"$(inherited)",
900+
"${PODS_ROOT}/ReactCommon",
901+
"${PODS_ROOT}/ReactCommon/react/nativemodule/core",
902+
"${PODS_ROOT}/React-runtimeexecutor",
903+
"${PODS_ROOT}/React-runtimeexecutor/platform/ios",
904+
"${PODS_ROOT}/ReactCommon-Samples",
905+
"${PODS_ROOT}/ReactCommon-Samples/platform/ios",
906+
"${PODS_ROOT}/React-Fabric/react/renderer/components/view/platform/cxx",
907+
"${PODS_ROOT}/React-NativeModulesApple",
908+
"${PODS_ROOT}/React-bridging",
909+
"${PODS_ROOT}/React-graphics",
910+
"${PODS_ROOT}/React-graphics/react/renderer/graphics/platform/ios",
911+
"${PODS_ROOT}/React-featureflags",
912+
"${PODS_ROOT}/React-renderercss",
913+
);
884914
IPHONEOS_DEPLOYMENT_TARGET = 16.6;
885915
LD_RUNPATH_SEARCH_PATHS = (
886916
/usr/lib/swift,

example/ios/SampleApp.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/ios/SampleApp/Info-CarPlay.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
<string>[Enter any description related to the key]</string>
4040
<key>NSLocationWhenInUseUsageDescription</key>
4141
<string>[Add your description here]</string>
42+
<key>NSMotionUsageDescription</key>
43+
<string>Used to improve navigation features.</string>
4244
<key>UIApplicationSceneManifest</key>
4345
<dict>
4446
<key>UIApplicationSupportsMultipleScenes</key>

0 commit comments

Comments
 (0)