09-19-2019 02:26 - edited 09-19-2019 02:26
09-19-2019 02:26 - edited 09-19-2019 02:26
Last night I noticed that a clockface project of mine wouldn't compile and load in the simulator when using my Apple laptop, but it would just fine on any Windows PC. The error at first was "out of memory" but later changed to "unable to parse snapshot." On the PC I can see that the memory heap hovers around 51kb which in my experience is fine. I also noticed that the .fba files produced when selecting the publishing option are different sizes: PC was about 147kb, Mac was 109kb if I remember correctly. Not a big deal, I'll just stick with PC, but I thought I would mention it. Probably just the result of the flurry of updates going on at the moment.
Answered! Go to the Best Answer.
09-21-2019 12:51
09-21-2019 12:51
Looking at these projects, they're identical, but it transpires there's a problem with the Simulator on Mac whereas it works on Windows. We'll investigate and debug what's going on. Thanks!
09-19-2019 07:34
09-19-2019 07:34
That's very strange, Studio should definitely behave the same in both. Could you share the FBA files from each?
09-19-2019 07:39
09-19-2019 07:39
Okay, I'll message you a download link in the near future. Thanks!
09-21-2019 03:04
09-21-2019 03:04
Hi,
Just my $0.02 - I develop my watchfaces on my Mac (High Sierra though, haven't upgraded to Mojave). I haven't had any trouble building and/or running apps both through Fitbit Studio and from Terminal. Mostly, I use Visual Studio Code, though.
Only thing I've noticed, I need quit and restart the simulator if my Mac goes to sleep - otherwise the simulator won't connect at all.
Best regards,
JR
09-21-2019 04:32
09-21-2019 04:32
The reconnect after sleep issue should be fixed, it won't make the next release, but it should be in the one after that.
09-21-2019 12:07
09-21-2019 12:07
Regarding the MAC vs PC Fitbit Studio issue, I was wrong about the .fba files being different sizes. It was late, and I must have got the files confused. However I've carefully verified that a clockface project I've been working on (Sentinel Basic v0.0.7) works when running on a Windows PC (using chrome browser), and fails to run in the simulator on a Mac - latest OS, Fitbit simulator is 7.2, running in chrome). The error message is the "failed to pre-parse snapshot." On the windows PC I've confirmed that the memory heap size is stable around 55kB. I've placed both an .fba from a PC and .fba from our Mac Air in a shared google drive folder. LiamFitbit, I'll send you the link right now.
09-21-2019 12:51
09-21-2019 12:51
Looking at these projects, they're identical, but it transpires there's a problem with the Simulator on Mac whereas it works on Windows. We'll investigate and debug what's going on. Thanks!