1

enter image description hereI am trying to run my application on my iPhone and receiving the following error. It is working fine on Simulator and release builds are also getting built.

error build: Build input file cannot be found: '/Users/mdjavedakhtar/Library/Developer/Xcode/DerivedData/baa-ejkeyxidrdwrgyctzidcxyrfemfc/Build/Products/Debug-iphoneos/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

Md Javed Akhtar
  • 81
  • 1
  • 12
  • https://github.com/OneSignal/react-native-onesignal/issues/1446#issuecomment-1361554645 check this one, haven't tried anything from my end yet. – Md Javed Akhtar Dec 22 '22 at 05:33

2 Answers2

0

Faced with the same issue after updating macOS to 13.2 and Xcode 14.2. Deleting of the project and cloning repo with install whole the project again helped me.

Amv
  • 1
  • 1
0

In my case removing arm64 value from Excluded Architectures > Debug solved the problem. (+ it should be removed from all targets including OnesignalNotificationService)

enter image description here

Md Javed Akhtar
  • 81
  • 1
  • 12