Closed mrimadali closed 7 years ago
@mrimadali What version of the SDK are you using?
Latest one, as I was using cocoapods to download the SDK.
You mean 100.0.0? I asking because we didn't have the concept of AGSMap
as a separate object in version 10.2.x.
@singhgag Not sure, where to check the version. I have downloaded the latest one using: pod 'ArcGIS-Runtime-SDK-iOS' Pls advice.
One way to check would be to see if you have AGSMap.h
file in the Headers
folder. Location to the Headers
folder: $HOME/Library/SDKs/ArcGIS/iOS/Frameworks/Static/ArcGIS.framework/Headers
You can get the version number from the version.txt
file located at $HOME/Library/Application Support/AGSiOSRuntimeSDK/
FYI, I don't have a file AGSMap.h.
Can you share your podfile?
Here you go:
platform :ios, '9.0' target 'AlexaTest' do pod 'ArcGIS-Runtime-SDK-iOS' end
Try putting the version number along with the pod name. As below.
platform :ios, '9.0'
target 'AlexaTest' do
pod 'ArcGIS-Runtime-SDK-iOS', '~> 100.0'
end
It works, Thanks 👍
Hi
After integrating the maps using cocoa pods, I have imported the following:
#import <ArcGIS/ArcGIS.h>
In storyboard file, I've added a UIView element into view controller, changed the class name as AGSMapView & created an outlet.When I try to use the "self.mapView.map", it throws an error saying the property map not found on object of type AGSMapView. Please clarify.
I was referring to the https://developers.arcgis.com/ios/latest/swift/guide/develop-your-first-map-app.htm
Attached is the screen shot for reference.