-
Notifications
You must be signed in to change notification settings - Fork 139
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
Setting --apple_platform_type=ios
no longer sets APPLE_PLATFORM_SDK
#897
Comments
I think we're seeing the same bug. |
Are you not passing |
#899 should address this, but I'm really not sure if we need to derive a default cpu from the platform type. |
Right, we aren't setting the cpu. If cpu should be explicit to change to iOS that's probably fine, just a change in behavior from before. |
I think before that change, if you don't set |
Tested on f805ee0:
Then on 2546e60
Acknowledging that might have been unexpected behavior before, but it is something our developers had gotten used to using to quick build |
Ah sorry I was testing a |
Closing this since it looks like an |
More discussion about this on bazelbuild/rules_apple#1811 as well. As far as it relates to this I think even before that change that broke this, you wouldn't have shared caches with the library and when you built the library as a transitive of an app or test? If that's true maybe it's good that it stopped working since that in itself is surprising 🤔 |
Right, caches weren't shared. Devs had been used to using this flag in a pinch to have, to put it simply, their basic command-line builds resolve errors finding UIKit. I know the "answer" is to have them build something that provides the transition, our devs had been used to fixing this on the fly using that papercut. |
If setting
--apple_platform_type=ios
on aswift_library
target, theAPPLE_PLATFORM_SDK
is still passingMacOSX
Repros after #858
The text was updated successfully, but these errors were encountered: