i tried using the swift-create-xcframework command after installing the swift package, but i get this error:
sdk-funfun-ios % swift create-xcframework
warning: unable to restore workspace state: unknown 'WorkspaceStateStorage' version '6' at '/Users/fun/Coding/CLionProjects/sdk-funfun-ios/.build/workspace-state.json'
debug: evaluating manifest for 'sdk-funfun-ios' v. unknown
error: missingKey("product_type")
debug: evaluating manifest for 'sdk-funfun-ios' v. unknown
error: missingKey("product_type")
Error: fatalError
Any idea how to fix this issue?
What we have is a swift package library, it isn't inside an xcode proj, its just a library project.