Repository navigation
Adjust macOS build flow - #32538
Merged
Merged
Adjust macOS build flow#32538
Conversation
- Removes SYMROOT from the Generated.xcconfig. Having it causes current versions of Xcode to switch the project's build output to "Legacy", which causes anything not overridden to use a project-relative build directory instead of a shared directory in DerivedData, breaking anything with subprojects that it depends on. This means that `flutter run` and builds from Xcode will use completely different build directories, but that each should be internally consistent. - Moves the FlutterMacOS.framework to $SRCROOT/Flutter. This is consistent with the approach we're moving to for all desktop platforms, and avoids issues finding it now that SYMROOT doesn't match for the two different build modes. Fixes flutter#32494
stuartmorgan-g
added a commit
to stuartmorgan-g/flutter-desktop-embedding
that referenced
this pull request
May 11, 2019
Updates example and testbed for the changes in flutter/flutter#32538 Also moves the non-generated xcconfigs out of Flutter/; this is inconsistent with iOS, but creates a clean separation where all of Flutter/ is generated.
jonahwilliams
approved these changes
May 11, 2019
jonahwilliams
left a comment
Contributor
There was a problem hiding this comment.
LGTM
Ahh the legacy build mode, it all makes sense! sort of..
stuartmorgan-g
pushed a commit
to google/flutter-desktop-embedding
that referenced
this pull request
May 12, 2019
Updates example and testbed for the changes in flutter/flutter#32538 Also moves the non-generated xcconfigs out of Flutter/; this is inconsistent with iOS, but creates a clean separation where all of Flutter/ is generated. Adds min Flutter version to testbed, which was missing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Removes SYMROOT from the Generated.xcconfig. Having it causes current
versions of Xcode to switch the project's build output to "Legacy",
which causes anything not overridden to use a project-relative build
directory instead of a shared directory in DerivedData, breaking
anything with subprojects that it depends on.
This means that
flutter runand builds from Xcode will usecompletely different build directories, but that each should be
internally consistent.
Moves the FlutterMacOS.framework to $SRCROOT/Flutter. This is
consistent with the approach we're moving to for all desktop
platforms, and avoids issues finding it now that SYMROOT doesn't match
for the two different build modes.
Related Issues
Fixes #32494
Tests
I added the following tests: None
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?
(Technically it's breaking for desktop, but we don't have any stability expectations for desktop yet.)