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

Xcode 8 #19

Open
smarison opened this issue Sep 13, 2016 · 30 comments
Open

Xcode 8 #19

smarison opened this issue Sep 13, 2016 · 30 comments

Comments

@smarison
Copy link

The steps to fix the cursor don't seem to work with Xcode 8...

Any timeframe on an Xcode 8 solution?

Thanks!!!

@orzzp
Copy link

orzzp commented Sep 20, 2016

same +1

@shaps80
Copy link

shaps80 commented Sep 20, 2016

The DVTIbeamCursor no longer appears to exist.

@ebaker355
Copy link
Contributor

Please see this thread: #16 Particularly, the comments from @cjheng regarding editing the Assets.car file using ThemeEngine.

When I tried to use ThemeEngine to edit the Assets.car file in Xcode 8, ThemeEngine crashed. Therefore, I have no way to create a binary patch to insert the modified cursor image.

Does anyone know how to edit that Assets.car file included with Xcode 8?

@shaps80
Copy link

shaps80 commented Sep 20, 2016

I can open the current Xcode 8 Assets.car with ThemeEngine -- however it no longer appears to have the DVTIbeamCursor images from before. I also tried replacing the Assets.car with the Xcode 7.3.1 Assets.car with no luck

@allen-zeng
Copy link

ThemeEngine consistently crashes for me when opening Assets.car in Xcode 8. Did you figure out how to fix it?

@shaps80
Copy link

shaps80 commented Sep 21, 2016

Seems to be working for me. I'll fork it tomorrow and send you the repo so you can try. I did have to fix the project but don't remember if it was something specific to a crash. More about getting Xcode issues out of the way.

Shaps

Sent from my iPhone

On 21 Sep 2016, at 22:14, Allen Zeng notifications@github.com wrote:

ThemeEngine consistently crashes for me when opening Assets.car in Xcode 8. Did you figure out how to fix it?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@cjheng
Copy link

cjheng commented Sep 21, 2016

I find that ThemeEngine crashes when attempting to open Assets.car on El Capitan, but it manages to open it when running on Sierra.

However, as @shaps80 mentioned, it doesn't appear to contain DVTIbeamCursor images.

@allen-zeng
Copy link

Ooh interesting.

I think the cursor is still in that file somewhere, it's just renamed to something else - because it does look slightly different from previous versions

@shaps80
Copy link

shaps80 commented Sep 21, 2016

I am running Sierra too and it opens without issue as I mentioned. I didn't realise it was an issue with El Capitan. Interesting.

@shaps80
Copy link

shaps80 commented Sep 21, 2016

The cursor in Xcode 8 is different but I couldn't see something that looked like it to me. Have you found it in the Assets.car file?

@cjheng
Copy link

cjheng commented Sep 21, 2016

Nothing caught my eye when I took a look at the files in Assets.car, but feel free to check again. I haven't spent much time looking since I'm still mainly using Xcode 7.3.1 and El Capitan at the moment.

@ebaker355
Copy link
Contributor

I have searched thru all of the image files, and Assets.car files, included with Xcode 8, and I did not find the Ibeam cursor anywhere. (Its possible I missed it)

Additionally, I replaced Xcode8's Assets.car with the one from Xcode 7.3.1, then patched the file with the new Ibeam script. Xcode 8 still launched (surprisingly), but it did not use the updated Ibeam cursor. Wherever its pulling that cursor image from, its a totally new location than previous versions of Xcode.

I'm beginning to wonder if that cursor image has been removed from Xcode 8 completely.

@jwarrent
Copy link

jwarrent commented Oct 5, 2016

I was also able to get ThemeEngine to compile in Xcode 8 on Sierra, but also couldn't locate the cursor graphic anywhere in or around the Assets.car file. Hopefully some saint can figure out where they've hidden this thing!

In the mean time, I've resorted to enlarging the cursor in the Accessibility options, haha.

@egold
Copy link
Owner

egold commented Oct 26, 2016

Sorry guys, it was a good ride while it lasted. Maybe in Xcode 9 they'll start letting us do stuff again. If anyone finds a workaround for Xcode 8, I'll buy you a beer. It seems like Xcode 8 is the hard-on-xcode-customizers release.

@JacobJT
Copy link

JacobJT commented Oct 28, 2016

This is sad news. This was one of the few repos I used regularly :\ Why would they give 0 options for a dark theme friendly cursor?

@allen-zeng
Copy link

Well I think it's quite understandable, in a bad way. Because this seems to be the very least of Xcode's problems.

@trungnguyen1791
Copy link

Did you guys get any good news?

@alpriest
Copy link

alpriest commented Nov 4, 2016

I just used Mousecape to change my cursor and it seems to be working pretty well. Here's how I got it working on Xcode 8.1 and El Capitan 10.11.6.

  1. Download Mousecape from https://github.com/alexzielenski/Mousecape/releases/tag/0.0.5
  2. Download the cursor from https://gist.github.com/alpriest/1fb8ab2c7406c7520b147a30f3f99c6b (this is the DVTIbeamCursor.tiff file built for Mousecape)
  3. Run Mousecape and import the cursor
  4. Apply the cursor

Unfortunately the modified cursor was lost after a reboot despite Mousecape being in my login items, but maybe it can be controlled from the command line.

@innocarpe
Copy link

innocarpe commented Nov 6, 2016

@alpriest Thanks for your guidance! I finally changed my I-beam of Xcode in dark theme!
Could you tell me how I can handle preventing modified cursor from being lost via command line?

@alpriest
Copy link

alpriest commented Nov 6, 2016

@kwosu87 I've not tried using the command line yet - it was just a thought, there's some suggestions on the Mousecape site though that may help to maintain the cursor after a reboot alexzielenski/Mousecape#64

@innocarpe
Copy link

@alpriest That's a good workaround! I applied that right away. Thanks!

@tallcoder
Copy link

Thanks for that ... that's working well. Pretty decent workaround.

@ebaker355
Copy link
Contributor

@alpriest Fantastic! Thanks very much!

@ebaker355
Copy link
Contributor

ebaker355 commented Dec 24, 2016 via email

@wuhh1991
Copy link

@alpriest Thanks very much! That's working well on Xcode 8.2.1

@Televisorino
Copy link

Televisorino commented Feb 17, 2017

@alpriest thank you, worked fine in Xcode 8.2.1 and macOS Sierra (for now).

@netzfreak
Copy link

With Mousecape on Sierra 10.12.3 / Xcode 8.2.1 works perfect - Thank you for this top tip !

@nouatzi
Copy link

nouatzi commented May 31, 2017

Hi, when I try to compile (Base SDK: macOS 10.12), I got this:

Undefined symbols for architecture x86_64:
  "_CGSIsCursorRegistered", referenced from:
      _MCIsCursorRegistered in MCDefs.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Build failed    31/05/2017, 17:33

@dinnerdeal
Copy link

I have given up on this and just manually changed the background color from black to a dark dark gray instead and its helped enough.

@GJNilsen
Copy link

GJNilsen commented Sep 4, 2017

I made a cursor for Mousecape, because the modified I-beam tiff file was not as I wanted it on retina screens. It has probably something to do with my eyesight, it has deteriorated lately. Anyhow, the one I made works great for me, so maybe someone else could use it as well.
local.taf.taf.526242442.390419.cape.zip

Mousecape is acting up a bit when trying to export a zip, but I have added the cursor images as well if anyone wants it.

ibeamImages.zip

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

No branches or pull requests