Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bogdanw

macrumors 603
Original poster
Mar 10, 2009
6,145
3,044
Apple might have had a change of heart, iTunes 12.6.5.3 is working in 10.15.4 Beta 3 (19E242d).
I used this script
Code:
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.6.5.3' ~/tmp/iTunes.app/Contents/Info.plist"
do shell script "plutil -replace CFBundleShortVersionString -string 13.6.5 ~/tmp/iTunes.app/Contents/Info.plist"
do shell script "plutil -replace CFBundleVersion -string 13.6.5 ~/tmp/iTunes.app/Contents/Info.plist"
do shell script "ditto ~/tmp/iTunes.app /Applications/iTunes.app"
do shell script "touch /Applications/iTunes.app"
do shell script "rm -rf ~/tmp"
do shell script "open -a /Applications/iTunes.app"
 

bogdanw

macrumors 603
Original poster
Mar 10, 2009
6,145
3,044
Do you just transfer the updated apps to Mojave I guess.?
I can connect my iPhone 6 with iOS 12.4.6 to the VirtualBox virtual machine with Windows 10 x64 Pro Education, perform a backup and install downloaded apps.
But IPA files can be transferred to Mojave or Catalina with a simple drag&drop from C:\Users\User\Music\iTunes\iTunes Media\Mobile Applications
At the moment, due to the restrictions on movement, I don't have the posibility to test newer devices, like iPhone 11.
 
  • Like
Reactions: katbel

Lvivske

macrumors 6502a
Aug 22, 2011
615
259
🇺🇦
hey guys, updated my Catalina today which included a Music update

now my system prompts me that iTunes is damaged and must be deleted

is there a workaround or fix to get it to open again? (i installed itunes from directions in this thread a few months back)
 

bogdanw

macrumors 603
Original poster
Mar 10, 2009
6,145
3,044
giving it a shotso theres no way to get my current itunes back, i need to use this to re-install itunes? any complications with my library i should know about?

If you install the same version of iTunes with Retroactive, there should be no problem with the library.
For me, reinstalling iTunes with the script from post #227 fixed the problem for iTunes 12.6.5.3
 
  • Like
Reactions: Lvivske

XXX_0924

macrumors member
May 1, 2019
47
4
cuba
I do not understand how Apple lets its oldest program which is iTunes in another operating system which is the competencies to work without problems and in macOS which is its environment it does not work, what happens to Apple that is playing with its clients with its people who is faithful to him
 
  • Like
Reactions: katbel

XXX_0924

macrumors member
May 1, 2019
47
4
cuba
that disrespect for Apple that of iTunes that in Windosw works without problems and in macOS still no penalty should give
 

shishkabibal

macrumors newbie
Apr 26, 2008
1
2
Apple might have had a change of heart, iTunes 12.6.5.3 is working in 10.15.4 Beta 3 (19E242d).
I used this script
Code:
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.6.5.3' ~/tmp/iTunes.app/Contents/Info.plist"
do shell script "plutil -replace CFBundleShortVersionString -string 13.6.5 ~/tmp/iTunes.app/Contents/Info.plist"
do shell script "plutil -replace CFBundleVersion -string 13.6.5 ~/tmp/iTunes.app/Contents/Info.plist"
do shell script "ditto ~/tmp/iTunes.app /Applications/iTunes.app"
do shell script "touch /Applications/iTunes.app"
do shell script "rm -rf ~/tmp"
do shell script "open -a /Applications/iTunes.app"

After having problems with the Retroactive solution to installing iTunes on Catalina (e.g., not being able to import songs by double clicking on them from Finder), I used a modified version of your above script on the iTunes 12.9.5 app (taken from Retroactive's iTunes launcher container app) to get that to launch by itself (without being contained inside of Retroactive's iTunes launcher container app). This worked great, but I am not able to get AppleScripts working: AppleScripts run great from Script Editor.app, but fail to even ask for automation permission when run as standalone application or from another script launcher (e.g., BetterTouchTool). Any idea how to fix this? Is there something else I need to modify in iTunes to get this last feature to work correctly?

Edit: Using the modified version of your above script that I mentioned above, I patched the iTunes app within Retroactive's iTunes launcher container app. Now AppleScript apps ask for the proper permission required to work. Unfortunately, fixing this problem broke something with keychains, because now iTunes refuses to remember the passwords for any of AirPlay speakers. I may just downgrade to Mojave. I'm so sick of Music.app's crummy search and the fact that you can't open an album within the album view anymore.

Edit2: I'm stubborn (it might be more just laziness preventing me from downgrading to Mojave) and I found a way to get my computer to store the AirPlay speaker passwords in a way that my Frankenstein's iTunes can use them. Instead of connecting to the speaker through iTunes, which for some reason can't write to Keychain Access, if you connect to the speaker through the system audio (System Preferences > Sound > Output, select AirPlay speaker) this will write the password in Keychain Access (and then iTunes will be able to read it from there without prompting you every time). I'm not sure if anyone will ever have this problem, but I'm sharing the solution here so it shows up by Google search. Thanks for joining me on this journey.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.