Mach-O Linker Error    ld:framework not found ArcGIS

17360
7
Jump to solution
04-05-2012 07:08 AM
JerryChapman
New Contributor
After upgrading to V2.2 I'm getting the Mach-O linker error.  I've followed all the steps to upgrade and compared with the MapView Demo settings.

This is the error:
ld: framework not found ArcGIS
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

Does this mean the FrameworksSearchPath is not correct?  I followed step 6 to add Framework Search paths - ${HOME}/Library/SDKs/ArcGIS
[ATTACH=CONFIG]13269[/ATTACH]
0 Kudos
1 Solution

Accepted Solutions
NimeshJarecha
Esri Regular Contributor
Great! You got it working! 🙂

Regards,
Nimesh

View solution in original post

0 Kudos
7 Replies
JerryChapman
New Contributor
I also tried setting up the Framework Search paths like they are in MapView Demo.  Still getting the same error.

[ATTACH=CONFIG]13274[/ATTACH]
0 Kudos
NimeshJarecha
Esri Regular Contributor
Did you update the 'Other Linker Flags' to '-ObjC -all_load -framework ArcGIS'?

Regards,
Nimesh
0 Kudos
JerryChapman
New Contributor
Yes, I did.

[ATTACH=CONFIG]13277[/ATTACH]
0 Kudos
NimeshJarecha
Esri Regular Contributor
Did you follow all the steps outlined in the Migrating existing applications from v2.1?

Please try adding ArcGIS.framework to the project.

Regards,
Nimesh
0 Kudos
JerryChapman
New Contributor
Hi Nimesh,

I added ArcGIS.Framework and no change.  So I removed it.

I reinstalled AGSRuntimeSDKiOSv2.2, went into Xcode, loaded my project, compiled, and the linker error is gone.

Everything works.

Thanks,

Jerry
0 Kudos
NimeshJarecha
Esri Regular Contributor
Great! You got it working! 🙂

Regards,
Nimesh
0 Kudos
GaryThorne
New Contributor
i am having same  problem and unable to solve the issue
0 Kudos