Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I was just wondering, can you make the same instructions but for the one Bundled with macOS Mojave?
Extracting iTunes 12.9.5.5 from Mojave 10.14.6 InstallESDDmg.pkg
https://forums.macrumors.com/threads/itunes-12-6-5-3-on-macos-catalina-10-15.2184518/post-32010794
then run the additional commands
https://forums.macrumors.com/threads/itunes-12-6-5-3-on-macos-catalina-10-15.2184518/post-32588314

And also, the strings are just 13.9.9 as this or should it be 13.9.5.5? Or just 13.9.5?
The important thing is to replace 12 with 13. The rest of the numbers shouldn't matter.

I am also getting that error when iTunes opens, and I think it's the connection with iTunes Store, so it won't let me access the iTunes Store in anyway.
No solution for error -42408
 
  • Like
Reactions: peoux
Updated script for Sequoia

AppleScript:
set theDMG to choose file with prompt "Please select iTunes dmg file:" of type {"dmg"}
do shell script "hdiutil mount " & quoted form of POSIX path of theDMG
do shell script "pkgutil --expand /Volumes/iTunes/Install\\ iTunes.pkg ~/tmp"
do shell script "hdiutil unmount /Volumes/iTunes/"
do shell script "cd ~/tmp/iTunesX.pkg; cat Payload | gunzip -dc |cpio -i; ditto ~/tmp/iTunesX.pkg/Applications/iTunes.app ~/tmp/iTunes.app;"
do shell script "plutil -replace CFBundleGetInfoString -string 'iTunes 13.9.9' ~/tmp/iTunes.app/Contents/Info.plist"
do shell script "plutil -replace CFBundleShortVersionString -string 13.9.9 ~/tmp/iTunes.app/Contents/Info.plist"
do shell script "plutil -replace CFBundleVersion -string 13.9.9 ~/tmp/iTunes.app/Contents/Info.plist"
do shell script "ditto ~/tmp/iTunes.app /Applications/iTunes.app"
do shell script "rm -r ~/tmp"
do shell script "codesign --force --deep --sign - /Applications/iTunes.app"
do shell script "open /Applications/iTunes.app"

Tested with iTunes12.6.5.dmg and iTunes12.8.3.dmg in a Sequoia 15.2 virtual machine.
Can confirm, this does work! I'm using iTunes daily again, which is incredible! Thank you so much Bogdan, mulțumesc mult de tot!!!! <3
 

Attachments

  • Screenshot 2025-04-19 at 11.28.53 AM.png
    Screenshot 2025-04-19 at 11.28.53 AM.png
    2.6 MB · Views: 12
Yes, I do. Sometimes I get a different error as well, and my hope is that some day we can disable that popup!
I also get 11571 that I have to dismiss too, then right after I get the iPhone syncing issue popup. But I'll take it for a better way to manage my music that Apple didn't have to kill!
 

Attachments

  • Screenshot 2025-04-19 at 11.44.17 AM.png
    Screenshot 2025-04-19 at 11.44.17 AM.png
    2.4 MB · Views: 10
Extracting iTunes 12.9.5.5 from Mojave 10.14.6 InstallESDDmg.pkg
https://forums.macrumors.com/threads/itunes-12-6-5-3-on-macos-catalina-10-15.2184518/post-32010794
then run the additional commands
https://forums.macrumors.com/threads/itunes-12-6-5-3-on-macos-catalina-10-15.2184518/post-32588314


The important thing is to replace 12 with 13. The rest of the numbers shouldn't matter.


No solution for error -42408
Man, I am breaking my head trying to understand a lot of things without success but I think you might do haha I have an iPod 7th Gen Late 2009. I have a MacBook Pro with M3 Pro Chip and it only detects this iPod on Finder and iTunes 10.7. Unfortunately, iTunes 10.7 doesn't work for something that I am trying to achieve, that only works with iTunes 12.6.5 or newer. Is there any helper or tool that could be extracted from the 10.7 and replaced in the most recent one to make it detect the iPod? I honestly don't know what that could be, I tried installing the helpers and everything you suggested, but the iPod is only detected on the 10.7.
 
The important thing is to replace 12 with 13. The rest of the numbers shouldn't matter.
Hi, your script for iTunes 10.7 has worked for me on Ventura 13.7.5, MacBook Air M2 15", after the Retroactive iTunes broke with the 13.7.3 security update.

However, there was an issue to make iTunes fully communicate with Yate and vice versa, returning a couple of AppleScript errors when loading iTunes selections into Yate. I've exchanged several e-mails with the Yate developer earlier this week, until we've boiled it down to the "13.9.9" version number that your script adds to Info.plist. The developer has then compiled a "special version" of Yate for me which works around this issue, and the fix will be included in the upcoming public update as well. But he was a bit baffled why this renumbering is even necessary. Can you please elaborate? thanks
 
But he was a bit baffled why this renumbering is even necessary. Can you please elaborate?
macOS has a naughty list :)
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist

Apps that are not allowed to run and iTunes is included as
"com.apple.iTunes"
HardDisabled = 1;
HighVersion = "12.9.9999999";

If you try to run any iTunes with a version equal or lower than "12.9.9999999", you will see the message: “You can’t use this version of the application “iTunes” with this version of macOS.”

Changing iTunes’s version to 13.__ bypasses this restriction.

For macOS versions that no longer receive updates, the Exceptions.plist can be modified. I haven’t tried this method and it could result in macOS not booting.
Explained by @rotoyouoio here https://forums.macrumors.com/threads/itunes-12-6-5-3-on-macos-catalina-10-15.2184518/post-33849489
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.