mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-23 20:31:17 +08:00
search through all keychains
This commit is contained in:
@@ -114,7 +114,7 @@ DATA
|
||||
|
||||
def codesign_certificate
|
||||
@codesign_certificate ||= begin
|
||||
certs = `/usr/bin/security -q find-certificate`.scan(/"iPhone Developer: [^"]+"/).uniq
|
||||
certs = `/usr/bin/security -q find-certificate -a`.scan(/"iPhone Developer: [^"]+"/).uniq
|
||||
if certs.size == 0
|
||||
$stderr.puts "can't find any iPhone Developer certificate in the keychain"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user