bsudekum / MapGap

A Phonegap Mapping Tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot run the app

EsimioJ opened this issue · comments

Hi,
really thanks for this tutorial!!
I tought i could follow it but I've some issues.. and i'll be very happy if you can help me!

I make the project folder with create command, and then I add ios and android platform, with phonegap commands.
if I emulate the app from here, the default phongap app starts, on IOS emulator and on android emulator.

Then i change the folders in the platform folder with the those in MapGap zip archive
but it gives me problems:
on android:
$ cordova build android
/Users/apo/Documents/APPS/MapGap/platforms/android/res/xml/config.xml has incorrect root node name (expected "widget", was "cordova")

and on IOS:
$ cordova build ios
Running command: /Users/apo/Documents/APPS/MapGap/platforms/ios/cordova/build
Build settings from command line:
ARCHS = i386
CONFIGURATION_BUILD_DIR = /Users/apo/Documents/APPS/MapGap/platforms/ios/build
SDKROOT = iphonesimulator8.1
VALID_ARCHS = i386

xcodebuild: error: Unknown build action 'World.xcodeproj'.
ERROR building one of the platforms: Error: /Users/apo/Documents/APPS/MapGap/platforms/ios/cordova/build: Command failed with exit code 65
You may not have the required environment or OS to build this project

do you have any idea??

And if I can ask you another thing.. is there a way to use vector tile from MapBox Studio in offline app for ios and android?

thank you very much
Jacopo

sorry.. found what was wrong..
it works great 👍