diff --git a/.gitignore b/.gitignore
index c8a035c..d58f261 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
/bin/*
!/bin/.gitkeep
-**/*.log
\ No newline at end of file
+**/*.log
+.DS_Store
diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..919434a
--- /dev/null
+++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/.swiftpm/xcode/package.xcworkspace/xcuserdata/amirsaam.xcuserdatad/UserInterfaceState.xcuserstate b/.swiftpm/xcode/package.xcworkspace/xcuserdata/amirsaam.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..cbda1ad
Binary files /dev/null and b/.swiftpm/xcode/package.xcworkspace/xcuserdata/amirsaam.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/.swiftpm/xcode/xcuserdata/amirsaam.xcuserdatad/xcschemes/xcschememanagement.plist b/.swiftpm/xcode/xcuserdata/amirsaam.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 0000000..f9ad2a0
--- /dev/null
+++ b/.swiftpm/xcode/xcuserdata/amirsaam.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,27 @@
+
+
+
+
+ SchemeUserState
+
+ Libcore.xcscheme_^#shared#^_
+
+ orderHint
+ 0
+
+ hiddify-next-core-Package.xcscheme_^#shared#^_
+
+ orderHint
+ 0
+
+
+ SuppressBuildableAutocreation
+
+ hiddify-next-core
+
+ primary
+
+
+
+
+
diff --git a/Libcore.podspec b/Libcore.podspec
deleted file mode 100644
index 5417cc8..0000000
--- a/Libcore.podspec
+++ /dev/null
@@ -1,11 +0,0 @@
-Pod::Spec.new do |s|
- s.name = 'Libcore'
- s.version = '0.10.0'
- s.summary = 'Hiddify mobile SDK for iOS'
- s.homepage = 'https://hiddify.com/'
- s.license = { :type => 'Copyright', :text => 'Hiddify Open Software' }
- s.author = { 'Hiddify' => 'ios@hiddify.com' }
- s.source = { :http => "https://github.com/hiddify/hiddify-next-core/releases/download/v#{s.version}/hiddify-libcore-ios.xcframework.tar.gz" }
- s.ios.deployment_target = '15.0'
- s.vendored_frameworks = 'Libcore.xcframework'
-end
\ No newline at end of file
diff --git a/Package.swift b/Package.swift
new file mode 100644
index 0000000..f636380
--- /dev/null
+++ b/Package.swift
@@ -0,0 +1,26 @@
+// swift-tools-version: 5.4
+// The swift-tools-version declares the minimum version of Swift required to build this package.
+
+import PackageDescription
+
+let package = Package(
+ name: "Libcore",
+ platforms: [
+ .iOS(.v13) // Minimum platform version
+ ],
+ products: [
+ .library(
+ name: "Libcore",
+ targets: ["Libcore"]),
+ ],
+ dependencies: [
+ // No dependencies
+ ],
+ targets: [
+ .binaryTarget(
+ name: "Libcore",
+ url: "https://github.com/hiddify/hiddify-next-core/releases/download/draft/hiddify-libcore-ios.xcframework.zip",
+ checksum: "70f84a51508898a706e72ab9eda4af8ab72c321bf79284b38313764b8f2091b2"
+ )
+ ]
+)