File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ class Keychain
7474 lock_after_timeout : true ,
7575 timeout : 1500
7676 )
77+ # Fix certificate access permissions
78+ Fastlane ::Actions . sh ( "security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k #{ pass } #{ name } " )
7779 end
7880end
7981
@@ -215,13 +217,6 @@ platform :ios do
215217 lane :release do
216218 kc = Keychain . new ( 'fastlane' )
217219
218- # recreate keychain
219- sh ( "security delete-keychain #{ kc . name } " , error_callback : -> ( result ) { } )
220- sh ( "security create-keychain -p #{ kc . pass } #{ kc . name } " )
221- sh ( "security set-keychain-settings -t 3600 -l #{ kc . name } " )
222- sh ( "security unlock-keychain -p #{ kc . pass } #{ kc . name } " )
223- sh ( "security list-keychains -d user -s login.keychain #{ kc . name } " )
224-
225220 match (
226221 type : 'appstore' ,
227222 readonly : true ,
@@ -231,12 +226,6 @@ platform :ios do
231226 keychain_password : kc . pass
232227 )
233228
234- # Fix certificate access permissions
235- sh ( "security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k #{ kc . pass } #{ kc . name } " )
236-
237- # Debug
238- sh ( "security find-identity -v -p codesigning #{ kc . name } " )
239-
240229 build_ios_app (
241230 scheme : 'StatusIm' ,
242231 workspace : 'ios/StatusIm.xcworkspace' ,
You can’t perform that action at this time.
0 commit comments