Hi there,I'm new to Apple and the ArcGIS SDK for iOS and may be asking silly questions or have done something wrong...I just uninstalled the ArcGIS Runtime SDK for iOS version 2.3.2 and downloaded and installed the new version 10.1.1 on my MacBook Air (OS X 10.8.2). The uninstall and install went smoothly. I checked based on the install summary and confirmed that the new version has been installed in the following directories in the Finder: Macintosh HD/Library/SDKs/ArcGIS/iOS/ArcGIS.framework Macintosh HD/Library/SDKs/ArcGIS/iOS/Samples Macintosh HD/Library/Developer/Shared/Documentation/SocSets Macintosh HD/Library/Application Support/AGSiOSRuntimeSDKHowever, when I went through the steps of the Configuring an Xcode Project in the Getting Started section of the ArcGIS Runtime SDK for iOS online help, in the step 1 Add ArcGIS to the Framework Search Paths, the recommended Framework Search Path: $(HOME)/Library/SDKs/ArcGIS/iOS/** does not seem to be valid because there is no iOS directory in my home directory: Macintosh HD/Users/shiminc/Library/SDKs/ArcGIS, under which there is only one directory called Samples, and I guess they might be the leftovers of the version 2.3.2... As a result of the issue, Xcode couldn't find the <ArcGIS/ArcGIS.h>...Just wondering if the new SDK is really installed in the home directory or what I could have done wrong? I think the 2.3.2 seemed working fine...Thank you,Shimin Cai
I am baffled why the SDK is getting installed under Macintosh HD/Library/. It should actually get installed under the Library folder of your home directory, which I assume is Macintosh HD/Users/shiminc.Are you by any chance running the installer as root? And then running the XCode project as yourself?
This has happened to me once but I couldn't reproduce it. I fixed it by uninstalling from wherever it got installed and running the installer package again. Then it was in the ~/Library... location.I can't quite recall but I may also have rebooted between uninstalling and reinstalling.I'm not happy with this answer, but it might get you going again until the real answer appears 🙂Let me know whether it works?Cheers,NickP.S. Caveat: I'm not on the iOS team - they might have a better idea of the problem.EDIT:Ah yes. Now I see your response below, I recall that I had to manually delete the /Library/SDKs directory (not ~/Library/SDKs, mind you!) and the /Library/Application Support/AGSiOSRuntimeSDK directory because, as Divesh mentions, the uninstall script doesn't touch those 🙂Once I'd deleted those (and made sure I didn't have one under ~/Library), I just tried again and it worked. However, I'm not so confident that'll work for you given your other replies.Nick.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.