Browse Source

codesigning

Josh Engebretson 10 years ago
parent
commit
de1a9b3781
1 changed files with 2 additions and 3 deletions
  1. 2 3
      Rakefile

+ 2 - 3
Rakefile

@@ -79,10 +79,9 @@ namespace :build  do
       Dir.chdir(CMAKE_IOS_BUILD_FOLDER) do
         sh "#{JSBIND_BIN_MACOSX} #{$RAKE_ROOT} IOS"
         sh "cmake -DIOS=1 -DCMAKE_BUILD_TYPE=Release -G Xcode ../../"
-        sh "KEYCHAIN=/Users/jenkins/Library/Keychains/codesign.keychain"
         # the -s option adds $KEYCHAIN to the search scope, while the -d option adds $KEYCHAIN to the system domain; both are needed
-        sh "security -v list-keychains -d system -s $KEYCHAIN"
-        sh "security -v unlock-keychain $KEYCHAIN"
+        sh "security -v list-keychains -d system -s /Users/jenkins/Library/Keychains/codesign.keychain"
+        sh "security -v unlock-keychain /Users/jenkins/Library/Keychains/codesign.keychain"
         sh "xcodebuild -configuration Release"
       end