Home > Software design >  Xcode error Build input file cannot be found metadata-arm64
Xcode error Build input file cannot be found metadata-arm64

Time:10-01

I developed an application with nativescript, for mobiles and now I am trying to build the IPA file for the release. Right now I am facing an issue that I can't solve, I try to launch "build" form Xcode panel but I always get this error :

"Build input file cannot be found: '/Users/username/Documents/name_of_app/tuto-app/platforms/ios/Build/Products/Debug-iphoneos/metadata-arm64.bin'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?"

I tried ns run ios it works fine on simulator, I also tried ns build ios but I get the same error.

I work with Xcode version : 12 recently updated.

I tried workspace setting > build mode > legacy but I have an error that says "unable to create directory"

Has anyone faced this problem ? Have you any solution or workaround ?

Thanks a lot.

CodePudding user response:

I found the solution :

1/ I change workspace setting : build location => relative to workspace.

2/ I go to : build phase > pre build nativescript and then add one or more "output files" according to the errors in the previous build.

Hope this could help !

  • Related