How do I create a cocoapod framework and add files to it?

后端 未结 1 1365
北恋
北恋 2021-01-20 16:03

I\'m creating a private pod and would like it to be used as a module. According to Using Pod Lib Create, in CocoaPods.org:

The first question you\'re

1条回答
  •  说谎
    说谎 (楼主)
    2021-01-20 16:49

    According to the same page:

    [!] Note: Due to a Development Pods implementation detail, when you add new/existing files to Pod/Classes or Pod/Assets or update your podspec, you should run pod install or pod update.

    In my experience, you have to be very careful when adding new files because they may end up on a different folder than the expected Pods/Classes.

    When in doubt, I go to the folder containing the project and search for the missing file and move it to the correct folder.

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