Describe the bug
cocoapods-packager allows creating a .framework straight from the podspec. I want to do this to be able to use the framework standalone in a Kotlin/Native library. Here's a sampling (many similar errors) building the pod:
/var/folders/cp/rhxs_tkn71n7jl9t3_hrx7ghvlzs9h/T/cocoapods-1gwurpb8/Pods/LaunchDarkly/LaunchDarkly/LaunchDarkly/Service Objects/FlagSynchronizer.swift:46:51: error: no type named 'LDEvent' in module 'DarklyEventSource'
case success([String: Any], DarklyEventSource.LDEvent.EventType?)
Is this a support request? No
Describe the bug cocoapods-packager allows creating a .framework straight from the podspec. I want to do this to be able to use the framework standalone in a Kotlin/Native library. Here's a sampling (many similar errors) building the pod:
To reproduce
pod package LaunchDarkly.podspec --spec-sources='https://cdn.cocoapods.org/'
(if using bundler, prefix withbundle exec
)Expected behavior Build successfully
Logs
Builid output
SDK version 4.4.0
Language version, developer tools
OS/platform macOS 10.15.2
Additional context Feel free to ask! Not sure what else I can provide.