macOS10.14.6 使用itunes12.6.5

下載 itunes12.6.5

iTunes12.6.5下載鏈接

關(guān)閉SIP系統(tǒng)完整性保護(hù)

重啟電腦,長按command + r 進(jìn)入修復(fù)模式
點(diǎn)擊實(shí)用工具慷垮,選擇終端
在終端輸入命令

$ csrutil disable

提示關(guān)閉之后啥么,重啟電腦.

卸載itunes

1.在終端輸入命令 sudo -i 進(jìn)入系統(tǒng)的root目錄

sudo -i

2.繼續(xù)輸入命令,卸載iTunes

rm -rf /Applications/iTunes.app    

3.手動(dòng)刪除itunes目錄

    1. ~/Library 路徑下刪除itunes目錄
    1. ~/Music 路徑下刪除itunes目錄

4.使用腳本編輯器

  1. 使用腳本刪除itunes
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

2.通常在10.14.4+版本 腳本會(huì)報(bào)錯(cuò)。這時(shí)可以使用一下腳本安裝

display dialog "Please select iTunes 12.6 dmg file" 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"

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

執(zhí)行之后碎罚,選擇已經(jīng)下載好的itunes12.6安裝包。
安裝成功之后纳像,先別著急打開應(yīng)用荆烈,打開應(yīng)用程序itunes目錄。右鍵顯示包內(nèi)容竟趾,進(jìn)入Contents目錄耙考,拷貝info.plist到桌面. 以我這邊為例,搜索 12.6.5 更改為更高的版本潭兽,我這里改為12.9.5 倦始。然后替換Contents目錄下的info.plist文件。

5.打開itunes 即可

6.在設(shè)置完畢之后別忘記重新打開SIP系統(tǒng)完整性保護(hù)

步驟與關(guān)閉SIP步驟一直山卦,在修復(fù)模式下執(zhí)行命令鞋邑,然后重啟

$ csrutil enable
WechatIMG999.jpeg
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市账蓉,隨后出現(xiàn)的幾起案子枚碗,更是在濱河造成了極大的恐慌,老刑警劉巖铸本,帶你破解...
    沈念sama閱讀 216,692評論 6 501
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件肮雨,死亡現(xiàn)場離奇詭異,居然都是意外死亡箱玷,警方通過查閱死者的電腦和手機(jī)怨规,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,482評論 3 392
  • 文/潘曉璐 我一進(jìn)店門陌宿,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人波丰,你說我怎么就攤上這事壳坪。” “怎么了掰烟?”我有些...
    開封第一講書人閱讀 162,995評論 0 353
  • 文/不壞的土叔 我叫張陵爽蝴,是天一觀的道長。 經(jīng)常有香客問我纫骑,道長蝎亚,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,223評論 1 292
  • 正文 為了忘掉前任先馆,我火速辦了婚禮颖对,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘磨隘。我一直安慰自己缤底,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,245評論 6 388
  • 文/花漫 我一把揭開白布番捂。 她就那樣靜靜地躺著个唧,像睡著了一般。 火紅的嫁衣襯著肌膚如雪设预。 梳的紋絲不亂的頭發(fā)上徙歼,一...
    開封第一講書人閱讀 51,208評論 1 299
  • 那天,我揣著相機(jī)與錄音鳖枕,去河邊找鬼魄梯。 笑死,一個(gè)胖子當(dāng)著我的面吹牛宾符,可吹牛的內(nèi)容都是我干的酿秸。 我是一名探鬼主播,決...
    沈念sama閱讀 40,091評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼魏烫,長吁一口氣:“原來是場噩夢啊……” “哼辣苏!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起哄褒,我...
    開封第一講書人閱讀 38,929評論 0 274
  • 序言:老撾萬榮一對情侶失蹤稀蟋,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后呐赡,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體退客,經(jīng)...
    沈念sama閱讀 45,346評論 1 311
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,570評論 2 333
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了萌狂。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片档玻。...
    茶點(diǎn)故事閱讀 39,739評論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖粥脚,靈堂內(nèi)的尸體忽然破棺而出窃肠,到底是詐尸還是另有隱情包个,我是刑警寧澤刷允,帶...
    沈念sama閱讀 35,437評論 5 344
  • 正文 年R本政府宣布,位于F島的核電站碧囊,受9級特大地震影響树灶,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜糯而,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,037評論 3 326
  • 文/蒙蒙 一天通、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧熄驼,春花似錦像寒、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,677評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至祭芦,卻和暖如春筷笨,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背龟劲。 一陣腳步聲響...
    開封第一講書人閱讀 32,833評論 1 269
  • 我被黑心中介騙來泰國打工胃夏, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人昌跌。 一個(gè)月前我還...
    沈念sama閱讀 47,760評論 2 369
  • 正文 我出身青樓仰禀,卻偏偏與公主長得像,于是被迫代替她去往敵國和親蚕愤。 傳聞我的和親對象是個(gè)殘疾皇子悼瘾,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,647評論 2 354

推薦閱讀更多精彩內(nèi)容

  • 一、Python簡介和環(huán)境搭建以及pip的安裝 4課時(shí)實(shí)驗(yàn)課主要內(nèi)容 【Python簡介】: Python 是一個(gè)...
    _小老虎_閱讀 5,744評論 0 10
  • 官網(wǎng) 中文版本 好的網(wǎng)站 Content-type: text/htmlBASH Section: User ...
    不排版閱讀 4,380評論 0 5
  • 首先感謝原創(chuàng)作者:Fredericshihe大家自己喜好決定审胸,但我不敢保證將來不會(huì)出問題亥宿,但是我敢保證不會(huì)白蘋果或...
    MdWhat閱讀 9,961評論 0 6
  • iTunes iTunes是由蘋果公司開發(fā)的媒體播放器,媒體庫砂沛,在線廣播電臺(tái)和移動(dòng)設(shè)備管理應(yīng)用程序烫扼。它用于播放,下...
    dweet閱讀 1,796評論 0 0
  • 關(guān)閉電源的MacBook可在不到三分鐘的時(shí)間內(nèi)完成碍庵。只需幾個(gè)命令映企,黑客就有可能在不知情的情況下提取目標(biāo)的密碼哈希并...
    13049047c237閱讀 5,867評論 0 1