Skip to content

Commit

Permalink
Merge pull request #289 from DeployGate/work/support_ios_workspace
Browse files Browse the repository at this point in the history
Support for Cocoapods workspace
  • Loading branch information
henteko authored Oct 30, 2020
2 parents 7b495cc + 2029500 commit b64cd93
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/deploygate/xcode/ios.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,16 @@ def build(ios_analyze,

values = {
export_method: export_method,
project: ios_analyze.xcodeproj,
configuration: build_configuration || DeployGate::Xcode::Analyze::DEFAULT_BUILD_CONFIGURATION,
scheme: target_scheme
}

if ios_analyze.build_workspace
values[:workspace] = ios_analyze.build_workspace
else
values[:project] = ios_analyze.xcodeproj
end

values[:codesigning_identity] = codesigning_identity if codesigning_identity
if allow_provisioning_updates
values[:xcargs] = '-allowProvisioningUpdates'
Expand Down

0 comments on commit b64cd93

Please sign in to comment.