Xcode: File "XXX.entitlements" cannot be opened because there is no such file

The reason my old machine was damaged, so I copied the project to another machine and built & started it, but xcode returned an error:

warning: return to the contents of the rights file "XXX.entitlements" because it was changed during the assembly process. Modification of the rights file during the assembly process unsupported.error: The file "XXX.entitlements" cannot be opened because there is no such file.

Does anyone have any suggestions?

+17
source share
4 answers

Go to the build settings and lower the "Rights" value. enter image description here

Hope this work for you

+48

. Xcode .entitlements. : , xCode.

enter image description here

( Xcode).

+2

I added the feature and then deleted the .entitlments file and feature, but it turned out that I had to clear the code signing right in the build settings.

0
source

Is he looking for an Entitlements.plist file?

Maybe delete the bin and obj folders and try to rebuild? I am not very familiar with Xcode, but this is what I would do on Xamarin iOS.

-1
source

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


All Articles