skip to Main Content

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?

2

Answers


  1. Chosen as BEST ANSWER

    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


  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search