StarPRNT-SDK-iOS-Swift icon indicating copy to clipboard operation
StarPRNT-SDK-iOS-Swift copied to clipboard

SPM Support [BUG]

Open John-Connolly opened this issue 2 years ago • 0 comments

Description

The included XCFramework does not work with Swift package manager. When integrating as a binary target in a swift package, SPM throws the error.

Cannot open file handle for file at path: Path(str: "/Sources/Frameworks/StarIO_Extension.xcframework/ios-arm64_i386_x86_64-simulator/StarIO_Extension.framework")

This is due to no top-level info plist on for the .framework files. Also, the info.plist in the fat framework resources folder is not processed.

Your device where the bug occurs

N/A

Your printer

N/A

Your development environment

ProductName:	macOS
ProductVersion:	12.4
BuildVersion:	21F79

To Reproduce

I have attached a sample project to reproduce quickly. Open the "App" Xcode project in the attached zip and build to replicate.

Expected behaviour

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the bug here.

SPM-import-issue.zip

John-Connolly avatar Aug 04 '22 15:08 John-Connolly