Closed subzerofun closed 8 years ago
This is non-essential code and can be commented out. I will go ahead and remove this from the utils and find an alternative.
The entire utils file is non-essential and can be removed if you need. It's to make it easier to build a map/bot based off the api.
Should be solved in c742465f29dc1934c00c936e13ce8d80f0e7dcc4
My aim is to write a little Swift App that uses the OSX MapKit Framework to display the positions of multiple users (and give live feedback about found pokemon) – a simple map scanner basically (a reduced version of the PokemonGo-Map project).
Won´t i run into problems with getting map coordinates if i uncomment this line?
Nope. You can delete the entire file if you need to. It's just extra stuff to help build bots/scrappers.
I also removed it in the last commit so it should work in OSX now.
OK, thanks. Also thanks for the rewritten PGoUtils.swift!
Hey thanks for addition of OSX support to the pod! (i was the one asking for it in Issue #42)
I tried to compile my project with the updated pod, but in the File PGoUtils.swift, at line 3:
an iOS only Framework gets imported. Since there is no equivalent Framework for OSX/macOS the function
ABCreateStringWithAddressDictionary
at line 45 isn´t defined:I tried to replace the framework, but i could just find an old Obj-C library that doesn´t provide the function needed.
So for now i have just uncommented the block with
ABCreateStringWithAddressDictionary
and everything compiles fine. But since the functionCLGeocoder
is also needed right below incould that render the API unusable for me? Since i had to uncomment everything that happens in
func CLGeocoder
... and then that function is referenced inreverseGeocode
and doesn´t compute anything...Is this function essential for map queries? If it is – please help me to find a solution for OSX.