Weird that suddenly I get "A valid provisioning profile for this executable was not found" in Xcode 10. Though the build is successful it fails to run on physical devices. Does anyone face the same problem after updating Xcode to v10?
I have valid Enterprise licence for App development.
Issue:
1. Update installed in Xcode late night yesterday
2. Created archieve file (IPA) using distribution profile & certificates
3. No issue in IPA installation & usage
4. Tried to change the signing to developers profile for debugging
5. Build successful
6. When tried to run on physical testing device, I get installation error "A valid provisioning profile for this executable was not found"
Steps tried:
- My testing device available in the team
- Recreated all the certificates
- Recreated profiles
- Installed cerificates, profiles on my mac
- Cleared all the provision profiles from my testing device & installed the new one
- Clean build successfully
- Run failed with message "A valid provisioning profile for this executable was not found"
Solution Found:
1. To change Build System "Legacy Build System" under workspace settings
2. This change worked and I was able to run the app on my testing devices
My Question:
Why should I change build system if "New Build System" was successful before the update?