How to pass a keychain to the step "Check dependencies" xcodebuild

I am creating an iPhone application with iOS5 SDK and signing it from the command line and signing it with a certificate in my keychain other than the standard one. Everything works fine if I make this keyring by default, but without it it does not work in the โ€œCheck Dependenciesโ€ step, as it searches for the default key chain.

While the codesign step uses OTHER_CODE_SIGN_FLAGS , the Check Dependencies step is not performed. This may just be Apple's mistake, and you should observe these flags when checking.

  • How can I specify the key chain to search during the validation verification step?
  • Otherwise, how can I crack dependency checking?
  • Otherwise, how can I completely skip the "Check Dependencies" step?

Is this the same problem as the OTHER_CODE_SIGN_FLAGS flag keychain is ignored? , but one answer, unfortunately, does not help me; I sign during xcodebuild , not xcrun PackageApplication , so hacking this file will not solve the problem.

 $ xcodebuild -version Xcode 4.2 Build version 4C199 
+4
source share
1 answer

I did not find a solution for Xcode 4.2, but this is fixed in 4.3. Update!

+2
source

Source: https://habr.com/ru/post/1389535/


All Articles