Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode ios app development code signing

When I run my app into my iphone I have this Warning:

unable to build chain to self-signed root for signer "".

My application Installed in iphone but it closed suddenly.

like image 882
Elam parithi Avatar asked Nov 15 '17 12:11

Elam parithi


People also ask

What is the purpose of code signing in Xcode?

Code signing your app assures users that it's from a known source and hasn't been modified since it was last signed. Before your app can integrate app services, be installed on a device, or be submitted to the App Store, it must be signed with a certificate issued by Apple.

Where is Code Signing Identity in Xcode?

Select your Apple ID and your team from the right side bar, then click on View Details…. A dialog will appear where you will see your code signing identities and the provisioning profiles. Under the signing identities locate the iOS Development and iOS Distribution profiles.

How are iOS apps signed?

How developers sign their apps. Developers can sign their apps through certificate validation (through the Apple Developer Program). They can also embed frameworks inside their apps and have that code validated with an Apple-issued certificate (through a team identifier string).


1 Answers

In my case,

1- Open Keychain Access

2- Select login, and click Certificates

3- Double click Apple Worldwide Developer Relations Certificate Authority

4- Open trust section, and set to "Use System Defaults" from "Always Trust"

5- Clean build folder and run

like image 99
Mahmut Şahin Avatar answered Oct 01 '22 00:10

Mahmut Şahin