No longer able to deploy to iOS. Why?


I’ve made a few small adjustments to my app to get rid of a few glitches that were introduced when upgrading to 1.6.1. The app is running without a hitch on galaxy in all browsers.

Now, deploying for iOS also works… occasionally. I do the following:

meteor run ios-device --mobile-server

Then, when building for a device in Xcode, the app fails to load… often, but not always. When it fails, this is what the console reports:

2018-02-05 22:00:01.940829-0200 MyApp[42708:5492011] Resetting plugins due to page load.
2018-02-05 22:00:02.033762-0200 MyApp[42708:5492735] TIC TCP Conn Failed [1:0x604000167980]: 1:61 Err(61)
2018-02-05 22:00:02.037952-0200 MyApp[42708:5492735] Task <12D35913-66B5-4128-BF25-C3750FED0E1B>.<0> HTTP load failed (error code: -1004 [1:61])
2018-02-05 22:00:02.039431-0200 MyApp[42708:5492734] NSURLConnection finished with error - code -1004
2018-02-05 22:00:02.067609-0200 MyApp[42708:5492011] Failed to load webpage with error: Could not connect to the server.

This happens on the splash screen. And, it happens in the iOS simulator, when running on an attached iOS device, and, after pushing it to iTunesConnect, on the version that’s available through TestFlight (although, there, I can’t of course confirm it’s the same problem, the app just never gets past the splash screen).

There’s no indication there’s an actual issue with my connection, either inside the iOS simulator or on my computer.

What is causing this?


I ended up reinstalling Meteor. At the moment, this issue no longer occurs.