Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8396841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:38:21+00:00 2026-06-09T20:38:21+00:00

With a dark color scheme in Xcode 4 the i-beam cursor (aka text selection

  • 0

With a dark color scheme in Xcode 4 the i-beam cursor (aka text selection cursor) is nearly invisible. Is there a way to change the color of this cursor, either for Xcode specifically, or failing that, system-wide?

It’d be nice if it would automatically change to a color contrasting its background too.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T20:38:22+00:00Added an answer on June 9, 2026 at 8:38 pm

    As of Xcode 8, Apple has hidden the i-beam cursor somewhere where nobody has found it. Instead, many have chosen to use Mousecape to alter the i-beam in all programs. I prefer that method since it fixes the i-beam in other programs that support dark themes, such as Komodo editor. Mousecape should work in all Xcode versions and updating Xcode won’t break the cursor. I’m currently using Mousecape in macOS 10.13.2, Xcode 9.1. Here are the steps:

    1. Download Mousecape from here
    2. Download a "cape" with modified i-beam cursor such as Bright white or Grey shadow
    3. Run Mousecape.app
    4. From Mousecape’s menu bar: File > Import Cape > "cape" file downloaded above
    5. Right click imported "cape" and choose Apply
    6. Check the new cursor is working in Xcode. When satisfied, you can apply the cursor on each reboot by running a command from Mousecape’s menu bar: Mousecape > Install Helper Tool
    7. Installing macOS updates (such as 10.13.1 to 10.13.2) may require repeating steps 5 and 6.

    Original answer:

    Xcode does NOT use the system-wide i-beam cursor as everyone I found talking about it stated as if it was a known fact. If I hadn’t believed those people, I wouldn’t have spent two days figuring out how to alter the system i-beam cursor by editing CoreGraphics only to find that Xcode’s ibeam doesn’t change.
    BTW, I also stumbled on how to edit other system cursors.

    I spent most of a weekend figuring this out, but the i-beam cursor in Xcode CAN be edited. It’s simply a TIFF file in the following location for Xcode 3.2.6 (and earlier, I assume, but have not tested):

    /Developer/Library/PrivateFrameworks/XcodeEdit.framework/Versions/A/Resources/TIbeam.tiff

    Xcode 4.1 has the same file but it does not affect the i-beam in the main editor (I assume it’s used somewhere, but maybe not). Instead, the main editor in Xcode 4.1 uses this file:

    /Developer/Library/PrivateFrameworks/DVTKit.framework/Versions/A/Resources/DVTIbeamCursor.tiff

    The ibeam files have moved again in Xcode 4.4:

    /Applications/Xcode.app/Contents/OtherFrameworks/XcodeEdit.framework/Versions/A/Resources/TIbeam.tiff

    /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/Resources/DVTIbeamCursor.png

    /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/Resources/DVTIbeamCursor@2x.png

    Editing DVTIbeamCursor.png was enough to change the i-beam in the main editor on my system. On another site, someone reported that DVTIbeamCursor@2x.png will be used on a retina display or Apple’s other new high res displays like Thunderbolt and Cinema. Who knows if TIbeam.tiff is even used anymore since they didn’t update it to png.

    According to comments below, in Xcode 5.0.2 all 3 cursor files were replaced with one file:

    /Applications/Xcode.app/Contents/OtherFrameworks/XcodeEdit.framework/Versions/A/Resources/DVTIbeamCursor.tiff

    And in 5.1.1 (boy, they sure love to change things in almost every version, don’t they?):

    /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/Re‌​sources/DVTIbeamCursor.tiff

    I’m guessing that file is a double resolution (aka retina display) cursor that’s scaled down for non-retina screens.

    If you can’t find the ibeam file in your Xcode, try running this command in Terminal:

    sudo find / -name ‘Ibeam‘ -print

    In Xcode 7.3, the cursor was moved inside the following bundle file so the search command above won’t find it:

    /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Resources/Assets.car

    I recommend using a process found here to patch a new cursor into the bundle file. If you don’t like the cursor it installs (I felt it was still too dark and the grey outlines blend in with grey comment text), follow these steps:

    1. Download the latest release of Theme Engine (I successfully used version 1.0.0(111) with Xcode 7.3.1)
    2. Back up /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/Resources/Assets.car
    3. Copy Assets.car somewhere where it can be edited, such as to ~/Documents/Assets.car.
    4. Run Theme Engine.app, click Open Document, then open ~/Documents/Assets.car.
    5. Scroll down the list of items on the left and pick DVTIbeamCursor.
    6. You should see a normal resolution and double resolution ibeam cursor image in the center panel. Drag your own ibeam image on top of either cursor and it should change to show your image. I used a PNG image.
    7. Save, then close Theme Engine.
    8. Move your modified Assets.car back to /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/Resources/Assets.car and keep a backup copy of your modified version somewhere so you don’t have to do this again until a new Xcode version changes what’s in Assets.car.

    You may also wish to send an angry letter to Apple to complain that they have not fixed this problem in the last 7+ years and have instead made it progressively more difficult for users to patch Apple’s broken cursor.

    Don’t forget to keep backups of your edited cursors. Newer Xcode versions will overwrite your custom cursors with default ones when it does a software update.

    Here’s the ibeam cursor I use: In png format Right click the ibeam and choose to save the image to get the png version, or click here to download the tiff version.

    If you’re making your own cursor, notice that where the black lines intersect in the original cursor is where the white lines intersect in my cursor. That’s because the original cursor was meant to be used on a white background, so its black part is where the cursor hotspot is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Emacs, I'm using a color scheme with a dark background and light text.
Is there any way to change the color of the nodes in a TTreeView.
Is Eclipse at all theme-able? I would like to install a dark color scheme
Within VS2010 I'm using a dark/pastel color scheme. SP2010 Feature Designer has a Manifest
Is there a way to get the color at a given X and Y
I am trying to use this color scheme https://github.com/goatslacker/mango.vim It works when I open
I like a dark background when coding and have customised it to a scheme
Maybe it's because of the dark outside, but I can't get this Position geom_text
As you can see the upper dark X's are cut even though there is
Are there any colour schemes for VS 2010 (preferably dark schemes) that include settings

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.