java - Error happens when compiling lib from *-rpc.discovery file on iOS -
i have tried 1 https://developers.google.com/appengine/docs/java/endpoints/consume_ios compile , generate lib on ios still print error:
"error: parameter 'userid' has objcname 'userid' , did else."
here discovery file generated eclipse: https://mega.co.nz/#!45p2nzzd!ktwfr2kbqgron4oehbzhojupsiqlaayzhtcbannbyja
can me? thank much
i realize old question putting here in hopes of helping others. tracked down putting xcode breakpoints in google service generator... crazy. error happening because java endpoint has both @named annotation , parameter same name.
so you've got both this:
@apimethod(name = "somemethod", path = "whatever") public void blah( @named ("theproblem") string foo ) throws serviceexception { .... }
and this:
@apimethod(name = "anothermethod", path = "whatever") public void blah( @named ("bar") string theproblem ) throws serviceexception { .... }
Comments
Post a Comment