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.