Question

I started working with phonegap on ios. Ive been building the samples on the simulator and so far most of the samples that Ive tried build fine but usually arent fully functional for one reason or another. Does phonegap lose its functionality on the simulator? I have a devices to test on but I havent heard back from apple so I can provision them to develop on. With the way they keep people from developing on their devices its no wonder that android is killing it.

So has anyone else noticed this? Im using xcode 4.1 and the latest phonegap along with all the latest jquery/jqtouch stuff.

The usual problem with the demos on the simulator is that everything will load visually but none of the buttons will be touchable or some of the listviews wont load. Should I update my xcode? This mac stuff is killing me LOL.

EDIT: these are errors from me running the mapviewkit plugin demo

Undefined symbols for architecture i386:
"_MKCoordinateRegionMakeWithDistance", referenced from:
  -[MapKitView setMapData:withDict:] in MapKit.o
"_OBJC_CLASS_$_MKMapView", referenced from:
  objc-class-ref in MapKit.o
"_OBJC_CLASS_$_PGAnnotation", referenced from:
  objc-class-ref in MapKit.o
"_OBJC_CLASS_$_MKPinAnnotationView", referenced from:
  objc-class-ref in MapKit.o
"_OBJC_CLASS_$_AsyncImageView", referenced from:
  objc-class-ref in MapKit.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
Was it helpful?

Solution

Phonegap should run just fine in the simulator, only things you wont have access to are the camera, and locations are a bit funky, but other than that everything else is open to you.

Be sure you've got all the files in the correct places... try testing in a browser if possible to see if something isn't coming through...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top