Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARN Invalid reference found, unknown object! #253

Open
cccooolll opened this issue Sep 22, 2012 · 10 comments
Open

WARN Invalid reference found, unknown object! #253

cccooolll opened this issue Sep 22, 2012 · 10 comments
Milestone

Comments

@cccooolll
Copy link

WARN | Invalid [[NSFileManager defaultManager] reference found near MyClass.h@199, unknown object : [NSFileManager !

many warning when I add some sample code in my comments

/**
 [[NSFileManager defaultManager] isFolder]
 */
@tomaz
Copy link
Owner

tomaz commented Sep 24, 2012

Sample code should be writen either as Markdown code block or inline code
in order for it not being processed.

Note that with 2.x, code blocks are not handled very well, so you might
still get warnings, but in 3.0 with new Markdown engine, I'll be able to
handle this in a better way.

On Sat, Sep 22, 2012 at 3:01 AM, cccooolll notifications@github.com wrote:

WARN | Invalid [[NSFileManager defaultManager] reference found near
MyClass.h@199, unknown object : [NSFileManager !

many warning when I add some sample code in my comments

/**
[[NSFileManager defaultManager] isFolder]
*/


Reply to this email directly or view it on GitHubhttps://github.com//issues/253.

@matzew
Copy link

matzew commented Oct 22, 2012

This is still the case in 2.1 (build 840).

This comment:
https://github.com/aerogear/aerogear-ios/blob/appledoc/AeroGear-iOS/AeroGear-iOS/AGPipeline.h#L22

causes these warnings:

WARN | Invalid [NSURL URLWithString:@"http://todo-aerogear.rhcloud.com/todo-server/"] reference found near AGPipeline.h@22, unknown object : NSURL !
WARN | Invalid [AGPipeline pipeline:serverURL] reference found near AGPipeline.h@22, unknown method!

@matzew
Copy link

matzew commented Oct 22, 2012

Also - I think even worse - these URL is rendered twice, see:

http://people.apache.org/~matzew/AppleDocDoubleURL.png

@tomaz
Copy link
Owner

tomaz commented Oct 22, 2012

2.1 didn't touch Markdown handling; until I change to parser with callbacks, such errors will be very difficult to deal with. I wrote about this in other tickets and my blog.

FYI: 3.0 uses sundown and feels much more reliable.

@matzew
Copy link

matzew commented Oct 29, 2012

@tomaz thanks for the feedback, can you point me to the 3.0 branch ?

@tomaz
Copy link
Owner

tomaz commented Oct 29, 2012

It's called experimental because it's still very early in dev process. Besides parsing it doesn't do much.

I just started work on Markdown parsing couple of months ago, but don't think I've pushed it to GitHub yet. Then I had to jump to other projects so effectively it lied stagnant for all this time. My current engagement is slowly coming to an end, so I expect to come back in the following week(s).

@neilgall
Copy link

Is there a workaround for this warning in the 2.x version?

@tomaz
Copy link
Owner

tomaz commented Mar 28, 2013

Unfortunately not...

@rsanchezsaez
Copy link
Contributor

Is there any update on this issue? It seems to produce a lot of warnings when building ResearchKit documentation.

@rsanchezsaez
Copy link
Contributor

A workaround for this issue is now possible on the referenced pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants