載mac 中有幾款不錯的代碼編輯軟件,我推薦一個textmate,當然很多人可以已經在使用了。
前幾天下載一個xcode的插件,介紹給大家
1.下載插件
2.設置一下(可直接使用的跳過)
首先我們要讓mac現實隱藏文件,在控制檯上輸入(這段網上找得)
顯示Mac隱藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true
隱藏Mac隱藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool false
之後我們打開終端,再進入usr -->bin,輸入xcode-select -print-path,看看設置的xcode路徑
如果路徑不正確就輸入
sudo xcode-select -switch 這裏寫你xcode app 的位置好了再輸入一下xcode-select -print-path是否設置正常
好了,這樣textmate就設置好了,經過試驗,好像無法打開xcode的工程文件。