I am trying to launch my app on an i-pad.
I have connected my iPad to Mac and then ran the solution. I got an error saying "Failed to code sign "myAppName". None of the valid provisioning profiles include the devices: "myDeviceName". Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to recommended values and resolve issues with signing identities and provisioning profiles." with a fix issue button.
Upon clicking the fix issue button, I got another error saying - "Unable to fix code signing issue. Xcode failed to resolve the issue. Check your code signing settings; ensure you have a matching signing certificate and provisioning profile installed; and try again."
Then I tried to click on fix-issue in the Xcode->Project->General Window. enter image description here
But then got another error msg saying - "The 'In-App Purchase' feature is only available to users enrolled in Apple Developer Program. Please visit
developer.apple.com/programs/ to enroll."
enter image description here
I do not need in-app purchasing, but still I am not able to disable it. I have been stuck with this issue since few days, not able to find a workaround.
I tried revoking my apple certificate, deleting all the existing profiles and downloading them again, but nothing seems to work.
Any suggestions would be helpful.