on 10-17-2014 4:18 AM
Hi,
Following the the SDK / Installation guides for the ESRI iOS client build I still can't get it working. Below is a detailed doc showing the exact steps I've followed -
I know the ESRI system and Mobile Add-on are configured correctly because we successfully used the pre-built Agentry iOS client from SAP to demo the ESRI maps. Also you can see the JSON data being return to the iOS client in the last few screenshots.
Also I'm able to get the basic ESRI application that comes with the ESRI iOS SDK running on my Mac.
I'm not sure what the problem is; I've tried multiple tweaks to the client build with no success.
Has anyone been able to build a custom iOS client with ESRI integration? Or provide any tips / suggestions for getting it working?
Thanks,
Stephen
Stephen,
I took a look at your doc and have some questions.
Page 2 - Step 2 - You can remove one of the -ObjC Other Linker Flags. It shouldn't hurt having it twice but it isn't necessary.
Page 6 - Step 5 - Since you manually added the framework you don't need to add the import. Again it won't hurt but isn't technically isn't needed.
Page 9 - Step 6 - The screenshot will not look the same as yours as that screen shot is for a client that includes both the GIS and VE OpenUI components. I also noticed that the ArcGIS.bundle included. That not being there isn't the cause of your problem.
Page 10 - Step 7 - From looking at your build step I see there are 2 warnings. Have you checked to see what the warnings are? I would bet the problem is related to that. Please check and let me know what you find out.
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
I've updated the project -ObjC Linker flags and removed the import just to be safe.
I included the ArcGIS.bundle as per the ESRI installation instructions. Is it not required?
There are 4 warnings with the build which look to be the problem -
The architectures set on the project are -
I'm not sure how to resolve those warnings on the build.
Cheers,
Stephen
Stephen,
Yes those are the cause of your issue. The root cause is that when the SDK was packaged the symlinks in the frameworks directories did not get packaged as links. You will need to re-create the symlinks and that should resolve the build warnings and allow it to successfully build.
Specifically the following links need to be fixed
This is also a problem with VisualEnterprise.framework as well so repeat the same process for that as well if you are trying to also build in the VE support.
See if that fixes your compiler warnings. It did for me an I was able to get an iOS client with GIS included working. I'm still working on the VE version however.
I have asked the Product Development team to fix the archive in the distribution and/or create a note detailing the problem and resolution.
--Bill
Thanks Bill. That did the trick. I can now see the ESRI component in Work Manager.
I get some new warnings (same one repeated 41 times) with the build but I don't think it's having an impact on the functionality -
I can't see the markers on the maps but I need to go back and validate my data now.
Cheers,
Stephen
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.