Post

Replies

Boosts

Views

Activity

Xcode build failure
On Xcode when I try to build/run, I get 'React/RCTEventEmitter.h' file not found. The same works when I use yarn ios --simulator <>. I tried installing the latest version of Xcode, still same problem. I have Xcode 16.1 now. Showing Recent Messages ScanDependencies /Users/sunnalla/Library/Developer/Xcode/DerivedData/oceanmobileapp-fqewvpyrkyjkudecrdfhqvtadmcl/Build/Intermediates.noindex/PushNotificationIOS.build/Debug-iphonesimulator/RNCPushNotificationIOS.build/Objects-normal/arm64/RNCPushNotificationIOS.o /Users/sunnalla/Documents/Ocean/oma_obs_sub/src/node_modules/@react-native-community/push-notification-ios/ios/RNCPushNotificationIOS.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNCPushNotificationIOS' from project 'PushNotificationIOS') cd /Users/sunnalla/Documents/Ocean/oma_obs_sub/src/node_modules/@react-native-community/push-notification-ios/ios Using response file: /Users/sunnalla/Library/Developer/Xcode/DerivedData/oceanmobileapp-fqewvpyrkyjkudecrdfhqvtadmcl/Build/Intermediates.noindex/PushNotificationIOS.build/Debug-iphonesimulator/RNCPushNotificationIOS.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp builtin-ScanDependencies -o /Users/sunnalla/Library/Developer/Xcode/DerivedData/oceanmobileapp-fqewvpyrkyjkudecrdfhqvtadmcl/Build/Intermediates.noindex/PushNotificationIOS.build/Debug-iphonesimulator/RNCPushNotificationIOS.build/Objects-normal/arm64/RNCPushNotificationIOS.o.scan -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /Users/sunnalla/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator18.1-22B74-3d93aac3a03ebac1dd8474c5def773dc.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/sunnalla/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/sunnalla/Library/Developer/Xcode/DerivedData/oceanmobileapp-fqewvpyrkyjkudecrdfhqvtadmcl/Index.noindex/DataStore @/Users/sunnalla/Library/Developer/Xcode/DerivedData/oceanmobileapp-fqewvpyrkyjkudecrdfhqvtadmcl/Build/Intermediates.noindex/PushNotificationIOS.build/Debug-iphonesimulator/RNCPushNotificationIOS.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/sunnalla/Library/Developer/Xcode/DerivedData/oceanmobileapp-fqewvpyrkyjkudecrdfhqvtadmcl/Build/Intermediates.noindex/PushNotificationIOS.build/Debug-iphonesimulator/RNCPushNotificationIOS.build/Objects-normal/arm64/RNCPushNotificationIOS.d --serialize-diagnostics /Users/sunnalla/Library/Developer/Xcode/DerivedData/oceanmobileapp-fqewvpyrkyjkudecrdfhqvtadmcl/Build/Intermediates.noindex/PushNotificationIOS.build/Debug-iphonesimulator/RNCPushNotificationIOS.build/Objects-normal/arm64/RNCPushNotificationIOS.dia -c /Users/sunnalla/Documents/Ocean/oma_obs_sub/src/node_modules/@react-native-community/push-notification-ios/ios/RNCPushNotificationIOS.m -o /Users/sunnalla/Library/Developer/Xcode/DerivedData/oceanmobileapp-fqewvpyrkyjkudecrdfhqvtadmcl/Build/Intermediates.noindex/PushNotificationIOS.build/Debug-iphonesimulator/RNCPushNotificationIOS.build/Objects-normal/arm64/RNCPushNotificationIOS.o -index-unit-output-path /PushNotificationIOS.build/Debug-iphonesimulator/RNCPushNotificationIOS.build/Objects-normal/arm64/RNCPushNotificationIOS.o /Users/sunnalla/Documents/Ocean/oma_obs_sub/src/node_modules/@react-native-community/push-notification-ios/ios/RNCPushNotificationIOS.h:8:9: error: 'React/RCTEventEmitter.h' file not found (in target 'RNCPushNotificationIOS' from project 'PushNotificationIOS') /Users/sunnalla/Documents/Ocean/oma_obs_sub/src/node_modules/@react-native-community/push-notification-ios/ios/RNCPushNotificationIOS.m:8:9: note: in file included from /Users/sunnalla/Documents/Ocean/oma_obs_sub/src/node_modules/@react-native-community/push-notification-ios/ios/RNCPushNotificationIOS.m:8: /Users/sunnalla/Documents/Ocean/oma_obs_sub/src/node_modules/@react-native-community/push-notification-ios/ios/RNCPushNotificationIOS.h:8:9: 'React/RCTEventEmitter.h' file not found
1
0
156
4w