I was wondering if anyone knew with XCode 4.1 how to create a shell script. The option for that doesn't exist, but it might be called something else in the latest version. Ta
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
- Select your project in the navigator
- Click "Add Target" - Choose "Aggregate" for an empty Target
- Add Build Phase -> Add Run Script
- Click Build Phases and edit the Run Script Phase