From 659ae6fad0fb221241808b3e1c82a38e81108086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Do=C4=9Fan=20=C3=87e=C3=A7en?= Date: Wed, 19 Nov 2025 14:11:54 +0200 Subject: [PATCH] Fix minor issues in the Turbo Modules iOS doc --- docs/turbo-native-modules-ios.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/turbo-native-modules-ios.md b/docs/turbo-native-modules-ios.md index b471497850b..3a69dbcfce6 100644 --- a/docs/turbo-native-modules-ios.md +++ b/docs/turbo-native-modules-ios.md @@ -60,6 +60,8 @@ NS_ASSUME_NONNULL_BEGIN @interface RCTNativeLocalStorage : NSObject @end + +NS_ASSUME_NONNULL_END ``` Then update our implementation to use `NSUserDefaults` with a custom [suite name](https://developer.apple.com/documentation/foundation/nsuserdefaults/1409957-initwithsuitename). @@ -136,7 +138,7 @@ Modify the `package.json` as it follows: "type": "modules", "jsSrcsDir": "specs", "android": { - "javaPackageName": "com.sampleapp.specs" + "javaPackageName": "com.nativelocalstorage" }, // highlight-add-start "ios": { @@ -155,7 +157,7 @@ At this point, you need to re-install the pods to make sure that codegen runs ag ```bash # from the ios folder bundle exec pod install -open SampleApp.xcworkspace +open TurboModuleExample.xcworkspace ``` If you now build your application from Xcode, you should be able to build successfully.