-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Document manual Xcode project migration to support Xcode 11.4 #3763
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
Conversation
| your `CHANGELOG.md` to indicate that this new version is compatible with AndroidX. | ||
|
|
||
| ### What about if I can't use Android Studio? | ||
| ### What if I can't use Android Studio? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated awkward phrasing I noticed.
sfshaza2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few edits. Next, I'll stage this to see how it looks. The numbered list may not render properly.
| --- | ||
|
|
||
| {{site.alert.note}} | ||
| You might be directed to this page if the tool detects that your project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which tool? Could we say:
You might be directed to this page if the framework detects that your project doesn't support Xcode 11.4.
Or even just tweak the sentence to be a bit more clear about the tool involved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you noticed, I copied this from the AndroidX page. It's not from the framework, it's coming from running flutter build ios on the command line or an error in an IDE. What about
You might be directed to this page if Flutter detects
|
@jmagman, I've staged the PR here.
Can we modify the list? Perhaps:
It's a pain, but it's a limitation of markdown. The I'll stage the site again when you've submitted your updates. Another FYI, I am out the rest of this week. |
|
How do I prevent I could use http://www.fileformat.info/info/unicode/char/2011/index.htm but I'm not sure if you have a preferred way to do this with CSS. |
|
you might have already done it, reminder to run optipng on the assets before merging |
Already done! 😄 |
|
|
||
| {{site.alert.note}} | ||
| You might be directed to this page if Flutter detects that your project | ||
| doesn't support Xcode 11.4. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
detects that you have Xcode 11.4 installed AND your project doesn't support Xcode 11.4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the tool gives the error message when the migration fails AND Xcode 11.4 or greater is installed. We probably don't need to point that out, either they saw the error or they didn't.
| Flutter v1.15.3 and later will automatically migrate your Xcode project. | ||
|
|
||
| If you need to manually upgrade your project, use the following steps: | ||
| <ol markdown="1"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, this is barely documented but you can unbreak the weird markdown ordered list thing with big blocks if you 4 space indent everything i.e.
1. some thing
`some long code section which would have made a mess`
1. this should be item 2 and should work now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting! I don't know if @sfshaza2 tried that, but the ol markdown was how she got https://github.com/flutter/website/blob/master/src/docs/development/add-to-app/ios/project-setup.md to work. She asked me to do it here so I'll stick with that for now, but I can follow up and experiment when she's back in the office next week.
|
|
||
| If you need to manually upgrade your project, use the following steps: | ||
| <ol markdown="1"> | ||
| <li markdown="1">From the Flutter app directory, open `ios/Runner.xcworkspace` in Xcode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does xcworkspace exist if the project doesn't use plugins? I don't remember.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's always added as part of the create template.
|
Made a tiny nit, LGTM. |
Co-Authored-By: Jon Tippens <legalcodes@users.noreply.github.com>

Fixes #3741.