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

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -