Skip to content

Remove defaults from Apple device types and versions#9191

Closed
keith wants to merge 1 commit intobazelbuild:masterfrom
keith:ks/no-device-defaults
Closed

Remove defaults from Apple device types and versions#9191
keith wants to merge 1 commit intobazelbuild:masterfrom
keith:ks/no-device-defaults

Conversation

@keith
Copy link
Copy Markdown
Member

@keith keith commented Aug 16, 2019

These defaults are very prone to getting out of date, which makes these
fields detrimental to rule implementations. In the case of rules_apple
we'd like to make the tests default to these versions, if a version
isn't passed as part of the test target, unfortunately we cannot
differentiate between the user didn't pass a value, and these old
versions. Overall these defaults aren't very helpful because with each
Xcode update old versions no longer run on developer machines unless
they install the old simulator versions manually.

These defaults are very prone to getting out of date, which makes these
fields detrimental to rule implementations. In the case of rules_apple
we'd like to make the tests default to these versions, if a version
isn't passed as part of the test target, unfortunately we cannot
differentiate between the user didn't pass a value, and these old
versions. Overall these defaults aren't very helpful because with each
Xcode update old versions no longer run on developer machines unless
they install the old simulator versions manually.
@artem-zinnatullin
Copy link
Copy Markdown
Contributor

Sorry for being pedantic, what's the behavior with these null defaults for existing a new users?

@keith
Copy link
Copy Markdown
Member Author

keith commented Aug 16, 2019

If people are passing this flag now, there is no change, if they aren't passing this flag and running a bazel test Something then it would attempt to run on iOS 9.3 simulators, which isn't support by the newest versions of Xcode so it's unlikely anyone is doing that.

@jin jin added the z-team-Apple Deprecated. Send to rules_apple, or label team-Rules-CPP + platform:apple label Aug 16, 2019
@jin
Copy link
Copy Markdown
Member

jin commented Aug 23, 2019

Importing.

@bazel-io bazel-io closed this in 903a7b9 Aug 23, 2019
@dstiers-1109
Copy link
Copy Markdown

Thanks

@keith keith deleted the ks/no-device-defaults branch October 8, 2019 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes z-team-Apple Deprecated. Send to rules_apple, or label team-Rules-CPP + platform:apple

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants