There's a bug with Xcode where if the Build Phases tab loses focus all the options will be grayed out. You need to do the following: Click Target Name > Build Phases > Click on whitespace below phases > Editor > Add Build Phase – Paul Solt Oct 8 '13 at 18:51ui
在StackOverFlow上看到的答案,就是說首先要選中target,在選中Build Phases選項卡,再展開選項卡里的其中一個選項才行,這是Xcode的bug。spa
看來要好好學英語,多谷歌了。。code