cocoapods-pack
cocoapods-pack copied to clipboard
Can we specify which subspecs includes?
For instance, in the case of creating Moya pod. which contains some subspecs.
however, pack command does not have the option to specify which subspecs include.
https://raw.githubusercontent.com/Moya/Moya/14.0.0/Moya.podspec
also looks like, generated podspec should have a dependency on Alamofire.
result json does not contain Alamofire
{
"name": "Moya",
"version": "14.0.0",
"summary": "Network abstraction layer written in Swift",
"license": {
"type": "MIT",
"file": "License.md"
},
"authors": {
"Ash Furrow": "[email protected]"
},
"homepage": "https://github.com/Moya/Moya",
"description": "Moya abstracts network commands using Swift Generics to provide developers\\nwith more compile-time confidence.\\n\\nReactiveSwift and RxSwift extensions exist as well. Instructions for installation\\nare in [the README](https://github.com/Moya/Moya).",
"social_media_url": "http://twitter.com/ashfurrow",
"source": {
"http": "https://tmp.com",
"sha256": "eb66b12a4e0e18c37da1fc59bc2551716a224189128b5ed5381b1c5c23ad80b5"
},
"cocoapods_version": ">= 1.4.0",
"swift_versions": "5.0",
"platforms": {
"ios": "10.0"
},
"ios": {
"vendored_frameworks": "ios/Moya.xcframework"
},
"swift_version": "5.0"
}
I do not think subspecs are supported at this time.