XCode: add build phase is disabled

前端 未结 3 610
一个人的身影
一个人的身影 2021-02-05 04:58

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 di

3条回答
  •  情书的邮戳
    2021-02-05 05:46

    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 ;)

提交回复
热议问题