Error Obscure Xcode: "File" myapp-SBPartialInfo.plist "cannot be opened because there is no such file."

I get the following error at the end of the assembly:

Error: Failed to read data from '/Users/myname/Library/Developer/Xcode/DerivedData/myapp-ftieubjjfkuwyrhhleghfevbhxuu/Build/Intermediates/myapp.build/Debug-iphoneos/myapp.build/myappfo.Splistial.splistial.splistial.splistial.piplist.plistial.splistial.bplial.myplfial.bpl myapp-SBPartialInfo.plist "cannot be opened because there is no such file.

The only thing I can think of is that it is the result of the fact that he interrupted the assembly about an hour ago.

I cleaned, started Xcode, rebooted my computer - none of the simple fixes work. I checked other build directories (Debug-iphonesimulator and Release-iphoneos), and none of these directories contain a file. But both the simulator and the archive are built correctly.

Xcode errors are the worst.

+6
source share
3 answers

I heard from Apple Support.

Something is wrong with one of the generated files. Here are the steps to fix it:

1) Close Xcode.

2) Open Finder and select Go> Go to Folder ...

3) Delete the DerivedData folder p>

4) Open Xcode.

5) Clean up the project

6) Build

+8
source

In my case, the problem was that somehow the Run action in my schema showed my application name without the .app extension. Editing the scheme and selecting AppName.app fixed it.

0
source

In my case, I solved this by setting the target to deploy to iOS 9.0 from iOS 8.0, since I had a UIStackView that is not supported until iOS 9.0

0
source

Source: https://habr.com/ru/post/983886/


All Articles