Add Apple Silicon add-to-app iOS project setup instructions#5174
Merged
jmagman merged 1 commit intoflutter:masterfrom Jan 12, 2021
jmagman:a2a-host-arm
Merged
Add Apple Silicon add-to-app iOS project setup instructions#5174jmagman merged 1 commit intoflutter:masterfrom jmagman:a2a-host-arm
jmagman merged 1 commit intoflutter:masterfrom
jmagman:a2a-host-arm
Conversation
This was referenced Jan 12, 2021
jmagman
commented
Jan 12, 2021
Comment on lines
+421
to
+424
| In your host app target, find the **Excluded Architectures** (`EXCLUDED_ARCHS`) build setting. | ||
| Click the right arrow disclosure indicator icon to expand the available build configurations. | ||
| Hover over **Debug** and click the plus icon. Change **Any SDK** to **Any iOS Simulator SDK**. | ||
| Add `arm64` to the build settings value. |
Member
Author
There was a problem hiding this comment.
This UI in Xcode is just complicated. Let me know if you have suggestions to make it clearer.
xster
approved these changes
Jan 12, 2021
| </ol> | ||
|
|
||
| ## Apple Silicon (`arm64` Macs) | ||
|
|
Member
There was a problem hiding this comment.
Do we need to mention any Flutter framework version or it doesn't matter?
Member
Author
There was a problem hiding this comment.
Nope, this would be needed for any version since none of them support arm64 simulators.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add instructions for how to run iOS add-to-app host apps on Apple Silicon devices by explicitly excluding arm64 from the valid archs to run.
All add-to-app hosts will need to do this until flutter/flutter#64502 and friends are complete.
User confusion at flutter/flutter#71959
Sample code PR: flutter/samples#646