diff --git a/Package.swift b/Package.swift index a9a4b92..747ef7e 100644 --- a/Package.swift +++ b/Package.swift @@ -6,7 +6,7 @@ import PackageDescription let package = Package( name: "tkey-mpc-swift", platforms: [ - .iOS(SupportedPlatform.IOSVersion.v15) + .iOS(SupportedPlatform.IOSVersion.v15), .macOS(.v10_15) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. diff --git a/Sources/libtkey/libtkey.xcframework/Info.plist b/Sources/libtkey/libtkey.xcframework/Info.plist index d14a1c2..4957386 100644 --- a/Sources/libtkey/libtkey.xcframework/Info.plist +++ b/Sources/libtkey/libtkey.xcframework/Info.plist @@ -8,7 +8,7 @@ <key>BinaryPath</key> <string>libtkey.a</string> <key>LibraryIdentifier</key> - <string>macos-arm64_x86_64</string> + <string>ios-arm64_x86_64-simulator</string> <key>LibraryPath</key> <string>libtkey.a</string> <key>SupportedArchitectures</key> @@ -17,13 +17,15 @@ <string>x86_64</string> </array> <key>SupportedPlatform</key> - <string>macos</string> + <string>ios</string> + <key>SupportedPlatformVariant</key> + <string>simulator</string> </dict> <dict> <key>BinaryPath</key> <string>libtkey.a</string> <key>LibraryIdentifier</key> - <string>ios-arm64_x86_64-simulator</string> + <string>macos-arm64_x86_64</string> <key>LibraryPath</key> <string>libtkey.a</string> <key>SupportedArchitectures</key> @@ -32,9 +34,7 @@ <string>x86_64</string> </array> <key>SupportedPlatform</key> - <string>ios</string> - <key>SupportedPlatformVariant</key> - <string>simulator</string> + <string>macos</string> </dict> </array> <key>CFBundlePackageType</key> diff --git a/Sources/libtkey/libtkey.xcframework/ios-arm64/libtkey.a b/Sources/libtkey/libtkey.xcframework/ios-arm64/libtkey.a deleted file mode 100644 index 4d89a2b..0000000 Binary files a/Sources/libtkey/libtkey.xcframework/ios-arm64/libtkey.a and /dev/null differ diff --git a/Sources/libtkey/libtkey.xcframework/ios-arm64_x86_64-simulator/libtkey.a b/Sources/libtkey/libtkey.xcframework/ios-arm64_x86_64-simulator/libtkey.a index 68a4bcc..d5fb571 100644 Binary files a/Sources/libtkey/libtkey.xcframework/ios-arm64_x86_64-simulator/libtkey.a and b/Sources/libtkey/libtkey.xcframework/ios-arm64_x86_64-simulator/libtkey.a differ diff --git a/Sources/libtkey/libtkey.xcframework/macos-arm64_x86_64/libtkey.a b/Sources/libtkey/libtkey.xcframework/macos-arm64_x86_64/libtkey.a index cc4907d..c6961e2 100644 Binary files a/Sources/libtkey/libtkey.xcframework/macos-arm64_x86_64/libtkey.a and b/Sources/libtkey/libtkey.xcframework/macos-arm64_x86_64/libtkey.a differ