NativeScript / NativeScript/ios

Build input file cannot be found: '.../Build/Products/Debug-iphonesimulator/metadata-arm64.bin'.

Open
#212 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
150
Forks
43
Avg merge
3d 10h
Merged PRs (30d)
22

Description

Hello,

I'm trying to deploy my NativeScript application with XCode 14 and a M1 MacBook Pro.

When trying to build my project, I get the following error :

Build input file cannot be found: 'path to Derived Data/My Projet/Build/Products/Debug-iphonesimulator/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 already tried the following solution with no result :

1/ Change workspace setting > Build location > Custom & relative to workspace
2/ Go to "build phase" then "prebuild nativescript" then add the name of directory&file required in "output files" (for me /my_project/platforms/ios/build/..../arm64 etc...).

I updated my NativeScript/ios version to the latest one.

I can't downgrade my XCode version.

Do you have any idea how to resolve this ?

Thank you.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Xcode 14 build on an M1 Mac and inspect the “prebuild nativescript” build phase that should produce metadata-arm64.bin under Derived Data/Build/Products/Debug-iphonesimulator. Verify how the build input path is generated and whether the file is produced; done means the project builds without the missing-input error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.