I still get "The executable was signed with invalid rights." error

I followed your steps and added the Entitlements.plist file to my project. I also added a get-task-allow field and set it to boolean and unchecked. I am going to create my application and I still get the error message:

The rights specified in your applications The code signature signature file does not match those specified in the security profile.

(0xE8008016).

can someone help me?

thanks

+3
source share
5 answers

Remove Entitlements.plist from your project, and then try to clean and build the project.

This is because the distribution provisioning profile that you may have added to the code signing is invalid or expired.

Hope this helps you.

+3
source

After installing xCode 4, I had this problem this morning with iPhone 4.2.1, which I last worked with before I updated xCode.

After I stumbled a bit, I received an error message by clicking the update button for a device in Organizer - Devices.

Go to "Devices" in the "Organizer", then select "Provisioning Profiles", then select the device and click the "Update Provisioning Refresh Device" button at the bottom of the page.

Worked for me.

0
source

Sometimes, even if you add the Entitlements.plist file, you may receive the same error message.

Get your device number unique identifier . Then open the initialization file that you created for your project in Text Editing and check its device identifier. If it is not found, this may be one problem for receiving the error message.

0
source

When you submitted to the AppStore, you changed the Sign Signing values, so now, if you want to continue development, you need to return them.

The following steps fixed it for me: - Click on the name of your project in the PROJECT section (just above OBJECTIVES) - Select the "Build Settings" tab - In the "Sign Code" section, change the "Debug" and "Release" values ​​to "iPhone Developer" instead IPhone Distribution

0
source

I have an exact error when I open a project written on another machine with a different profile.

So here is how I fix it: suppose my profile is DevelopmentProfile.mobileprovision , I copy this file to a directory and run this command:

security cms -D -i DevelopmentProfile.mobileprovision | grep -A12 "Entitlements"

Then I copy the XML output and paste it into a file called Entitlements.plist , put it in the project directory.

Then, in the assembly / code signing settings, you can select the corresponding DevelopmentProfile.mobileprovision compliance identifier.

This should solve the problem.

0
source

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


All Articles