[GH-ISSUE #15786] macOS: edit Info.plist to allow macOS 13.7 (Intel) #56571

Open
opened 2026-04-29 11:03:10 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @RlabsLLC on GitHub (Apr 24, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15786

After doing surgury on this 500MB app, I found out that going to /MacOS and running the ./Ollama script, Ollama GUI ran on my intel iMac like nothing was wrong (However, when I tried Gemma4:e2b, I didn't have enough VRAM or something... it didnt load completly, but Qwen3.5 loads) heres what I did:

  1. Download Ollama: https://ollama.com/download/Ollama.dmg
  2. Extract and move to ~/Desktop
  3. Right click the app and select "Show Package Contents"

Now you have 2 options.

If you want to do a test run:

  1. in the /Contents/ folder, open the ./MacOS/ sub folder and double click the Ollama script.
  2. If it says its unverified, go to settings>privacy and scroll down until you find something mentioning Ollama. (may require a password)
  3. DO NOT SELECT MOVE TO /APPLICATIONS!! IT WILL BREAK THE SETUP!!

If it works for you, do this:

  1. Delete old hashes:
rm -rf ~/Desktop/Ollama.app/Contents/_CodeSignature
  1. Tell macOS that the app is not hostile:
sudo xattr -cr ~/Desktop/Ollama.app
  1. Copy the code below, and replace the contents of Info.plist with this and save:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDisplayName</key>
	<string>Ollama</string>
	<key>CFBundleExecutable</key>
	<string>Ollama</string>
	<key>CFBundleIconFile</key>
	<string>icon.icns</string>
	<key>CFBundleIdentifier</key>
	<string>com.electron.ollama</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>Ollama</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>0.21.1</string>
	<key>CFBundleURLTypes</key>
	<array>
		<dict>
			<key>CFBundleURLName</key>
			<string>Ollama URL</string>
			<key>CFBundleURLSchemes</key>
			<array>
				<string>ollama</string>
			</array>
		</dict>
	</array>
	<key>CFBundleVersion</key>
	<string>0.21.1</string>
	<key>DTCompiler</key>
	<string>com.apple.compilers.llvm.clang.1_0</string>
	<key>DTSDKBuild</key>
	<string>22E245</string>
	<key>DTSDKName</key>
	<string>macosx14</string>
	<key>DTXcode</key>
	<string>1431</string>
	<key>DTXcodeBuild</key>
	<string>14E300c</string>
	<key>LSApplicationCategoryType</key>
	<string>public.app-category.developer-tools</string>
	<key>LSMinimumSystemVersion</key>
	<string>13.7</string>
	<key>LSUIElement</key>
	<true/>
</dict>
</plist>

Changing the LSMinimumSystemVersion key to 13.7 is what tricks macOS to thinking this can run on 13.7, and not 14.0

  1. In a terminal, run this command:
otool -l ~/Desktop/Ollama.app/Contents/MacOS/Ollama | grep -A 4 LC_BUILD_VERSION

It should say ... 14.0 ...
5. Run this:

vtool -set-build-version macos 13.7 14.0 -replace -output ~/Desktop/Ollama.app/Contents/MacOS/Ollama ~/Desktop/Ollama.app/Contents/MacOS/Ollama

After doing all that, run this final command to sign it:

codesign --force --deep --sign - ~/Desktop/Ollama.app

Cmd+C and V it on your desktop and the copy app will be runnable (and wont tell you to update macOS)! NOW, you can select move to Applications!

I was thinking about putting the Ollama app that i edited up onto github... but I realized... trust issues, so I will let you do all the code running :)

Originally created by @RlabsLLC on GitHub (Apr 24, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15786 After doing surgury on this 500MB app, I found out that going to /MacOS and running the ./Ollama script, Ollama GUI ran on my intel iMac like nothing was wrong (However, when I tried Gemma4:e2b, I didn't have enough VRAM or something... it didnt load completly, but Qwen3.5 loads) heres what I did: 1. Download Ollama: https://ollama.com/download/Ollama.dmg 2. Extract and move to ~/Desktop 3. Right click the app and select "Show Package Contents" ## Now you have 2 options. If you want to do a test run: 1. in the /Contents/ folder, open the ./MacOS/ sub folder and double click the Ollama script. 2. If it says its unverified, go to settings>privacy and scroll down until you find something mentioning Ollama. (may require a password) 3. DO NOT SELECT MOVE TO /APPLICATIONS!! IT WILL BREAK THE SETUP!! If it works for you, do this: 1. Delete old hashes: ``` rm -rf ~/Desktop/Ollama.app/Contents/_CodeSignature ``` 2. Tell macOS that the app is not hostile: ``` sudo xattr -cr ~/Desktop/Ollama.app ``` 3. Copy the code below, and replace the contents of `Info.plist` with this and save: ``` <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDisplayName</key> <string>Ollama</string> <key>CFBundleExecutable</key> <string>Ollama</string> <key>CFBundleIconFile</key> <string>icon.icns</string> <key>CFBundleIdentifier</key> <string>com.electron.ollama</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>Ollama</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>0.21.1</string> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLName</key> <string>Ollama URL</string> <key>CFBundleURLSchemes</key> <array> <string>ollama</string> </array> </dict> </array> <key>CFBundleVersion</key> <string>0.21.1</string> <key>DTCompiler</key> <string>com.apple.compilers.llvm.clang.1_0</string> <key>DTSDKBuild</key> <string>22E245</string> <key>DTSDKName</key> <string>macosx14</string> <key>DTXcode</key> <string>1431</string> <key>DTXcodeBuild</key> <string>14E300c</string> <key>LSApplicationCategoryType</key> <string>public.app-category.developer-tools</string> <key>LSMinimumSystemVersion</key> <string>13.7</string> <key>LSUIElement</key> <true/> </dict> </plist> ``` *Changing the `LSMinimumSystemVersion` key to `13.7` is what tricks macOS to thinking this can run on 13.7, and not 14.0* 4. In a terminal, run this command: ``` otool -l ~/Desktop/Ollama.app/Contents/MacOS/Ollama | grep -A 4 LC_BUILD_VERSION ``` *It should say ... 14.0 ...* 5. Run this: ``` vtool -set-build-version macos 13.7 14.0 -replace -output ~/Desktop/Ollama.app/Contents/MacOS/Ollama ~/Desktop/Ollama.app/Contents/MacOS/Ollama ``` ## After doing all that, run this final command to sign it: ``` codesign --force --deep --sign - ~/Desktop/Ollama.app ``` Cmd+C and V it on your desktop and the copy app will be runnable (and wont tell you to update macOS)! NOW, you can select move to Applications! I was thinking about putting the Ollama app that i edited up onto github... but I realized... trust issues, so I will let you do all the code running :)
GiteaMirror added the feature request label 2026-04-29 11:03:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#56571