Hi Shimin, Nick, Divesh et al.,
Nice to see this discussion as I think I am having the same exact issue.
I have followed all the steps meticulously, but when I try to run MyProject after adding
#import <ArcGIS/ArcGIS.h>
to my ViewController.h file, I'm getting the error message
'ArcGIS/ArcGIS.h' file not found
I will read through the thread again and see if there's an easy answer hiding in there, as it seems from your comments that uninstalling, reinstalling, changing the root, etc is too complicated at the moment.
Scott
(Hi Nick! You helped me at the Esri UC Hackathon in San Diego)
EDIT:
A few hours later, it's fixed!
Here's what fixed it. I uninstalled. Re-installed exactly the same way. But then instead of assuming the ArcGIS.framework would be where Xcode needed it, I:
1) went to Build Phases of my Xcode target project
2) went to the Link Binary with Libraries heading
3) clicked +, then chose the Add Other button since ArcGIS.framework was not already there
4) navigated to ~/Library/SDKs/ArcGIS/iOS/ArcGIS.framework
5) clicked Open when the entire ArcGIS.framework folder was selected
6) the 'toolbox' log appeared with ArcGIS
7) hit Run in Xcode (having done the previous set up earlier) and Voila!
** NOTE: I would not have been able to do this if I had previously used Terminal to command:
sudo chflags nohidden ~/Library/
[It did not work for me without 'sudo' as the tutorial has it; Nick Furness helped me with that].
I assume that what I did manually was supposed to have been handled by including
-all_load -ObjC -framework ArcGIS
in the Other Linker Flags heading under Build Settings (step 3 in the tutorial).
I don't know why that didn't work for me. I checked and double checked that I'd done it exactly as directed.
So I hope this solution helps anyone else that runs into a similar problem.