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

前端 未结 3 1831
有刺的猬
有刺的猬 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:26

    Check if you have duplicated the folder inside the same folder which might have duplicated the files. This was the case for me and trashing out duplicated folder fixed the issue.

    0 讨论(0)
  • 2021-02-19 04:29

    go to xcode and select Runner.app in Products folder. Then uncheck the Target Membership checkbox. This alone resolved my issue. The way veeresh kumbar mentioned above also will solve the problem it is just manual way to do so.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题