mvexel

Deploying to iPhone - linker error

Discussion created by mvexel on May 11, 2010
Latest reply on Jul 6, 2010 by njarecha-esristaff
Hi,

I started using the view-based ESRI Xcode template, and created a simple project with an OSM tiled map layer in a single map view. This runs fine in the simulator, but when I try to deploy this to an iPhone I get these linker errors:

Undefined symbols:
  "___save_vfp_d8_d15_regs", referenced from:
      -[AGSMapView setEnvelope:] in libAGSiPhone.a(AGSMapView.o)
      -[AGSMapView layerDidLoadHandler:] in libAGSiPhone.a(AGSMapView.o)
      -[AGSTiledLayerView blankImage] in libAGSiPhone.a(AGSTiledLayerView.o)
  "___restore_vfp_d8_d15_regs", referenced from:
      -[AGSMapView setEnvelope:] in libAGSiPhone.a(AGSMapView.o)
      -[AGSMapView layerDidLoadHandler:] in libAGSiPhone.a(AGSMapView.o)
      -[AGSTiledLayerView blankImage] in libAGSiPhone.a(AGSTiledLayerView.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

I checked the header / library paths, they look OK

Thanks for any help.
Martijn

Outcomes