It seems the comment does not support markdown, I will reply below.
~~It was still failed. In fact the original issue was exactly SecKeychainCopyDefault failed when I run xcodebuild test.
However, if I ran default-keychain directly in the terminal, it can correctly return the default keychain. Therefore, I'm thinking if that is an issue with xcode setup on the CI host. Would I need to do a code-sign for xcode build? ~~
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: