XCode: add build phase is disabled

前端 未结 3 605
一个人的身影
一个人的身影 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:42

    Maxims answer did not work for me.

    I had the same problem and solved it as follows and I opened a bug against apple: issue 22516266 on https://bugreport.apple.com

    Here is how I solved the issue for me:

    1.) Edit Scheme ...

    2.) In the relevant phase of the schema you can add scripts as Pre-Actions or Post-Action, where you will find "New Run Script Action"

    I think you pretty much create any workflow you like with this.

    Hope that helps.

提交回复
热议问题