Trying to build .iOS in Xamarin using Build/Iphone. Getting this error so it won't build.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(3,3): Error: /usr/bin/codesign exited with code 1 (AnimalGames.iOS) /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(3,3): Error: Failed to codesign 'bin/iPhone/Release/AnimalGames.iOS.app': Warning: unable to build chain to self-signed root for signer "Apple Distribution: Bruce Krueger (S7PPS4GQZT)" /Users/gamesbypapa/Documents/AnimalGames/AnimalGames/AnimalGames/AnimalGames.iOS/bin/iPhone/Release/AnimalGames.iOS.app: errSecInternalComponent
(AnimalGames.iOS)
There are two common causes of this:
-
A missing intermediate certificate
-
Customised trust settings
For the first, see Developer > Support > Apple Worldwide Developer Relations Intermediate Certificate. If you are missing the intermediate, you can get it from the Apple PKI page.
For the second, run Keychain Access and find all the certificates in the chain from the leaf (Apple Distribution: Bruce Krueger (S7PPS4GQZT)
) to the root. For each one:
-
Double click the certificate to open it in a window.
-
Disclose the Trust section.
-
Make sure that all the popups are set to their default values (Use System defaults for the first, “no value specified” for the rest).
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"