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: 41
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: 27
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
 
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.
Bogdan, can you confirm if iTunes still works on Sequoia 15.4.1? I got the notification to update my system a few days ago and am hesitating to do that if I don't know that iTunes will break, I'm on 15.3.2 currently.
 
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
I wonder if you could 'fix' the error by just signing out of the iTunes store on your instance of iTunes. No sign in means it won't be trying to connect to the iTunes store, unsuccessfully, which results in the error.
 
Bogdan, can you confirm if iTunes still works on Sequoia 15.4.1?
No additional problems with iTunes on Sequoia 15.4.1.
I wonder if you could 'fix' the error by just signing out of the iTunes store on your instance of iTunes. No sign in means it won't be trying to connect to the iTunes store, unsuccessfully, which results in the error.
You can see in the video from post 26 (0:57) that I disable iTunes store. The -42408 is still displayed.
I have also tried to delete all the plugins from iTunes (/Applications/iTunes.app/Contents/PlugIns), but the -42408 error still appears.​
 
No additional problems with iTunes on Sequoia 15.4.1.

You can see in the video from post 26 (0:57) that I disable iTunes store. The -42408 is still displayed.
I have also tried to delete all the plugins from iTunes (/Applications/iTunes.app/Contents/PlugIns), but the -42408 error still appears.​
Good to know on both fronts!

I'll update my system then. Thanks! And I really appreciate the work you're doing to keep iTunes alive! It is a lifesaver!
 
  • Like
Reactions: loukash
No additional problems with iTunes on Sequoia 15.4.1.

You can see in the video from post 26 (0:57) that I disable iTunes store. The -42408 is still displayed.
I have also tried to delete all the plugins from iTunes (/Applications/iTunes.app/Contents/PlugIns), but the -42408 error still appears.​
Just updated, can confirm it still works! Initially it gave me a question mark symbol in my dock but once I opened it from the Applications folder it worked just fine and I was able to drag it back in place and get rid of the question mark! THANK YOU AGAIN BOGDAN!!!! And the official Last.FM Scrobbler still works too! ;)

P.S. If you need to use the Last.FM Scrobbler with iTunes, just go to their downloads page and get Last.FM Scrobbler 2.1.37, and it should work! I actually have both versions of the scrobbler (the newest one and this one) on my machine, so if on the off chance I listen to a song on Music as opposed to iTunes, it'll still scrobble it! Here's the link to download it, straight from Last.FM themselves: https://cdn.last.fm/client/updates/updates.html?platform=Mac&releasestate=beta Just scroll down until you find 2.1.37. Cheers!
 
Last edited:
  • Like
Reactions: bogdanw
keep iTunes alive! It is a lifesaver!
It literally is.
The few months with the abysmal Music.app were a literal hell for me, after the recent Ventura update broke the Retroactive iTunes version. I don't remember having used a crappier piece of (cr)app from Apple than the Music.crapp, seriously, in all my 36 years as a Mac user. I've been using iTunes since v1.0, partially for a living, creating my DJ playlists, tracklist drafts for multiple reissue compilations I've co-produced, managing my own music production masters and hundreds of live recordings with my bands, etc. etc. Still at it as I type this…

The "hacked" iTunes 10.7 has its quirks as well, but once I've learned how to avoid and work around them, it's rock solid.

So thanks again @bogdanw ! :)
 
  • Like
  • Love
Reactions: bogdanw and vascanj
What quirks?
  • Crash when closing the modal Preferences window. The Retroactive version did this, too. Not such a big deal because there are other ways to change preferences, like editing the plist file or running an AppleScript.
  • No drag and drop to Finder or docked apps. Easy to work around via Yate or AppleScript though.
Which OS are you using?
Ventura on M2
 
Experimental, just for fun - iTunes slim :)
This script creates a slimmed version of iTunes 12.6.5.3 by removing from it iTunesASUHelper, iTunesHelper.app, all PlugIns, XPCServices and replacing Frameworks with links to the ones already included in macOS Sequoia. The iTunes app created can play Internet Radio and mp3 files. Other features may be affected or broken. Error -42408 is still displayed.

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"

