yukiarrr/ios-build-action

Warning: unable to build chain to self-signed root for signer

Closed this issue · 2 comments

Hello, i'm running self hosted macOS runner in Vmware and getting error.

It works on GitHub hosted runners but not on self hosted and i don't know where exactly i need to look for to fix.

Code Signing /Users/githubci/Library/Developer/Xcode/DerivedData/****-abbcrqynhbaxnaeeyniwmqmqnujh/Build/Intermediates.noindex/ArchiveIntermediates/****/InstallationBuildProductsLocation/Applications/****.app/Frameworks/hermes.framework with Identity iPhone Distribution: ****
/usr/bin/codesign --force --sign FAA7FA6CB418FCA5988FBD8D7D36C869ADA29934  --preserve-metadata=identifier,entitlements '/Users/githubci/Library/Developer/Xcode/DerivedData/****-abbcrqynhbaxnaeeyniwmqmqnujh/Build/Intermediates.noindex/ArchiveIntermediates/****/InstallationBuildProductsLocation/Applications/****.app/Frameworks/hermes.framework'
Warning: unable to build chain to self-signed root for signer "iPhone Distribution: ****"
/Users/githubci/Library/Developer/Xcode/DerivedData/****-abbcrqynhbaxnaeeyniwmqmqnujh/Build/Intermediates.noindex/ArchiveIntermediates/****/InstallationBuildProductsLocation/Applications/****.app/Frameworks/hermes.framework: errSecInternalComponent
Command PhaseScriptExecution failed with a nonzero exit code

Apple has updated Developer Relations Intermediate Certificate. Just download the certificate from here and install it. If the it doesn't works have a look on https://developer.apple.com/support/expiration/

Install the cert file on your build machine

@qs-wang Thank you so much, it worked.