Closed hefangshi closed 7 years ago
@hefangshi I think you have to use pod in your project. Please try pod-package to package your static library like this:
pod package ${PROJECT_NAME}.podspec --no-mangle --library --spec-sources=http://gitlab.baidao.com/ios/ytx-pod-specs.git,https://github.com/CocoaPods/Specs.git
By the why, do not use --exclude-deps
options.
I copied the source code and add some include like UIKit and CoreGraphics, then it works fine :)
I don't want to use pod since my project is a static library.