diff --git a/HublibFramework.xcframework/Info.plist b/HublibFramework.xcframework/Info.plist index 9e1906b..f32a647 100644 --- a/HublibFramework.xcframework/Info.plist +++ b/HublibFramework.xcframework/Info.plist @@ -4,6 +4,22 @@ AvailableLibraries + + BinaryPath + libhublib.a + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libhublib.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + BinaryPath libhublib.a @@ -23,22 +39,6 @@ SupportedPlatformVariant simulator - - BinaryPath - libhublib.a - HeadersPath - Headers - LibraryIdentifier - ios-arm64 - LibraryPath - libhublib.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - CFBundlePackageType XFWK diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..f15f25f --- /dev/null +++ b/Package.swift @@ -0,0 +1,29 @@ +// swift-tools-version:5.5 +// The swift-tools-version declares the minimum version of Swift required to build this package. +// Swift Package: Hublib + +import PackageDescription; + +let package = Package( + name: "Hublib", + platforms: [ + .iOS(.v13), + .macOS(.v10_15) + ], + products: [ + .library( + name: "Hublib", + targets: ["Hublib"] + ) + ], + dependencies: [ ], + targets: [ + .binaryTarget(name: "HublibFramework", path: "./HublibFramework.xcframework"), + .target( + name: "Hublib", + dependencies: [ + .target(name: "HublibFramework") + ] + ), + ] +) \ No newline at end of file