[2019.5.20]macOS10.14.5 mojave安裝低版本iTunes,提示“您的系統(tǒng)不支持本軟件。”

此為搬運(yùn)帖子,你再搬運(yùn)請(qǐng)注明最初來源(底部)。

10.13

只有iTunes 12.6.X才能管理部署app(下載,安裝)
官方方案:10.13可用,10.14不可
https://support.apple.com/zh-cn/HT208079

10.14

先下載10.13可用的iTunes
需要SIP 關(guān)閉(具體百度,白果 黑果不同)
利用apple script 腳本:(以下二選一),將下面代碼 貼入 script Editor,運(yùn)行

會(huì)刪除原來iTunes , (也可直接下載https://gist.githubusercontent.com/tanpengsccd/fd7579c9b065f3c84641a2e4b0b5b46e/raw/d10fe299a4e3e05a4fa3870fa71cebcde0fdf493/10.14%2520install%2520itunes.scpt )

set question to display dialog "Delete iTtunes?" buttons {"Yes", "No"} default button 1
set answer to button returned of question
if answer is equal to "Yes" then
    do shell script "rm -rf /Applications/iTunes.app" with administrator privileges
    display dialog "iTunes was deleted" buttons {"Ok"}
    set theDMG to choose file with prompt "Please select iTunes 12.6 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 "sed -i '' 's/18A1/14F2511/g' ~/tmp/Distribution"
    do shell script "sed -i '' 's/gt/lt/g' ~/tmp/Distribution"
    do shell script "pkgutil --flatten ~/tmp ~/Desktop/iTunes.pkg"
    do shell script "hdiutil unmount /Volumes/iTunes/"
    do shell script "rm -rf ~/tmp"
end if
if answer is equal to "No" then
    display dialog "iTunes was not deleted" buttons {"Ok"}
    return
end if

set question to display dialog "Install iTtunes?" buttons {"Yes", "No"} default button 1
set answer to button returned of question
if answer is equal to "Yes" then
    do shell script "open ~/Desktop/iTunes.pkg"
    return
end if
if answer is equal to "No" then
    display dialog "Modified iTunes.pkg saved on desktop" buttons {"Ok"}
    return
end if

然后再運(yùn)行

set theAPP to choose file with prompt "Please select iTunes 12.6 app:" of type {"app"}
do shell script "sed -i '' 's/12.6.5/12.9.4/g' " & POSIX path of theAPP & "Contents/Info.plist" with administrator privileges
set question to display dialog "iTunes was patched. Open iTunes?" buttons {"Yes", "No"} default button 1
set answer to button returned of question
if answer is equal to "Yes" then
    do shell script "open " & POSIX path of theAPP
    return
end if
if answer is equal to "No" then
    display dialog "Modified iTunes saved on " & (POSIX path of theAPP as text) buttons {"Ok"}
    return
end if

運(yùn)行時(shí)如果 提示 iTunes Library.itl 錯(cuò)誤,刪掉就ok

sudo rm ~/Music/iTunes/iTunes\ Library.itl
參考:
https://forums.macrumors.com/threads/apples-special-version-of-itunes-that-still-has-an-app-store-currently-incompatible-with-macos-mojave.2143244/page-4#post-26592234

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

友情鏈接更多精彩內(nèi)容