Code Sign error: The identity ‘iPhone Developer: x Xxxxx’ doesn’t match any identity in any profile

Right Click the Project (eg. x.xcodeproject) and select Show Package Content Open project.pbxproj with TextEdit Search for all “CODE_SIGN_IDENTITY[sdk=iphoneos*]” and set it to “CODE_SIGN_IDENTITY[sdk=iphonesos*]” = “iPhone Developer”; Search for “PROVISIONING_PROFILE[sdk=iphoneos*]” and set it to “PROVISIONING_PROFILE[sdk=iphoneos*]” = “”; Save the file Reopen the Xcode project or select “Read from Disk” resulting from Xcode the prompt. This … Read more

“Warning: unable to build chain to self-signed root for signer” warning in Xcode 9.2

If none of the other solutions work, try adding the intermediate signing certificates to your system keychain. I found this while trying to manually create provisioning profile/certificates as nothing else was working – from the Create a New Certificate step of the New Provisioning Profile process on Apple Developer platform: To use your certificates, you … Read more

Strong Name Validation Failed

Open the command prompt as administrator and enter following commands: reg DELETE “HKLM\Software\Microsoft\StrongName\Verification” /f reg ADD “HKLM\Software\Microsoft\StrongName\Verification\*,*” /f reg DELETE “HKLM\Software\Wow6432Node\Microsoft\StrongName\Verification” /f reg ADD “HKLM\Software\Wow6432Node\Microsoft\StrongName\Verification\*,*” /f

Signing product flavors with gradle

You can declare signing config for each flavor in buildType. Here is my gradle file for release signing flavors with different keystores. android { signingConfigs { configFirst { keyAlias ‘alias’ keyPassword ‘password’ storeFile file(‘first.keystore’) storePassword ‘password’ } configSecond { keyAlias ‘alias’ keyPassword ‘password’ storeFile file(‘second.keystore’) storePassword ‘password’ } } compileSdkVersion 23 buildToolsVersion “23.0.2” defaultConfig { … Read more