Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code Signing Error: No profiles for app were found. How to solve?

Check dependencies Code Signing Error: No profiles for 'com.app528054' were found:
Xcode couldn't find any iOS App Development provisioning profiles matching 'com.app528054'. Automatic signing is disabled and unable to generate a profile.

To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.1'

I don't get this error. I can build the app via xCode and I don't get any errors, except for the fact that I can't see my code changes in the app (as it's probably not synchronized because of the error above).

When I try ionic cordova build ios, though, it gives me this stacktrace.

I have signed the app with my Apple Developer account and thus that shouldn't be the problem.

Where can I match the profile of the app? How do I solve this?

like image 544
Siyah Avatar asked Nov 06 '17 15:11

Siyah


People also ask

How do I fix failed to create a provisioning profile?

3. How To Fix Xcode Failed To Create Provisioning Profile Error. To fix this error is very easy, just connect your real iOS device such as iPhone to the Mac computer with a USB line, follow the popup screen on the iPhone, then you can select your iOS device in the Set the active scheme drop down list.

What is iOS code signing?

Mandatory code signingTo help ensure that all apps come from a known and approved source and haven't been tampered with, iOS and iPadOS require that all executable code be signed using an Apple-issued certificate. Apps provided with the device, like Mail and Safari, are signed by Apple.

What is a provisioning profile and code signing in iOS?

Apple's definition: A provisioning profile is a collection of digital entities that uniquely ties developers and devices to an authorized iPhone Development Team and enables a device to be used for testing.


1 Answers

I'm getting this very same error on the cordova build ios every time my iPhone is plugged in at that Mac I'm running the command.

The iPhone will appear under Devices and Simulators in Xcode and apparently during the build its checked if u have a valid provisioning profile for that device.

Unplugging the iPhone and the error is gone. Hope that helps someone.

like image 77
Mani Avatar answered Sep 16 '22 18:09

Mani