AgentFeeble / pgoapi

A Pokèmon Go API written in swift.
17 stars 3 forks source link

encryptMethod undefined for architecture x86_64 #5

Closed beeb closed 8 years ago

beeb commented 8 years ago

Hey, thanks a lot for updating the API so fast, I must admit I wasn't expecting it so soon.

Got a small compilation issue when trying to replicate the example. encryptMethod defined in encrypt.h is not found anywhere and leads to a failed build.

Am I missing something, maybe a file that's missing from the podspec and that I didn't get by updating?

AgentFeeble commented 8 years ago

Hello there

The missing file contains copyrighted code, so unfortunately I can't include it in the repo. Last time I checked there were a few people hosting encrypt.c on github, it may still be up. If you can't find it, there's also a pre-compiled encrypt.so for a few different platforms out there. You can also have a look at the Pokemon Go Dev subreddit.

If you use the encrypt.so, the encrypt method may have a different signature, so you would have to update encrypt.h and the method invocation in Encrypt.swift