The executable was signed with invalid rights

So, here we are again. I already have an application in the application store that took me 2 days to overcome all the errors and just get the thing there.

Right now, I'm trying to install update 1.1 on my brother iPod Touch for testing. I clicked "Use for Development." It works great. Then I build and leave, and he says: "iPod" Dans iPod touch "does not have a provisioning profile with which the application was signed." so I click Install And Run to install the provisioning profile, and then get "The executable was signed with invalid permissions."

I will understand - all I want to do right now is to check the application on iPod Touch that is connected to the computer. How can I get through this error and do it? I have what I considered to be a valid training profile, selected in the active target and active executable program, but apparently this is not enough. Any ideas?

+6
source share
5 answers

A few simple things to try:

  • Do the cleaning in front of the building again.

  • Go to Xcode Organizer and click on all profiles, checking that they are valid. Xcode will throw out a warning text if it says something is missing in Keychain.

+5
source

Make sure your profile contains the UDID of your iPod. Verify that the certificate signed by the profile is installed in your keychain. Also make sure that the package ID in your profile and in the info.plist file match.

+2
source

Outdated provisioning profiles can often be a problem. Click on your project and your target audience, and then individually check the preparation profile for each code signing identifier (Ad Hoc, Debug, Release, etc.) by clicking on it. Please note that it may look like the right profile, but when you click on it, it appears at the bottom of the list in โ€œothersโ€. This usually means that Xcode refers to an older profile. Make sure you select the current, updated profile from the list above. It is best to verify the identity of the signature code separately to make sure.

After that, I recommend that you clear the project and remove the application from the device before starting it again.

Also, check your profile in the Organizer and make sure it has a green tick (Valid Profile) and in the Provisioning Portal to ensure that the required device is included in the profile.

+1
source

Go to the window โ†’ Organizer โ†’ Devices and then go to the tab โ€œProfiling connected devicesโ€.

Pay attention to the name of the currently active profile (there should be a green checkmark).

Click the project, then go to Project โ†’ Build Settings โ†’ Code Signing. Then copy the appropriate profile name into the Code Identification field.

Clear project

Then run the program on the device

+1
source

In one case, to solve this problem, I also had to add a provisioning profile in the iphone provisioning profiles available only on this phone from Organizer> Devices. This is strange because this device is the only one that requires this action. (Anyway, I'm new)

0
source

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


All Articles