Directories not found error for new ArcGIS for iOS app

2771
2
Jump to solution
06-19-2012 06:21 AM
JohnMcleod1
New Contributor III
Hello Everyone,
I'm new to ArcGIS for iOs so please be patient.
My current project involves an iOS 5 project with an ESRI map.
I downloaded and installed AGSRuntimeSDKiOSv2.2.1.pkg.
I have configure Xcode with the following...

  1. Added the appropriate frameworks within the project

  2. Added ArcGIS.bundle to project

I have also added the below search paths.


  • Other Linker Flags: -lstdc++ - framework -all_load -ObjC

  • Framework Search Paths: ${HOME}/Library/SDKs/ArcGIS

  • Library Search Paths: ${HOME}/Library/SDKs/ArcGIS/iOS.sdk/usr/local/lib

  • User Header Search Paths: ${HOME}/Library/SDKs/ArcGIS/iOS.sdk/usr/local/include

Although, when I go to the paths above in finder, I don't see "iOS.sdk/usr/local/lib".

When I try to build the project, I'm getting several errors. 
It looks to me they are reference errors to the libraries.

Can anyone please help me with this?
Thank you,
John
0 Kudos
1 Solution

Accepted Solutions
NimeshJarecha
Esri Regular Contributor
You should remove Library and Header search paths and make sure following is configured correctly.

Other Linker Flags: all_load -ObjC -framework ArcGIS
Framework Search Paths: $(HOME)/Library/SDKs/ArcGIS
Add following frameworks:

  • CoreGraphics.framework

  • CoreLocation.framework

  • Foundation.framework

  • QuartzCore.framework

  • UIKit.framework

  • CoreText.framework

  • libstdc++.dylib

  • MediaPlayer.framework

  • MobileCoreServices.framework

  • libz.dylib

  • Security.framework

Please refer this document for detail.

Regards,
Nimesh

View solution in original post

0 Kudos
2 Replies
NimeshJarecha
Esri Regular Contributor
You should remove Library and Header search paths and make sure following is configured correctly.

Other Linker Flags: all_load -ObjC -framework ArcGIS
Framework Search Paths: $(HOME)/Library/SDKs/ArcGIS
Add following frameworks:

  • CoreGraphics.framework

  • CoreLocation.framework

  • Foundation.framework

  • QuartzCore.framework

  • UIKit.framework

  • CoreText.framework

  • libstdc++.dylib

  • MediaPlayer.framework

  • MobileCoreServices.framework

  • libz.dylib

  • Security.framework

Please refer this document for detail.

Regards,
Nimesh
0 Kudos
JohnMcleod1
New Contributor III
Thank you for the reply.
I did what you suggested and no errors now.
I'm now getting a different problem.
New topic.
Thanks again,
John
0 Kudos