Search code examples
iosiphonereact-nativexcode13

Not able to launch my Xcode 13.4.1 generated app on my real device iPhone 13 Pro Max


I am new to iPhone app development and I want to launch my React Native iOS app on my real device but I am getting unable to install "myapp".

I have added my device UDID on appstore. I got it through https://udid.tech/

I checked the details and this is what I got:

Unable to install "myapp"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
User Info: {
    DVTErrorCreationDateKey = "2022-07-26 21:34:14 +0000";
    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
A valid provisioning profile for this executable was not found.
Domain: com.apple.dt.MobileDeviceErrorDomain

It says:

A valid provisioning profile for this executable was not found.

My Xcode 13.4.1 signing configuration looks like this:

Targets: myapp

enter image description here

Targets: myappTests

enter image description here

I followed this and many other resources but no luck.

Please help me out with this.

Thank you.


Solution

  • After a long hard struggle. I managed to make it work.

    In my scheme definition it was set to "Release".

    Goto Products > Scheme > Edit Scheme > Change to "Debug"