Skip to content

fix: pass allowProvisioningUpdates to xcodebuild only when building for device #5077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 16, 2019

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Oct 15, 2019

The -allowProvisioningUpdates option is passed to xcodebuild no matter if building for device or for simulator.
According to the documentation of xcodebuild:

Allow xcodebuild to communicate with the Apple Developer website. For automatically signed targets, xcodebuild will create and update profiles, app IDs, and certificates. For manually signed targets, xcodebuild will download missing or updated provisioning profiles. Requires a developer account to have been added in Xcode's Accounts preference pane.

It seems it shouldn't be passed when building for simulator.

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

…or device

The `-allowProvisioningUpdates` option is passed to `xcodebuild` no matter if building for device or for simulator.
According to the documentation of `xcodebuild`:
```
Allow xcodebuild to communicate with the Apple Developer website. For automatically signed targets, xcodebuild will create and update profiles, app IDs, and certificates. For manually signed targets, xcodebuild will download missing or updated provisioning profiles. Requires a developer account to have been added in Xcode's Accounts preference pane.
```

It seems it shouldn't be passed when building for simulator.
@cla-bot cla-bot bot added the cla: yes label Oct 15, 2019
@Fatme Fatme added this to the 6.2.0 milestone Oct 15, 2019
@Fatme Fatme added the bug label Oct 15, 2019
@Fatme
Copy link
Contributor Author

Fatme commented Oct 15, 2019

test cli-smoke

@Fatme
Copy link
Contributor Author

Fatme commented Oct 15, 2019

test cli-device

@Fatme Fatme self-assigned this Oct 15, 2019
@Fatme
Copy link
Contributor Author

Fatme commented Oct 15, 2019

test cli-device

2 similar comments
@Fatme
Copy link
Contributor Author

Fatme commented Oct 15, 2019

test cli-device

@Fatme
Copy link
Contributor Author

Fatme commented Oct 15, 2019

test cli-device

@Fatme
Copy link
Contributor Author

Fatme commented Oct 15, 2019

test cli-device

2 similar comments
@Fatme
Copy link
Contributor Author

Fatme commented Oct 16, 2019

test cli-device

@endarova
Copy link
Contributor

test cli-device

@Fatme
Copy link
Contributor Author

Fatme commented Oct 16, 2019

I'm merging the PR as device tests are green http://nsbuild01.telerik.com:8080/build/job/pr-cli-device-osx/97/

@Fatme Fatme merged commit bd1e839 into master Oct 16, 2019
@Fatme Fatme deleted the fatme/allow-provisioning-updates branch October 16, 2019 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants