xcode - iOS 11 simulator

355 views
Skip to first unread message

Idan Aizik-Nissim

unread,
Oct 7, 2017, 4:46:51 PM10/7/17
to Flutter Dev
Hi,

Ever since (yesterday...) I upgraded my xcode to the latest version (from 8 to 9), 
Intellij (w/ flutter plugin) and the iOS simulator aren't in sync.

Running the app does work but not debugging, hot reload, restart.. well every single options (except running)
Only getting this message in the console printed over and over:
com.apple.CoreSimulator.SimDevice.(ABC123.....etc....) (com.apple.videosubscriptionsd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Any idea why?

Thanks in advance,
Idan

Jonathan Böcker

unread,
Oct 8, 2017, 4:55:01 PM10/8/17
to Flutter Dev
I am having the same issue, with iPhone X simulator.

Marius Räsener

unread,
Oct 9, 2017, 12:28:37 AM10/9/17
to Flutter Dev
Hi Idan,

i can‘t tell you why this is broken so I can‘t fix it either - but I can tell what workaround works for me, which is switching to master branch.
So essentially
1. git checkout master
2. flutter upgrade
Hot reload etc. should work again.

Greetings,
Marius

Idan Aizik-Nissim

unread,
Oct 9, 2017, 6:45:26 AM10/9/17
to Flutter Dev
Thanks Marius!

as you suggested and @mit-mit on github

$ flutter channel master
$ flutter doctor

fixed the problem

https://github.com/flutter/flutter/issues/11272

Chris Bracken

unread,
Oct 11, 2017, 1:38:21 PM10/11/17
to Idan Aizik-Nissim, Flutter Dev
Just a quick heads up that as of last night (Pacific time), the alpha branch has been updated and includes Xcode 9 and iOS 11 support.

Cheers,
Chris

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

michael.s.humphreys

unread,
Oct 11, 2017, 4:42:21 PM10/11/17
to Flutter Dev
Are there plans to add iOS delopment on Windows? Currently on Windows we can test Android versions on an emulator or attached android phone but I don't think that is possible for the iOS version.

Chris Bracken

unread,
Oct 11, 2017, 4:58:09 PM10/11/17
to michael.s.humphreys, Flutter Dev
Currently on Windows we can test Android versions on an emulator or attached android phone but I don't think that is possible for the iOS version.

Correct - under the covers, Flutter still relies on Xcode for the iOS build tooling, which Apple only ships for macOS. 


On Wed, 11 Oct 2017 at 13:42 michael.s.humphreys <michael.s...@gmail.com> wrote:
Are there plans to add iOS delopment on Windows?  Currently on Windows we can test Android versions on an emulator or attached android phone but I don't think that is possible for the iOS version.

michael.s.humphreys

unread,
Oct 12, 2017, 9:06:01 AM10/12/17
to Flutter Dev
Thanks! And just to be clear: There no plans to add this functionality so the only way to develop for iOS is to get an apple computer?

Michael Thomsen

unread,
Oct 12, 2017, 9:12:44 AM10/12/17
to michael.s.humphreys, Flutter Dev
We know of no supported way of building an app for iOS without xCode, and xCode is currently only available on macOS. So that is really a question for Apple.

On Thu, Oct 12, 2017 at 3:06 PM, michael.s.humphreys <michael.s...@gmail.com> wrote:
Thanks!  And just to be clear: There no plans to add this functionality so the only way to develop for iOS is to get an apple computer?
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.

Eric Seidel

unread,
Oct 12, 2017, 10:05:17 AM10/12/17
to Michael Thomsen, michael.s.humphreys, Flutter Dev
I've heard of solutions such as https://www.npmjs.com/package/remotebuild which supposedly allow one to build *from* a windows machine but *using* the XCode installation on a remote Mac.  I'm not aware of anyone attempting to wire up the `flutter` build tool to support something like that however.

Flutter-built UIs run anywhere the Flutter runtime does, so if you're just doing UI work, you could theoretically just use an Android device/emulator on Windows while still doing UI work for the iOS version of your app.  If you hit the `o` key while using `flutter run` it will switch the current platform reported to the flutter framework.

Hope that helps.

On Thu, Oct 12, 2017 at 6:12 AM 'Michael Thomsen' via Flutter Dev <flutt...@googlegroups.com> wrote:
We know of no supported way of building an app for iOS without xCode, and xCode is currently only available on macOS. So that is really a question for Apple.
On Thu, Oct 12, 2017 at 3:06 PM, michael.s.humphreys <michael.s...@gmail.com> wrote:
Thanks!  And just to be clear: There no plans to add this functionality so the only way to develop for iOS is to get an apple computer?

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.

Michael Humphreys

unread,
Oct 12, 2017, 10:53:46 AM10/12/17
to Eric Seidel, Michael Thomsen, Flutter Dev
Thanks Eric.  The "o" key option is helpful and I think that testing on Android is good enough for my purposes.  I guess in any case a mac will be needed to deploy the app to the app store once I get that far.

Michael 

Chris Bracken

unread,
Oct 12, 2017, 12:08:18 PM10/12/17
to Michael Humphreys, Eric Seidel, Michael Thomsen, Flutter Dev
Not an endorsement, nor have I actually tried it myself, but looks like there are Mac-as-a-service providers out there. A quick search turned up: https://www.macincloud.com/pages/xcode.html which appears to be developer-focused.

Michael Humphreys

unread,
Oct 12, 2017, 12:54:27 PM10/12/17
to Chris Bracken, Eric Seidel, Flutter Dev, Michael Thomsen
That's interesting - looks good.

abdul....@innovartis.co.uk

unread,
Jan 1, 2018, 5:49:18 PM1/1/18
to Flutter Dev
Sorry to go back to this.
Is it possible to do a build from a Windows PC to a iOS simulator or device connected to a macOS ?
Something akin to what is possible on the Xamarin platform.

Many thanks
Abs

On Thursday, October 12, 2017 at 2:12:44 PM UTC+1, Michael Thomsen wrote:
We know of no supported way of building an app for iOS without xCode, and xCode is currently only available on macOS. So that is really a question for Apple.
On Thu, Oct 12, 2017 at 3:06 PM, michael.s.humphreys <michael.s...@gmail.com> wrote:
Thanks!  And just to be clear: There no plans to add this functionality so the only way to develop for iOS is to get an apple computer?

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.

Michael Thomsen

unread,
Jan 2, 2018, 7:04:08 AM1/2/18
to abdul....@innovartis.co.uk, Flutter Dev
There are some cloud providers that rent out Mac's on an hourly or daily basis. I haven't tried any of them myself yet through.

To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages