Skip to content

Instantly share code, notes, and snippets.

@Harry1993
Last active August 8, 2021 20:14
Show Gist options
  • Save Harry1993/399ae3f7cfc0e87f8bbe366b8200ce96 to your computer and use it in GitHub Desktop.
Save Harry1993/399ae3f7cfc0e87f8bbe366b8200ce96 to your computer and use it in GitHub Desktop.
Skim PDF Viewer on Apple Silicon

I use Skim with LaTeX as it refreshes PDFs automatically. However, the current version (1.5.13) doesn't support the Apple ARM64 architecture, yet. This tutorial guides through the local compilation of Skim on your favorite Apple Silicon devices.

Prerequisites

Xcode 12.* (I am using 12.3).

Steps

  1. Check out the Skim repository:
svn checkout https://svn.code.sf.net/p/skim-app/code/trunk skim-app-code
  1. Use Xcode to open the Skim project file Skim.xcodeproj.

  2. Under Product -> Scheme, select Skim.

  3. Select Product -> Build For -> Profiling.

  4. You will find Skim.app under the path similar to

/Users/myname/Library/Developer/Xcode/DerivedData/Skim-bpcqskjevtmwumdgzvqssmmzgtuu/Build/Products/Release

Thanks to Christiaan Hofman.

@kr0bi
Copy link

kr0bi commented Dec 24, 2020

I don't have any errors building the Application in Xcode.
But I'm having a warning saying: you need a certificate named "Skim Signing Certificate"

Even after adding Sparkle to the folder and rebuilding it doesn't generate the Skim.app application in the folder.

How can I fix this?

@Harry1993
Copy link
Author

@kr0bi Did you select Skim as the build scheme?

@kr0bi
Copy link

kr0bi commented Dec 24, 2020

@Harry1993 Yes I did, I even noticed that Xcode says Product -> Scheme and not Project as you said in the guide.

Xcode 12.3

@Harry1993
Copy link
Author

Harry1993 commented Dec 28, 2020

@kr0bi Thanks. Please see the updated gist.

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