When I try to build with Xcode 9.3.1, I get a PBXCp Error.

Asked 1 years ago, Updated 1 years ago, 78 views

The error details are as follows. Does it mean that I can't find the file because it says No such file or directory at the end?

CpResource Meditation\Timer/Meditation\Timer/Users/hogehoge/Library/Developer/Xcode/DerivedData/Meditation_Timer-bspafxtlmrawwbfuccslzyslqp/Build/Products/Debug-iphonesimulator/Timer\Mited\Mission
cd "/Users/hogehoge/Amazon Drive/Meditation Timer"
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:"
buildtin-copy-exclude.DS_Store-exclude CVS-exclude.svn-exclude.git-exclude.hg-resolve-src-symlinks/Users/hogehoge/Amazon\Drive/Meditation\Timer/Meditation\Timer/Meditation\Timer/Users/hobby/Diver/Diver/Diver/Diver/Diver/Diver/Diver/Diver/Diver/Diver/Diver/Diver/Diver

error: /Users/hogehoge/Amazon Drive/Meditation Timer/Meditation Timer:No such file or directory

Also, there are three solutions we have tried so far:
1:Deleted data I entered the file from the menu bar of Xcode→file→project as setting and deleted everything.
2: Xcode menu bar→Product→cleanbuild folder
3: Check Copy Bundle Resources → There were no failed files here.

The above three methods still fail to build and cause errors.

※ error: /Users/hogehoge/Amazon Drive/Meditation Timer/Meditation Timer: No such file or directory

It may be strange that the Meditation Timer is repeated three times here.I checked why this happened, but I still don't know.

Please tell me how to solve this problem.Thank you for your cooperation.

ios xcode

2022-09-30 21:32

1 Answers

If you select the top blue project icon in the Project Viewer on the left side of the Xcode source, the part where the source code was displayed changes to the project configuration screen.

I think there is a part called TARGETS on the left, so please click on the application you want to create.

After selecting an application, click Build Phases to the slightly right of the top center of the adjacent pane.

I think there is a ▲ called Copy Bundle Resource at the bottom, so please expand here to see if there are any red files.

If there is a file that is red, I think it is an error because it does not exist.


2022-09-30 21:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.