File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ require "shellwords"
2+
13default_platform ( :ios )
24
35platform :ios do
@@ -42,6 +44,19 @@ platform :ios do
4244 readonly : ENV [ "CI" ] == "true"
4345 )
4446
47+ matchProvisioningProfileMapping = lane_context [ SharedValues ::MATCH_PROVISIONING_PROFILE_MAPPING ] || { }
48+ provisioningProfileSpecifier = matchProvisioningProfileMapping [ "opfic.DevLog" ] . to_s . strip
49+
50+ UI . user_error! ( "Missing provisioning profile mapping for opfic.DevLog" ) if provisioningProfileSpecifier . empty?
51+
52+ buildAppXcargs = [
53+ "-skipPackagePluginValidation" ,
54+ "CODE_SIGN_STYLE=Manual" ,
55+ "DEVELOPMENT_TEAM=#{ ENV [ "APP_STORE_TEAM_ID" ] } " ,
56+ "CODE_SIGN_IDENTITY=#{ Shellwords . escape ( "Apple Distribution" ) } " ,
57+ "PROVISIONING_PROFILE_SPECIFIER=#{ Shellwords . escape ( provisioningProfileSpecifier ) } "
58+ ]
59+
4560 build_app (
4661 project : "DevLog.xcodeproj" ,
4762 scheme : "DevLog" ,
You can’t perform that action at this time.
0 commit comments