diff options
author | zmiao <miao.zhao@mapbox.com> | 2020-03-18 15:19:42 +0200 |
---|---|---|
committer | zmiao <miao.zhao@mapbox.com> | 2020-03-19 10:20:44 +0200 |
commit | 6989ee6e037ee4f777ee1b1aea3156696c0501dc (patch) | |
tree | 7055ced82d590d5a314dd2f3c74f4055c6f90024 /benchmark/ios | |
parent | 52f72dd8b46bf2cc57ea87b9e2d5c0ffe8b869d0 (diff) | |
download | qtlocation-mapboxgl-6989ee6e037ee4f777ee1b1aea3156696c0501dc.tar.gz |
[build] Use found code sign identities
Diffstat (limited to 'benchmark/ios')
-rwxr-xr-x | benchmark/ios/codesigning/codesign_all.sh | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/benchmark/ios/codesigning/codesign_all.sh b/benchmark/ios/codesigning/codesign_all.sh index b1e8cd849c..4c15587951 100755 --- a/benchmark/ios/codesigning/codesign_all.sh +++ b/benchmark/ios/codesigning/codesign_all.sh @@ -1,8 +1,11 @@ #!/bin/bash +identity=$(/usr/bin/env xcrun security find-identity -v -p codesigning) +var=${identity#*1)\ } +CODE_SIGN_IDENTITY=${var%\ \"Apple\ Development*} -codesign --force --sign $CODESIGNIDENTITY --entitlements codesigning/BenchmarkApp.app.xcent --timestamp=none ./Release-iphoneos/BenchmarkApp.app -codesign --force --sign $CODESIGNIDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/libXCTestSwiftSupport.dylib -codesign --force --sign $CODESIGNIDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/libXCTestBundleInject.dylib -codesign --force --sign $CODESIGNIDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/XCTAutomationSupport.framework -codesign --force --sign $CODESIGNIDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/XCTest.framework -codesign --force --sign $CODESIGNIDENTITY --deep --entitlements codesigning/BenchmarkAppTests.xctest.xcent --timestamp=none ./Release-iphoneos/BenchmarkApp.app/PlugIns/BenchmarkAppTests.xctest +codesign --force --sign $CODE_SIGN_IDENTITY --entitlements codesigning/BenchmarkApp.app.xcent --timestamp=none ./Release-iphoneos/BenchmarkApp.app +codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/libXCTestSwiftSupport.dylib +codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/libXCTestBundleInject.dylib +codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/XCTAutomationSupport.framework +codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/XCTest.framework +codesign --force --sign $CODE_SIGN_IDENTITY --deep --entitlements codesigning/BenchmarkAppTests.xctest.xcent --timestamp=none ./Release-iphoneos/BenchmarkApp.app/PlugIns/BenchmarkAppTests.xctest |