Xcode 12 Problems: “Build input file cannot be found ”- Building for release on a react native app

后端 未结 4 1394
南旧
南旧 2020-12-21 09:08

When I try to do an archive build for "any iOS device", I receive this error:

Build input file cannot be found: \'/Users/.../Library/Developer/

4条回答
  •  -上瘾入骨i
    2020-12-21 09:43

    Build for "Any iOS Device" (for example, "Archive" because you want to upload to AppStore):

    • Delete arm64 from "Excluded Architectures"
    • Delete x86_64 from VALID_ARCHS
    • Add arm64 to VALID_ARCHS

    All this changes on both "Build Settings", project and target. And if you want to build for simulator do the inverse path:

    • Add arm64 to "Excluded Architectures"
    • Delete arm64 from VALID_ARCHS
    • Add x86_64 to VALID_ARCHS

    That works for me.

提交回复
热议问题