Document manual Xcode project migration to support Xcode 11.4#3763
Document manual Xcode project migration to support Xcode 11.4#3763legalcodes merged 7 commits intoflutter:masterfrom jmagman:ios-migration
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.
Unrelated awkward phrasing I noticed.
sfshaza2
left a comment
There was a problem hiding this comment.
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.
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.
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.
detects that you have Xcode 11.4 installed AND your project doesn't support Xcode 11.4?
There was a problem hiding this comment.
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.
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.
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.
Does xcworkspace exist if the project doesn't use plugins? I don't remember.
There was a problem hiding this comment.
Yes, it's always added as part of the create template.
|
Made a tiny nit, LGTM. |
Co-Authored-By: Jon Tippens <[email protected]>

Fixes #3741.