Skip to content

Conversation

@andyarvanitis
Copy link
Collaborator

No description provided.

@PaulCapestany
Copy link

@andyarvanitis thanks so much for this fix — works great!

@andyarvanitis
Copy link
Collaborator Author

You're welcome! I intended to pull it into the main repo a few days ago (I actually have the rights to), but wanted Dave (or anyone else) to have a look first.

@PaulCapestany
Copy link

The only issue I noticed was with the "XCode5 Comptability" build script. XCFixin_CurrentLineHighlighter was one of the plugins hard-coded to be disabled within that in the Build All Fixins target.

@tspinelli
Copy link

I tried to use this commit within Xcode 5.0.2 and do not see the new entry under the edit menu and the current line is not highlighting.

I pulled this commit, built the project and then re-ran Xcode. Additionally, the plugin is in my plugins directory. Am I missing something?

This was previously one of my favorite plugins for xcode! I would love to see it working again!

@PaulCapestany
Copy link

@tspinelli it's still working for me fine with the latest version of Xcode. Did you look under the Editor menu (instead of Edit)?

@RobertAudi
Copy link

Same problem as @tspinelli here. Not working 😞

@tom-seddon
Copy link
Collaborator

I'm fixing up the fixins for Xcode 5.1. It complained about GC, so I just let it convert everything to ARC, and CurrentLineHighlighter seems to be working fine for me.

Andy, do you think this will be OK, or should I take your manual retain/release code instead?

Removing GC does cause problems with Xcode 4.6.2 though...

--Tom

@andyarvanitis
Copy link
Collaborator Author

I think using your ARC conversion is definitely fine -- thanks!

@tom-seddon
Copy link
Collaborator

Preliminary Xcode 5.1 support can be found in the xcode_51_arc branch. This includes a version of CurrentLineHighlighter that at least seems to work for me with Xcode 5.1. So there are now no disabled fixins in that branch.

This stuff is in its own branch for now as it's a bit WIP, and as it builds with ARC it's completely incompatible with Xcode 4.6.2 (and I've no idea if it works on Xcode 5.0.x.) I've opened issue #31 regarding continued Xcode 4 support, if anybody wants to comment.

Thanks,

--Tom

@tspinelli
Copy link

This still doesn't work for me. I did have it working previously under XCode 4, but ever since moving to XCode 5 I have never had it working. I just tried the 5.1 branch to check it out, but it doesn't work either. I've tried deleting the plugin, restarting Xcode, reinstalling and it still doesn't work.

Any thoughts?

Conflicts:
	XCFixin_CurrentLineHighlighter/XCFixin_CurrentLineHighlighter.m
@andyarvanitis
Copy link
Collaborator Author

It looks like it's just missing the compatibility UUID. I'll look into adding it today and pushing it up to the 5.1_arc branch.

@tom-seddon
Copy link
Collaborator

Did you get any further with this? I didn't have any problems with Xcode 5.1 myself and it looked like the compatibility UUID should already be applied to all fixins.

--Tom

@andyarvanitis
Copy link
Collaborator Author

No, sorry, I didn't. I'm sure I got sidetracked by some day-job thing. I've definitely been using the highlighter with 5.1 (local change) for a long time now, and everything seems to work fine.

@tom-seddon
Copy link
Collaborator

Oh - no apology necessary! I was planning on rearranging the branches (see #31) and was just wondering whether to hold off.

--Tom

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants