Nico113 / mpoauthconnection

Automatically exported from code.google.com/p/mpoauthconnection
0 stars 0 forks source link

MPDebug.h as import in MPOAuthAPI.h #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When trying to compile a project using mpoauthconnection with DEBUG turned 
off (e.g. App Store distribution), I get several errors that "MPLog" is 
declared implicitly or cannot be referenced.

This problem can be resolved by adding MPDebug.h to .pch-file of my project, 
but shouldn't it be added as import to MPOAuthAPI.h?

Original issue reported on code.google.com by reiner.p...@neofonie.de on 22 Jan 2010 at 10:56

GoogleCodeExporter commented 9 years ago
You're absolutely right, my concern was in exposing this detail to API clients, 
but I'd overlooked that if you're 
compiling the project you might run into this issue. In the case of iPhone I 
think the right solution might be to 
automatically include it in that case.

Original comment by karl.a...@gmail.com on 22 Jan 2010 at 11:10

GoogleCodeExporter commented 9 years ago
Added a static libMPOAuth library as well as including MPDebug.h in the prefix 
header used to compile it. This 
should close this ticket. At the least now the dependency is on the ticket to 
create a downloadable SDK with the 
headers and library for iPhone.

Original comment by karl.a...@gmail.com on 23 Jan 2010 at 1:19