I’m seeing that builds generated by the “Xcode build for simulator” step cannot access Keychain. Any operations using the Security framework fail with the following error:
... copy_matching Error Domain=NSOSStatusErrorDomain Code=-34018 "Client has neither application-identifier nor keychain-access-groups entitlements" UserInfo={numberOfErrorsDeep=0, NSDescription=Client has neither application-identifier nor keychain-access-groups entitlements}
My entitlements file does in fact have both of those entitlements. I am wondering if this is potentially caused by this line in the step:
// Disable the code signing for simulator build
xcodeBuildCmd.SetDisableCodesign(true)
If code signing is disabled, are entitlements included with the build? Don’t you have to use AdHoc signing here?