Running 1 of 1 custom shell scripts freeze

后端 未结 2 388
谎友^
谎友^ 2021-01-13 02:25

I\'m building a framework, while trying to compile the framework for production with custom shell script code, it freeze\'s on this step.

This is the custom shell sc

相关标签:
2条回答
  • 2021-01-13 02:38

    I found the answer to what I asked for, I just did it wrong.

    Let me start by saying that all the tutorials on the web that shows how to create an iOS Static Library, are missing something and not perfect at least what I saw, that's the reason in the first place I had this issue.

    Those are the ones I used to do it right:

    • Xcode 6 iOS Creating a Cocoa Touch Framework - Architectures issues
    • Creating a Static Library in iOS Tutorial By Ray Wenderlich

    And this is the answer to my problem:

    Instead of creating a new Aggregate Target and insert the Custom Shell Script code there, I just added the Custom Shell Script code into the target it self, which was wrong. That's why compilation never completed and always freeze.

    Just click on the + button under the Targets section, choose Other and then Aggregate. In this target you have to go and add your Custom Shell Script code and it will works flawless.

    Thanks for the help.

    Enjoy!

    0 讨论(0)
  • 2021-01-13 02:52

    Run this commond in terminal

    sudo pkill -9 node

    then re-run the project

    0 讨论(0)
提交回复
热议问题