PBXCp error … is longer than filepath buffer size (1025)

前端 未结 3 1830
有刺的猬
有刺的猬 2021-02-19 03:28

Has anybody ever faced this issue: PBXCp error ..... is longer than filepath buffer size (1025)

3条回答
  •  长发绾君心
    2021-02-19 04:32

    Yes, I got the same problem.

    Inside Build Phases-> "Copy Bundle Resources" section, a folder was nested with the project folder again (it means duplicating files).

    So xcode is trying to recursively build the product, so it can add the product itself recursively as a resource for itself.

    Remove that product( duplicate folder ) itself from "Copy Bundle Resources" section. This method solved the problem for me.

提交回复
热议问题