AnsweredAssumed Answered

just can't add ArcGIS SDK to my project.

Question asked by jamiech on Jul 17, 2012
Latest reply on Jul 18, 2012 by jamiech

This is my first time developing with ArcGIS SDK.  I installed the latest SDK 2.3 and I see ArcGIS.framework and Samples folder.

I added MapViewDemoViewController xib and h/m files from the samples folder and added to my project to test but I get this error.  

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_MapViewDemoViewController", referenced from:
      objc-class-ref in TestMapViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I followed
1. Did install of v2.2 successfully completed?
2. Do you see ArcGIS.framework and Samples folder under ${HOME}/Library/SDKs/ArcGIS?
3. You mentioned that the Framework Search Paths in build settings of MapViewDemo is $HOME/Library/SDKs. It must be either ${HOME}/Library/SDKs/** or ${HOME}/Library/SDKs/ArcGIS.
4. Do you see 'Other Linker Flags' set to -ObjC -all_load -framework ArcGIS -lstdc++?

from other link from this site.

Any ideas?  (sample project works though so I assume it's installed correctly.)