Meteor add-platform iOS breaks on meteor v2.14

Been experiencing this error where adding the iOS platform on meteor the first time will show an error:

While preparing Cordova project for platform iOS:
TypeError [ERR_INVALID_URL] [ERR_INVALID_URL]: Invalid URL: http

Adding the iOS platform the second time will successfully add the iOS in the platform. Does anyone experience this specific error?

I created a new Meteor project to reproduce the issue. It seems like copying the .meteor folder from my existing project to a new one reproduces the issue.

I was able to solve the issue by following the solution mentioned on this cordova-ios thread: Invalid URL Error while adding iOS platform · Issue #1348 · apache/cordova-ios · GitHub

Basically, I just had to add https:// in front of all the url I use in App.accessRule in mobile-config

1 Like

Glad you solved it.

The link you provided doesn’t go to the issue I think. Could you fix it so that others can serve from the fix?