-- slimming iTunes
do shell script "rm ~/tmp/iTunes.app/Contents/MacOS/iTunesASUHelper"
do shell script "rm -r ~/tmp/iTunes.app/Contents/MacOS/iTunesHelper.app"
do shell script "rm -r ~/tmp/iTunes.app/Contents/PlugIns"
do shell script "rm -r ~/tmp/iTunes.app/Contents/XPCServices"
do shell script "rm -rf ~/tmp/iTunes.app/Contents/Frameworks/*"
do shell script "ln -s /System/Library/PrivateFrameworks/AMPLibrary.framework/Versions/Current/Frameworks/libgnsdk_dsp.3.06.1.dylib ~/tmp/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib"
do shell script "ln -s /System/Library/PrivateFrameworks/AMPLibrary.framework/Versions/Current/Frameworks/libgnsdk_manager.3.06.1.dylib ~/tmp/iTunes.app/Contents/Frameworks/libgnsdk_manager.3.06.1.dylib"
do shell script "ln -s /System/Library/PrivateFrameworks/AMPLibrary.framework/Versions/Current/Frameworks/libgnsdk_musicid.3.06.1.dylib ~/tmp/iTunes.app/Contents/Frameworks/libgnsdk_musicid.3.06.1.dylib"
do shell script "ln -s /System/Library/PrivateFrameworks/AMPLibrary.framework/Versions/Current/Frameworks/libgnsdk_submit.3.06.1.dylib ~/tmp/iTunes.app/Contents/Frameworks/libgnsdk_submit.3.06.1.dylib"
do shell script "ln -s /System/Library/PrivateFrameworks/iPodUpdater.framework ~/tmp/iTunes.app/Contents/Frameworks/iPodUpdater.framework"

do shell script "ditto ~/tmp/iTunes.app /Applications/iTunes.app"
do shell script "rm -r ~/tmp"
do shell script "codesign --force --sign - /Applications/iTunes.app"
do shell script "open /Applications/iTunes.app"
 
  • Crash when closing the modal Preferences window. The Retroactive version did this, too. Not such a big deal because there are other ways to change preferences, like editing the plist file or running an AppleScript.
  • No drag and drop to Finder or docked apps. Easy to work around via Yate or AppleScript though.

Ventura on M2
Once Sequoia came out, the Preferences crashing issue went away so if you can update, that would help there. I'm still using my old Retroactive installed version but did have to use the codesign command as described by bogdanw when the 15.3 update came out.

As to drag and drop, I'm not sure what you're saying so if you could give specific examples, I will check on my M1 Air which is running the latest Sequoia.
 
Once Sequoia came out, the Preferences crashing issue went away so if you can update, that would help there. I'm still using my old Retroactive installed version but did have to use the codesign command as described by bogdanw when the 15.3 update came out.

As to drag and drop, I'm not sure what you're saying so if you could give specific examples, I will check on my M1 Air which is running the latest Sequoia.
I think he is saying that you can't drag. I am trying to find a way around that too, as I manage my iPod classic manually, so I need to drag albums into it, but if an album has more than one track or if I try to drag more than one item at once, it crashes lol
 
I think he is saying that you can't drag. I am trying to find a way around that too, as I manage my iPod classic manually, so I need to drag albums into it, but if an album has more than one track or if I try to drag more than one item at once, it crashes lol
I don't use version 10.7 for adding/deleting songs using an iPhone so I can't say if that's the case.
 
Have you installed the latest MobileDeviceOnDemand.pkg?
Links and script to get the links https://forums.macrumors.com/threads/itunes-software-updates.2416893/post-33894235
Yeah I tried that, it doesn't work. What bugs me is that my iPod classic 7th gen gets detected on the 10.7 (retroactive version) but not on any other version (retroactive or using your script) on Sequoia. I wonder whats the difference there. Is there any iPod helper within the components in the 10.7 that I could copy and replace on my 12.6.5.3 to make it identify the iPod?

1747002029531.png
1747002056577.png
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.