1.7.x doesn't build cordova projects

We upgraded meteor to latest 1.7.0.4 and our build doesn’t produce cordova project folder in the build folder

Here’s the command:
meteor build --directory …/build --architecture os.linux.x86_64 --server https://ourserver.url

It only produces build/bundle and NOT build/ios. And when we deploy the bundle folder to AWS, the webpages are not accessible.

But if we just downgrade the meteor to 1.6.1.3(everything else exactly same), the above build command produces both build/bundle and build/ios folders. And after AWS upload, the pages are accessible.

It’s probably related to modern-browsers package introduced in 1.7.x.

Any help is highly appreciated.

Thank you.

@honmeteo
I wish I could help, but we compiled iOS app right after upgrade and all worked well. Did you run meteor reset?

For anyone having issues with a missing project directory: ios or android must be listed in the .meteor/platforms file.