Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Conversation

@xster
Copy link
Member

@xster xster commented Aug 13, 2020

Fixes flutter/flutter#63613

Ran into it to debug flutter/flutter#60013

@xster xster requested a review from jmagman August 13, 2020 00:21
else:
sdk_dir = os.path.join(out.rstrip(), 'SDKs')
sdks = [re.findall('^MacOSX(10\.\d+)\.sdk$', s) for s in os.listdir(sdk_dir)]
sdks = [re.findall('^MacOSX(1[0|1]\.\d+)\.sdk$', s) for s in os.listdir(sdk_dir)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it MacOSX10.16.sdk?

Copy link
Member Author

@xster xster Aug 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, we're going for 11 next https://en.wikipedia.org/wiki/MacOS_Big_Sur :D

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But the SDK is 10.16 https://appleinsider.com/inside/macos-10.16

drwxr-xr-x  5 magder  primarygroup  160 Jun 29 16:01 DriverKit20.0.sdk
drwxr-xr-x  7 magder  primarygroup  224 Jun 29 16:01 MacOSX.sdk
lrwxr-xr-x  1 magder  primarygroup   10 Jul  8 13:45 MacOSX10.16.sdk -> MacOSX.sdk

Copy link
Member Author

@xster xster Aug 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh, interesting. There's some nuanced stuff going on... I'm getting

ll /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/                                                                                                                
total 0
drwxr-xr-x  5 xster  staff   160B Jul 30 05:11 DriverKit20.0.sdk/
drwxr-xr-x  7 xster  staff   224B Jul 30 05:11 MacOSX.sdk/
lrwxr-xr-x  1 xster  staff    10B Aug 11 13:11 MacOSX11.0.sdk@ -> MacOSX.sdk

Which beta version you on? I'm on 4

Copy link
Member Author

@xster xster Aug 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't find any other discussions about this... https://developer.apple.com/documentation/xcode-release-notes/xcode-12-beta-release-notes says Xcode 12 beta 4 includes SDKs for iOS 14, iPadOS 14, tvOS 14, watchOS 7, and macOS 11 and nothing for beta 3. But macOS 11 here could also just be referencing the marketing term...

Would love to see what you get on Xcode 12 beta 4. I'm assuming you're not currently since Jul 8 is a bit older.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was on beta 2. You're right, it's MacOSX11.0.sdk on beta 4!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah cool, good to know. Either way, this should handle 10.16 or 11.0.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we uses ^MacOSX\d+.*\.sdk$ so we don't need to do this again next year? It looks like it's trying to not match MacOSX.sdk

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's be conservative. I think it's not a bad thing for someone to come back and potentially touch this file again in case macos does decide to keep going up a major version every year.

Copy link
Member

@jmagman jmagman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xster xster merged commit 0d0183a into flutter:master Aug 15, 2020
@xster xster deleted the mac11 branch August 15, 2020 06:14
chinmaygarde pushed a commit to chinmaygarde/flutter_buildroot that referenced this pull request May 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Engine doesn't build in Xcode 12

2 participants