一个Cocoapods的依赖,不理解路径是怎么找的。大家给看看



  • 看了一点material design的东西。感觉做出来的东西很好。
    看到这个 组件库 https://github.com/xinthink/react-native-material-kit
    还支持 ios,所以想试试运行。导入cocoapods就不会了。路径问题不懂

    iOS

    Add node_modules/react-native-material-kit/iOS/RCTMaterialKit.xcodeproj to your xcode project, usually under the Libraries group
    Add libRCTMaterialKit.a (from Products under RCTMaterialKit.xcodeproj) to build target's Linked Frameworks and Libraries list
    Option: Using CocoaPods
    //下面是要引入一个podfile文件,请看github的链接
    Assuming you have CocoaPods installed, create a PodFile like this in your app's project directory. You can leave out the modules you don't need.

    以上三步操作,没有做过,不知道路径问题是怎么操作的。 哪位给详细讲讲么?


登录后回复