XCode:添加构建阶段已禁用 [英] XCode: add build phase is disabled

查看:36
本文介绍了XCode:添加构建阶段已禁用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的iOS项目中添加 (提供给@Paul Solt)

它是一个错误,当用户选择 Build Pahses 标签时,XCode看不到它.

解决方案

  • 选择 Target -> Build Phases
  • 之后,点击搜索表单下的任意区域或更好的方法,只需打开 Target Dependencies 下拉列表
  • 编辑器->添加构建阶段

我希望它可以节省一些人阅读评论的时间;)

I want to add Crashlytics plugin to my iOS project that demands to add Run script phase. But no matter what I do - for add build phase all options are disabled:

  • I select Target -> Build Phases
  • I have proper scheme
  • My project runs well - no issues,

I run Xcode 6

解决方案

I answer on my question because took me time to find right solution.

Its really strange that the same issue migrates from old versions to XCode 7+. I found solution in one of the comments of similar problem:

how-to-add-a-copy-files-build-phase-to-my-target (credits to @Paul Solt)

Its a bug, when user selects Build Pahses tab, XCode doesn't see that.

Solution

  • select Target -> Build Phases
  • After, click on any area under search form or better way, just open Target Dependencies drop down
  • Editor -> Add Build Phase

I hope it will save time to someone instead to read comments ;)

这篇关于XCode:添加构建阶段已禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