This is unfortunately not working on Sonoma. Is there anything to do to make it work?For some reason, Suspicious Package takes longer than before to analyze the pkg, so the script from post #43 fails in Big Sur and Monterey.
So, here is another method to get iTunes 12.9.5.5, tested on Monterey. For the most part, this replicates what Retroactive does.
Before beginning, delete iTunes from Applications, ~/tmp and ~/tmpcore from your home folder, if they exist.
- Download the InstallESDDmg.pkg for Mojave 10.14.6 from Apple
Code:https://swcdn.apple.com/content/downloads/17/32/061-26589-A_8GJTCGY9PC/25fhcu905eta7wau7aoafu8rvdm7k1j4el/InstallESDDmg.pkg
Note: if you have Install macOS Mojave.app, you don’t have to download InstallESDDmg.pkg, you can just mount InstallESD.dmg from its /Contents/SharedSupport/ and continue with the sudo pkgutil command below.
- The pkg is acctually a dmg, so we can mount it and extract all the contents of Core.pkg. Be patient, pkgutil --expand takes a long time and requires more than 12GB of free space. From Terminal:
Code:hdiutil attach ~/Downloads/InstallESDDmg.pkg -noverify -nobrowse sudo pkgutil --expand-full /Volumes/InstallESD/Packages/Core.pkg ~/tmpcore hdiutil unmount /Volumes/InstallESD/
* Optional, create a zipped copy of the original iTunes 12.9.5.5, saved on your Desktop as iTunes12.9.5.5_Original.zip
Code:ditto -c -k --sequesterRsrc --keepParent ~/tmpcore/Payload/Applications/iTunes.app ~/Desktop/iTunes12.9.5.5_Original.zip
- Modify iTunes 12.9.5.5 to work on macOS Catalina and above
Code:ditto ~/tmpcore/Payload/Applications/iTunes.app ~/tmp/iTunes.app plutil -replace CFBundleGetInfoString -string 'iTunes 13.9.5.5' ~/tmp/iTunes.app/Contents/Info.plist plutil -replace CFBundleShortVersionString -string 13.9.5 ~/tmp/iTunes.app/Contents/Info.plist plutil -replace CFBundleVersion -string 13.9.5 ~/tmp/iTunes.app/Contents/Info.plist
* Optional, create a zipped copy of the modified iTunes, saved on your Desktop as iTunes12.9.5.5_Patched.zip
Code:ditto -c -k --sequesterRsrc --keepParent ~/tmp/iTunes.app ~/Desktop/iTunes12.9.5.5_Patched.zip
- Copy the modified iTunes into Applications
Code:ditto ~/tmp/iTunes.app /Applications/iTunes.app
- Start iTunes
Code:open -a /Applications/iTunes.app
- Clean-up: delete from Finder ~/tmp and ~/tmpcore, or from Terminal
Code:rm -rf ~/tmp sudo rm -rf ~/tmpcore
*Post edited to correct one misspelled command and to add the note about Install macOS Mojave.app
Have you tried the additional steps from post #374?This is unfortunately not working on Sonoma. Is there anything to do to make it work?
Have you tried the additional steps from post #374?This is unfortunately not working on Sonoma. Is there anything to do to make it work?
https://forums.macrumors.com/threads/itunes-12-6-5-3-on-macos-catalina-10-15.2184518/post-32588314
I did. Without success! I'm not on Apple Silicon. install_name_tool failed:
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: input file: /Applications/iTunes.app/Contents/MacOS/iTunes is not a Mach-O file
sudo codesign --remove-signature /Applications/iTunes.app
install_name_tool -change @executable_path/../Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/MacOS/iTunes
install_name_tool -change @executable_path/../Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/MacOS/iTunes
install_name_tool -change @executable_path/../Frameworks/libgnsdk_musicid.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_musicid.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/MacOS/iTunes
install_name_tool -change @executable_path/../Frameworks/libgnsdk_submit.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_submit.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/MacOS/iTunes
install_name_tool -change @executable_path/../Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib
install_name_tool -change @executable_path/../Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_musicid.3.06.1.dylib
install_name_tool -change @executable_path/../Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_submit.3.06.1.dylib
install_name_tool -change @executable_path/../Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib
install_name_tool -change @executable_path/../Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_musicid.3.06.1.dylib
install_name_tool -change @executable_path/../Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_submit.3.06.1.dylib
sudo codesign -fs - /Applications/iTunes.app --deep
Running the last line gave an error 🥲Hi all,
I'm happy to see there are some others keeping the old ways alive!
I am entering this thread late. I have been using Retroactive to run iTunes 12.9.5.5 on an Intel MBP. I had no trouble with Sonoma until the recent update to 14.7.3.
After this update, iTunes crashes on start with an "CODESIGNING 1 Taskgated Invalid Signature": error. I'm not totally sure why it needed to be resigned (since Retroactive should have taken care of that) but running codesign manually was able to take fix it.
The next error was "tried: '/usr/lib/libgnsdk_dsp.3.06.1.dylib' (no such file, not in dyld cache), (security policy does not allow @ path expansion)". I understand this is the issue that has been breaking iTunes on OCLP macs ( https://forums.macrumors.com/threads/retroactive-for-itunes-is-broken.2382781/ )
I followed rotoyouoio's hardlinking instructions using install_name_tool in #358, which I think are the same as the OCLP issue above. Like HaSch in #380, I got an error from install_name_tool. This turned out to be a simple path error (no idea why we don't have the same paths). Correcting this error enabled iTunes to start again, with the caveat of the -42408 error which can be dismissed without further effect. iTunes seems to be working as usual.
I wrote this up partly for my own notes and in case anyone else finds themselves with this exact issue. Here are the commands I ran:
Code:sudo codesign --remove-signature /Applications/iTunes.app install_name_tool -change @executable_path/../Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/MacOS/iTunes install_name_tool -change @executable_path/../Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/MacOS/iTunes install_name_tool -change @executable_path/../Frameworks/libgnsdk_musicid.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_musicid.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/MacOS/iTunes install_name_tool -change @executable_path/../Frameworks/libgnsdk_submit.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_submit.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/MacOS/iTunes install_name_tool -change @executable_path/../Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib install_name_tool -change @executable_path/../Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_musicid.3.06.1.dylib install_name_tool -change @executable_path/../Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_submit.3.06.1.dylib install_name_tool -change @executable_path/../Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_dsp.3.06.1.dylib install_name_tool -change @executable_path/../Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_musicid.3.06.1.dylib install_name_tool -change @executable_path/../Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_manager.3.06.1.dylib /Applications/iTunes.app/Contents/MacOS/iTunes.app/Contents/Frameworks/libgnsdk_submit.3.06.1.dylib sudo codesign -fs - /Applications/iTunes.app --deep
TryRunning the last line gave an error 🥲
/Applications/iTunes.app: resource fork, Finder information, or similar detritus not allowed
sudo codesign --force --deep --sign - /Applications/iTunes.app
Sadly, same error message.Try
Code:sudo codesign --force --deep --sign - /Applications/iTunes.app
Does Terminal have Full Disk Access?Sadly, same error message.
/Applications/iTunes.app: resource fork, Finder information, or similar detritus not allowed
Good call. It did not.Does Terminal have Full Disk Access?
Once again, greatly appreciate the help.Run first
thenCode:sudo xattr -cr /Applications/iTunes.app
Code:sudo codesign --force --deep --sign - /Applications/iTunes.app
I don't have Ventura to test at the moment, but could you please try to make a new iTunes 12.6.5 app with this script https://forums.macrumors.com/threads/itunes-12-6-5-3-on-apple-silicon.2354390/post-33685483BTW, this is iTunes 12.6.5
Oh dear! That did the magic!!I don't have Ventura to test at the moment, but could you please try to make a new iTunes 12.6.5 app with this script https://forums.macrumors.com/threads/itunes-12-6-5-3-on-apple-silicon.2354390/post-33685483
Backup the current iTunes you have and delete it from Applications.
If you don't have the iTunes12.6.5.dmg, the link from the first post of that thread still works.
Try installing the latest software required to connect iOS devices (MobileDeviceOnDemand & CoreTypes)and reboot.Also, connecting the iPhone to it got an error that says it cannot read the contents of the iPhone and is telling me to restore the iPhone to factory settings.
Tried installing all of them, and iTunes have Full Disk Access.Try installing the latest software required to connect iOS devices (MobileDeviceOnDemand & CoreTypes)and reboot.
https://swcdn.apple.com/content/dow...l5spk5grss6or2zt2qye/MobileDeviceOnDemand.pkg
https://swcdn.apple.com/content/dow...1aw3k1feoirl5spk5grss6or2zt2qye/CoreTypes.pkg
You can also try to give iTunes Full Disk Access.
This worked absolutely beautifully for me, very quickly. I was really annoyed that a routine security update to Ventura could nuke iTunes so completely. Many thanks. It's not of vital importance, but is there any insight regarding error -42408? Thanks again!I don't have Ventura to test at the moment, but could you please try to make a new iTunes 12.6.5 app with this script https://forums.macrumors.com/threads/itunes-12-6-5-3-on-apple-silicon.2354390/post-33685483
Backup the current iTunes you have and delete it from Applications.
If you don't have the iTunes12.6.5.dmg, the link from the first post of that thread still works.
TrySequoia downgrade notification nagging daily.![]()
defaults write com.apple.SoftwareUpdate UserNotificationDate -date "2035-01-01 00:00:00 +0000"
defaults write com.apple.SoftwareUpdate MajorOSUserNotificationDate -date "2035-01-01 00:00:00 +0000"