I just clone the example. It is working on Android but not on IOS. Below is the error. Will you please help me to fix this.
gparkash@INDEL-L-C02ZR7S0MD6N notifee-example % ns run ios
Searching for devices...
[@open-native/core/hooks/before-prepare.js] Autolinking React Native ios native modules...
[@open-native/core/hooks/prepare-ios.js] Unable to extract any methods from RCTBridgeModule named "EventDispatcher".
[@open-native/core/hooks/before-prepare.js] Autolinked @notifee/react-native!
[@open-native/core/hooks/before-prepare.js] Autolinked @open-native/core!
[@open-native/core/hooks/before-prepare.js] ... Finished autolinking React Native ios native modules.
Preparing project...
webpack: react polyfill installed
webpack is watching the files...
assets by path fonts/ 350 KiB
asset fonts/fa-solid-900.ttf 188 KiB [compared for emit] [from: app/fonts/fa-solid-900.ttf] [copied]
asset fonts/fa-brands-400.ttf 128 KiB [compared for emit] [from: app/fonts/fa-brands-400.ttf] [copied]
asset fonts/fa-regular-400.ttf 33.3 KiB [compared for emit] [from: app/fonts/fa-regular-400.ttf] [copied]
asset fonts/LICENSE.txt 1.51 KiB [compared for emit] [from: app/fonts/LICENSE.txt] [copied]
assets by path *.js 8.05 MiB
asset vendor.js 7.62 MiB [compared for emit] (name: vendor) (id hint: defaultVendor)
asset bundle.js 346 KiB [compared for emit] (name: bundle)
asset runtime.js 88.7 KiB [compared for emit] (name: runtime)
asset tns_modules/inspector_modules.js 1.24 KiB [compared for emit] (name: tns_modules/inspector_modules)
Entrypoint bundle 8.05 MiB = runtime.js 88.7 KiB vendor.js 7.62 MiB bundle.js 346 KiB
Entrypoint tns_modules/inspector_modules 7.71 MiB = runtime.js 88.7 KiB vendor.js 7.62 MiB tns_modules/inspector_modules.js 1.24 KiB
runtime modules 25.4 KiB 13 modules
orphan modules 302 bytes [orphan] 5 modules
javascript modules 2.73 MiB
modules by path ./node_modules/ 2.61 MiB 390 modules
modules by path ./app/ 130 KiB
./app/app.ts 4.25 KiB [built] [code generated]
./app/app.css 118 KiB [built] [code generated]
+ 2 modules
external "~/package.json" 42 bytes [optional] [built] [code generated]
json modules 276 KiB
modules by path ./node_modules/mdn-data/css/*.json 242 KiB 3 modules
modules by path ./node_modules/css-tree/ 30.7 KiB
./node_modules/css-tree/package.json 1.65 KiB [built] [code generated]
./node_modules/css-tree/data/patch.json 29 KiB [built] [code generated]
./node_modules/@open-native/core/platforms/ios/lib_community/modulemap.json 2.52 KiB [built] [code generated]
webpack 5.75.0 compiled successfully in 3347 ms
Webpack compilation complete. Watching for file changes.
Type-checking in progress...
File change detected. Starting incremental webpack compilation...
Updating runtime package.json with configuration values...
Project successfully prepared (ios)
Building project...
Xcode requires a team id to be specified when building for device.
You can specify the team id by setting the DEVELOPMENT_TEAM setting in build.xcconfig file located in App_Resources folder of your app, or by using the --teamId option when calling run, debug or livesync commands.
? Found multiple development teams, select one: › - Use arrow-keys. Return to submit.
❯ NSF International (M627KQ4NWX)
TraQtion, LLC (38Q6EQ5YNF)
assets by status 8.39 MiB [cached] 8 assets
Entrypoint bundle 8.05 MiB = runtime.js 88.7 KiB vendor.js 7.62 MiB bundle.js 346 KiB
Entrypoint tns_modules/inspector_modules 7.71 MiB = runtime.js 88.7 KiB vendor.js 7.62 MiB tns_modules/inspector_modules.js 1.24 KiB
cached modules 3 MiB (javascript) 25.4 KiB (runtime) [cached] 419 modules
webpack 5.75.0 compiled successfully in 226 ms
✔ Found multiple development teams, select one: › NSF International (M627KQ4NWX)
✔ Do you want to make teamId: M627KQ4NWX a persistent choice for your app? › Yes, set the DEVELOPMENT_TEAM setting in build.xcconfig file.
Xcode build...
Chokidar raised event change for /Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/App_Resources/iOS/build.xcconfig.
Updating runtime package.json with configuration values...
2023-02-28 11:21:06.513 xcodebuild[8606:67986] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2023-02-28 11:21:06.513 xcodebuild[8606:67986] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2023-02-28 11:21:07.815 xcodebuild[8606:68067] iPhoneConnect: 📱<DVTiOSDevice (0x7fd2445fca00), Nsf iPhone, iPhone, 16.1.2 (20B110), 00008020-000308311189002E> unable to mount developer disk image, (Error Domain=com.apple.dtdevicekit Code=601 "Could not locate device support files" UserInfo={NSLocalizedDescription=Could not locate device support files, NSLocalizedRecoverySuggestion=Nsf iPhone may be running a version of iOS that is not supported by this version of Xcode. You can download the latest version of Xcode from the Mac App Store or developer.apple.com., DVTRadarComponentKey=487927, DeviceType=iPhone11,8, NSUnderlyingError=0x7fd246510600 {Error Domain=com.apple.dt.DVTDeviceSupportFilesError Code=2 "Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110" UserInfo={NSLocalizedDescription=Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110, DVTRadarComponentKey=487927}}}) {
DVTRadarComponentKey = 487927;
DeviceType = "iPhone11,8";
NSLocalizedDescription = "Could not locate device support files";
NSLocalizedRecoverySuggestion = "Nsf iPhone may be running a version of iOS that is not supported by this version of Xcode. You can download the latest version of Xcode from the Mac App Store or developer.apple.com.";
NSUnderlyingError = "Error Domain=com.apple.dt.DVTDeviceSupportFilesError Code=2 \"Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110\" UserInfo={NSLocalizedDescription=Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110, DVTRadarComponentKey=487927}";
}
2023-02-28 11:21:07.816 xcodebuild[8606:67986] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fd2445fca00), Nsf iPhone, iPhone, 16.1.2 (20B110), 00008020-000308311189002E> -- An error occurred whilst preparing device for development -- Could not locate device support files
Domain: com.apple.dtdevicekit
Code: 601
Recovery Suggestion: Nsf iPhone may be running a version of iOS that is not supported by this version of Xcode. You can download the latest version of Xcode from the Mac App Store or developer.apple.com.
User Info: {
DVTRadarComponentKey = 487927;
DeviceType = "iPhone11,8";
}
--
Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110
Domain: com.apple.dt.DVTDeviceSupportFilesError
Code: 2
User Info: {
DVTRadarComponentKey = 487927;
}
--
2023-02-28 11:21:07.816 xcodebuild[8606:67986] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fd2445fca00), Nsf iPhone, iPhone, 16.1.2 (20B110), 00008020-000308311189002E> == Underlying device preparation errors ==
2023-02-28 11:21:07.816 xcodebuild[8606:67986] [MT] iPhoneConnect: Could not locate device support files
Domain: com.apple.dtdevicekit
Code: 601
Recovery Suggestion: Nsf iPhone may be running a version of iOS that is not supported by this version of Xcode. You can download the latest version of Xcode from the Mac App Store or developer.apple.com.
User Info: {
DVTRadarComponentKey = 487927;
DeviceType = "iPhone11,8";
}
--
Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110
Domain: com.apple.dt.DVTDeviceSupportFilesError
Code: 2
User Info: {
DVTRadarComponentKey = 487927;
}
--
2023-02-28 11:21:07.816 xcodebuild[8606:67986] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fd2445fca00), Nsf iPhone, iPhone, 16.1.2 (20B110), 00008020-000308311189002E> == END: Underlying device preparation errors ==
2023-02-28 11:21:07.940 xcodebuild[8606:68067] iPhoneConnect: 📱<DVTiOSDevice (0x7fd2445fca00), Nsf iPhone, iPhone, 16.1.2 (20B110), 00008020-000308311189002E> unable to mount developer disk image, (Error Domain=com.apple.dtdevicekit Code=601 "Could not locate device support files" UserInfo={NSLocalizedDescription=Could not locate device support files, NSLocalizedRecoverySuggestion=Nsf iPhone may be running a version of iOS that is not supported by this version of Xcode. You can download the latest version of Xcode from the Mac App Store or developer.apple.com., DVTRadarComponentKey=487927, DeviceType=iPhone11,8, NSUnderlyingError=0x7fd246082240 {Error Domain=com.apple.dt.DVTDeviceSupportFilesError Code=2 "Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110" UserInfo={NSLocalizedDescription=Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110, DVTRadarComponentKey=487927}}}) {
DVTRadarComponentKey = 487927;
DeviceType = "iPhone11,8";
NSLocalizedDescription = "Could not locate device support files";
NSLocalizedRecoverySuggestion = "Nsf iPhone may be running a version of iOS that is not supported by this version of Xcode. You can download the latest version of Xcode from the Mac App Store or developer.apple.com.";
NSUnderlyingError = "Error Domain=com.apple.dt.DVTDeviceSupportFilesError Code=2 \"Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110\" UserInfo={NSLocalizedDescription=Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110, DVTRadarComponentKey=487927}";
}
2023-02-28 11:21:07.940 xcodebuild[8606:67986] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fd2445fca00), Nsf iPhone, iPhone, 16.1.2 (20B110), 00008020-000308311189002E> -- An error occurred whilst preparing device for development -- Could not locate device support files
Domain: com.apple.dtdevicekit
Code: 601
Recovery Suggestion: Nsf iPhone may be running a version of iOS that is not supported by this version of Xcode. You can download the latest version of Xcode from the Mac App Store or developer.apple.com.
User Info: {
DVTRadarComponentKey = 487927;
DeviceType = "iPhone11,8";
}
--
Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110
Domain: com.apple.dt.DVTDeviceSupportFilesError
Code: 2
User Info: {
DVTRadarComponentKey = 487927;
}
--
2023-02-28 11:21:07.941 xcodebuild[8606:67986] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fd2445fca00), Nsf iPhone, iPhone, 16.1.2 (20B110), 00008020-000308311189002E> == Underlying device preparation errors ==
2023-02-28 11:21:07.941 xcodebuild[8606:67986] [MT] iPhoneConnect: Could not locate device support files
Domain: com.apple.dtdevicekit
Code: 601
Recovery Suggestion: Nsf iPhone may be running a version of iOS that is not supported by this version of Xcode. You can download the latest version of Xcode from the Mac App Store or developer.apple.com.
User Info: {
DVTRadarComponentKey = 487927;
DeviceType = "iPhone11,8";
}
--
Unable to locate ideal DDI for platform: <DVTPlatform:0x7fd24123d050:'com.apple.platform.iphoneos':<DVTFilePath:0x7fd24123cfd0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 16.1.2, build: 20B110
Domain: com.apple.dt.DVTDeviceSupportFilesError
Code: 2
User Info: {
DVTRadarComponentKey = 487927;
}
--
2023-02-28 11:21:07.941 xcodebuild[8606:67986] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fd2445fca00), Nsf iPhone, iPhone, 16.1.2 (20B110), 00008020-000308311189002E> == END: Underlying device preparation errors ==
error: the following command failed with exit code 0 but produced no further output
CompileC /Users/gparkash/Library/Developer/Xcode/DerivedData/notifeeexample-birqrzpfeqztkrfgdtrvipjtcijx/Build/Intermediates.noindex/ArchiveIntermediates/notifeeexample/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/React-Core.build/Objects-normal/arm64/RCTEventDispatcher.o /Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/React/CoreModules/RCTEventDispatcher.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-Core' from project 'Pods')
357 warnings generated.
error: the following command failed with exit code 0 but produced no further output
CompileC /Users/gparkash/Library/Developer/Xcode/DerivedData/notifeeexample-birqrzpfeqztkrfgdtrvipjtcijx/Build/Intermediates.noindex/ArchiveIntermediates/notifeeexample/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/RNNotifee.build/Objects-normal/armv7/NotifeeCoreUtil.o /Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@notifee/react-native/ios/NotifeeCore/NotifeeCoreUtil.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNNotifee' from project 'Pods')
While building module 'React' imported from /Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@notifee/react-native/ios/RNNotifee/NotifeeApiModule.h:19:
In file included from <module-includes>:1:
In file included from /Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/platforms/ios/Pods/Target Support Files/React-Core/React-Core-umbrella.h:42:
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:35:28: warning:
pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void) openURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:35:28: note:
insert '_Nullable' if the pointer may be null
- (void) openURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:35:28: note:
insert '_Nonnull' if the pointer should never be null
- (void) openURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nonnull
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:35:43: warning:
block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void) openURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:35:43: note:
insert '_Nullable' if the block pointer may be null
- (void) openURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:35:43: note:
insert '_Nonnull' if the block pointer should never be null
- (void) openURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nonnull
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:35:82: warning:
block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void) openURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:35:82: note:
insert '_Nullable' if the block pointer may be null
- (void) openURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:35:82: note:
insert '_Nonnull' if the block pointer should never be null
- (void) openURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nonnull
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:37:31: warning:
pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void) canOpenURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:37:31: note:
insert '_Nullable' if the pointer may be null
- (void) canOpenURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:37:31: note:
insert '_Nonnull' if the pointer should never be null
- (void) canOpenURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nonnull
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:37:46: warning:
block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void) canOpenURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:37:46: note:
insert '_Nullable' if the block pointer may be null
- (void) canOpenURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:37:46: note:
insert '_Nonnull' if the block pointer should never be null
- (void) canOpenURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nonnull
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:37:85: warning:
block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void) canOpenURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:37:85: note:
insert '_Nullable' if the block pointer may be null
- (void) canOpenURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:37:85: note:
insert '_Nonnull' if the block pointer should never be null
- (void) canOpenURL:(NSString *)URL resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nonnull
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:39:74: warning:
block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void) getInitialURL:(RCTPromiseResolveBlock _Nonnull )resolve reject:(RCTPromiseRejectBlock)reject;
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:39:74: note:
insert '_Nullable' if the block pointer may be null
- (void) getInitialURL:(RCTPromiseResolveBlock _Nonnull )resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:39:74: note:
insert '_Nonnull' if the block pointer should never be null
- (void) getInitialURL:(RCTPromiseResolveBlock _Nonnull )resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nonnull
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:41:24: warning:
block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void) openSettings:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:41:24: note:
insert '_Nullable' if the block pointer may be null
- (void) openSettings:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:41:24: note:
insert '_Nonnull' if the block pointer should never be null
- (void) openSettings:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nonnull
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:41:63: warning:
block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void) openSettings:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:41:63: note:
insert '_Nullable' if the block pointer may be null
- (void) openSettings:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:41:63: note:
insert '_Nonnull' if the block pointer should never be null
- (void) openSettings:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nonnull
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:43:31: warning:
pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void) sendIntent:(NSString *)action extras:(NSArray *_Nullable)extras resolve:(RCTPromiseResolveBlock)resolve r...
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:43:31: note:
insert '_Nullable' if the pointer may be null
- (void) sendIntent:(NSString *)action extras:(NSArray *_Nullable)extras resolve:(RCTPromiseResolveBlock)resolve r...
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:43:31: note:
insert '_Nonnull' if the pointer should never be null
- (void) sendIntent:(NSString *)action extras:(NSArray *_Nullable)extras resolve:(RCTPromiseResolveBlock)resolve r...
^
_Nonnull
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:43:83: warning:
block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
- (void) sendIntent:(NSString *)action extras:(NSArray *_Nullable)extras resolve:(RCTPromiseResolveBlock)resolve r...
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:43:83: note:
insert '_Nullable' if the block pointer may be null
...sendIntent:(NSString *)action extras:(NSArray *_Nullable)extras resolve:(RCTPromiseResolveBlock)resolve reject:(RC...
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:43:83: note:
insert '_Nonnull' if the block pointer should never be null
...sendIntent:(NSString *)action extras:(NSArray *_Nullable)extras resolve:(RCTPromiseResolveBlock)resolve reject:(RC...
^
_Nonnull
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:43:122: warning:
block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
[-Wnullability-completeness]
...*)action extras:(NSArray *_Nullable)extras resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)r...
^
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:43:122: note:
insert '_Nullable' if the block pointer may be null
...extras:(NSArray *_Nullable)extras resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nullable
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@open-native/core/platforms/ios/lib_core/Libraries/LinkingIOS/RCTLinkingManager.h:43:122: note:
insert '_Nonnull' if the block pointer should never be null
...extras:(NSArray *_Nullable)extras resolve:(RCTPromiseResolveBlock)resolve reject:(RCTPromiseRejectBlock)reject;
^
_Nonnull
12 warnings generated.
12 warnings generated.
/Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/node_modules/@notifee/react-native/ios/NotifeeCore/NotifeeCoreUtil.m:680:21: warning:
incompatible pointer types initializing 'NSDictionary *' with an expression of type 'API_UNAVAILABLE(tvos)
UNNotificationSound *' [-Wincompatible-pointer-types]
NSDictionary *soundDict = content.sound;
^ ~~~~~~~~~~~~~
1 warning generated.
ld: warning: ignoring file /Volumes/Macintosh-HD-Data/personal/examples-main/notifee-example/platforms/ios/build/Debug-iphoneos/React-Core/React.framework/React, building for iOS-armv7 but attempting to link with file built for iOS-arm64
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_RCTEventEmitter", referenced from:
_OBJC_CLASS_$_NotifeeApiModule in NotifeeApiModule.o
"_OBJC_METACLASS_$_RCTEventEmitter", referenced from:
_OBJC_METACLASS_$_NotifeeApiModule in NotifeeApiModule.o
"_RCTRunningInAppExtension", referenced from:
___41-[NotifeeApiModule sendNotifeeCoreEvent:]_block_invoke in NotifeeApiModule.o
"_RCTRegisterModule", referenced from:
+[NotifeeApiModule load] in NotifeeApiModule.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
** ARCHIVE FAILED **
Unable to apply changes on device: 00008020-000308311189002E. Error is: Command xcodebuild failed with exit code 65.
Below is the "ns doctor" result
No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Xcode version 13.4.1 satisfies minimum required version 10.
✔ Getting NativeScript components versions information...
✔ Component nativescript has 8.4.0 version and is up to date.
✔ Component @nativescript/core has 8.4.7 version and is up to date.
✔ Component @nativescript/ios has 8.4.1 version and is up to date.
✔ Component @nativescript/android has 8.4.0 version and is up to date.
I just clone the example. It is working on Android but not on IOS. Below is the error. Will you please help me to fix this.
Below is the "ns doctor" result