A valid provisioning profile for this executable was not found when trying to run my application on the device

I hit my head about it during the day, I downloaded the application to the apple store a few days ago, it was rejected. I made changes and now I want to test the application on my phone again, every time I do this, I get a strange message that there is no valid training profile. I am new to iOS.

I checked various googled related questions and everything is set up as explained. Why is this a strange mistake.

By clicking on the window> organizer, I see both my current profile and my iPhone with a green signal. I wonder where the problem is! Any help?

+6
source share
6 answers

To test the application on your device, you need to follow these steps:

enter image description here

enter image description here

  • After adding the device UDID, you need to create a preliminary developer creation profile and select the entire device.

  • Download the created preliminary developer profile and install as usual.

  • In the Xcode setup, fix the Bundel Identifire that you install in the pre-developer profile (com.xyz.devTesting)

  • Setting the code sign from target-->build phase-->code sign Select the developer who should appear in the list.

Now everything is installed and connected to the device using xcode and a project is launched that should run on your device.

+8
source

+1 hit your head against the wall for a day or two ...

Also check this parameter:

Build Settings β†’ Code Signature β†’ Preparation Profile

What worked for me was to set it to β€œAutomatic” after the following steps: No valid preparation profile for this executable file was found ... (again)

+5
source

Check your build settings. There is a Code Signing Identity option. You must complete it with an iPhone Developer Certificate and a provisioning profile. Development

+1
source

I suddenly started getting this msg when I tried to run my application on the iPhone (using Xcode 7.2). This was not the case before. After several unsuccessful hours of trying various solutions on the forums, I began to make a difference with my original repository.

In my case, it turned out that some, like the product identifier, were replaced by $ {PRODUCT_BUNDLE_IDENTIFIER} in the .plist project file. I changed this to the actual package id string and the problem went away.

+1
source

I started getting this problem after changing the Team ID and Bundle ID of my application. After reading all these similar problems on SO for this and not finding a solution that worked for me, I finally stumbled on what was wrong:

The signature of the target application was configured correctly, but the test purpose was not.

After changing the Team ID and Bundle ID, I did not try to run the tests. As soon as I fixed it (Xcode showed an error on the Target> General> Signing screen), the application and test targets started on my phone.

+1
source

I have worked in this cycle before, with resetting / reissuing certificates and profiles. Please note that some information is cached.

If you get an endless loop about valid provisioning profiles, make sure you have done CLEAN build after the changes.

https://developer.apple.com/library/ios/technotes/tn2319/_index.html#//apple_ref/doc/uid/DTS40013778-CH1-INSTALLPROFILE

0
source

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


All Articles