Xcode 10: A valid provisioning profile for this executable was not found
I was struggling with this today, it was super frustrating. For now, just go into "File"
> "Project Settings..."
(or in some cases "Workspace Settings..."
) and then select "Legacy Build System"
from the "Build System"
dropdown.
Xcode 10: A valid provisioning profile for this executable was not found
I was struggling with this today, it was super frustrating. For now, just go into "File"
> "Project Settings..."
(or in some cases "Workspace Settings..."
) and then select "Legacy Build System"
from the "Build System"
dropdown.
A valid provisioning profile for this executable was not found for debug mode
Finally i could solve the problem. One of my colleagues has revoked the developer certificate at iOS Provisioning Portal for his test apps. for fixing; i removed the existing developer certificate at my keychain, requested a new certificate with the existing private key, revoked the certificate from provisioning portal and submitted the newly requested certificate.then i downloaded and installed it.
now i can debug my app on my device :)
Error: A valid provisioning profile for this executable was not found
Try these things:
- Make sure you're running the correct target and scheme
- Make sure you set the profile for the target/scheme that you're trying to run
- Make sure that you selected a development profile and are trying to run it in development/debug mode
- Verify in the Keychain Assistant that you have the development certificate and private key installed correctly
- Restart Xcode
I can offer you more specific help if you post screenshots of the actual build settings page and the target/scheme you are trying to run. (Black out sensitive information.)
A valid provisioning profile for this executable was not found for Xamarin.Forms iOS RELEASE build to an iPhone Device
I simply had to use a Distribution Profile of type Ad Hoc
. The Distribution Profile the app was using was of type App Store
as it was what was needed to create a build archive for Test Flight.
I do wish the error message had been more informative and less generic. Multiple types of issues seem to result in the same error message.
Useful References:
- This provides useful info about using the Device Log and debugging Entitlements that helped me start getting somewhere. My custom Entitlements and enabled Capabilities for the Bundle Identifier matched, so I couldn't figure out what else to try initially. The Device Log gave me no info, but taking out the Entitlements file worked, and it went from there.
- This reassured me that my one custom entitlement that's different between Debug and Release mode,
APS Environment
, is using the correct value of "production" even though it was causing the installation to fail with the (then App Store) Distribution Profile. - This provides detailed explanation on each Provisioning Profile Type.
Related Topics
Swift - How to Save Memory Using Alamofireimage/Imageshack
Z-Index Issue on iOS Safari & Chrome
Implementing Fast and Efficient Core Data Import on iOS 5
Disable Autolayout Constraint Error Messages in Debug Console Output in Xcode
Uiscrollview with Centered Uiimageview, Like Photos App
Upload Image to the PHP Server from iOS
Missing Push Notification Entitlement Warning
Uikeyboardframebeginuserinfokey & Uikeyboardframeenduserinfokey
Uitableview with Two Custom Cells (Multiple Identifiers)
Why Can't I Force Landscape Orientation When Use Uinavigationcontroller
Notificationcenter Issue on Swift 3
Linking Objective-C Categories in a Static Library
Get the Current View Controller from the App Delegate
How to Set Imageview in Circle Like Imagecontacts in Swift Correctly
"Your Binary Is Not Optimized for iPhone 5" (Itms-90096) When Submitting