Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit eb3b844

Browse files
committed
ios support
1 parent ea9049f commit eb3b844

File tree

137 files changed

+10613
-22968
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+10613
-22968
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ charset = utf-8
55
end_of_line = lf
66
insert_final_newline = true
77

8-
[*.{kt,kts}]
8+
[*.{kt,kts,swift}]
99
indent_size = 4
1010
indent_style = space
File renamed without changes.

.gitignore

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -47,37 +47,9 @@ example/ios/Pods
4747
# Ruby
4848
example/vendor/
4949

50-
# node.js
51-
#
52-
node_modules/
53-
npm-debug.log
54-
yarn-debug.log
55-
yarn-error.log
5650

5751
# BUCK
5852
buck-out/
5953
\.buckd/
6054
android/app/libs
6155
android/keystores/debug.keystore
62-
63-
# Yarn
64-
.yarn/*
65-
!.yarn/patches
66-
!.yarn/plugins
67-
!.yarn/releases
68-
!.yarn/sdks
69-
!.yarn/versions
70-
71-
# Expo
72-
.expo/
73-
74-
# Turborepo
75-
.turbo/
76-
77-
# Dynamic podspec
78-
sqlite-storage/SqliteStorage.podspec
79-
80-
# Bob
81-
lib/
82-
# native aar/xcframework
83-
nativeLib/

.yarn/releases/yarn-4.0.2.cjs

Lines changed: 0 additions & 893 deletions
This file was deleted.

.yarnrc.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

AsyncStorageSQLiteKMP.podspec

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
require "json"
2+
3+
info = JSON.parse(File.read(File.join(__dir__, "package_info.json")))
4+
5+
podspecName = info["darwin"]["podspec_name"]
6+
frameworkName = info["darwin"]["xcframework_name"]
7+
8+
Pod::Spec.new do |spec|
9+
spec.name = podspecName
10+
spec.version = info["version"]
11+
spec.summary = info["description"]
12+
spec.homepage = info["homepage"]
13+
spec.license = info["license"]["type"]
14+
spec.author = info["author"]
15+
spec.source = { :git => info["repository"], :tag => "#{spec.version}" }
16+
17+
spec.platforms = { :ios => "13.0" }
18+
19+
spec.vendored_frameworks = "#{podspecName}/#{frameworkName}.xcframework"
20+
spec.source_files = "#{podspecName}/src/**/*.{swift}"
21+
22+
spec.dependency "KMPNativeCoroutinesAsync", "1.0.0-ALPHA-24"
23+
24+
end
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AvailableLibraries</key>
6+
<array>
7+
<dict>
8+
<key>BinaryPath</key>
9+
<string>SQLiteStorageKMP.framework/SQLiteStorageKMP</string>
10+
<key>DebugSymbolsPath</key>
11+
<string>dSYMs</string>
12+
<key>LibraryIdentifier</key>
13+
<string>ios-arm64_x86_64-simulator</string>
14+
<key>LibraryPath</key>
15+
<string>SQLiteStorageKMP.framework</string>
16+
<key>SupportedArchitectures</key>
17+
<array>
18+
<string>arm64</string>
19+
<string>x86_64</string>
20+
</array>
21+
<key>SupportedPlatform</key>
22+
<string>ios</string>
23+
<key>SupportedPlatformVariant</key>
24+
<string>simulator</string>
25+
</dict>
26+
<dict>
27+
<key>BinaryPath</key>
28+
<string>SQLiteStorageKMP.framework/SQLiteStorageKMP</string>
29+
<key>DebugSymbolsPath</key>
30+
<string>dSYMs</string>
31+
<key>LibraryIdentifier</key>
32+
<string>ios-arm64</string>
33+
<key>LibraryPath</key>
34+
<string>SQLiteStorageKMP.framework</string>
35+
<key>SupportedArchitectures</key>
36+
<array>
37+
<string>arm64</string>
38+
</array>
39+
<key>SupportedPlatform</key>
40+
<string>ios</string>
41+
</dict>
42+
</array>
43+
<key>CFBundlePackageType</key>
44+
<string>XFWK</string>
45+
<key>XCFrameworkFormatVersion</key>
46+
<string>1.0</string>
47+
</dict>
48+
</plist>

AsyncStorageSQLiteKMP/SQLiteStorageKMP.xcframework/ios-arm64/SQLiteStorageKMP.framework/Headers/SQLiteStorageKMP.h

Lines changed: 1053 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleExecutable</key>
6+
<string>SQLiteStorageKMP</string>
7+
<key>CFBundleIdentifier</key>
8+
<string>org.asyncstorage.sqlitestorage.SQLiteStorageKMP</string>
9+
<key>CFBundleInfoDictionaryVersion</key>
10+
<string>6.0</string>
11+
<key>CFBundleName</key>
12+
<string>SQLiteStorageKMP</string>
13+
<key>CFBundlePackageType</key>
14+
<string>FMWK</string>
15+
<key>CFBundleShortVersionString</key>
16+
<string>1.0</string>
17+
<key>CFBundleSupportedPlatforms</key>
18+
<array>
19+
<string>iPhoneOS</string>
20+
</array>
21+
<key>CFBundleVersion</key>
22+
<string>1</string>
23+
<key>MinimumOSVersion</key>
24+
<string>12.0</string>
25+
<key>UIDeviceFamily</key>
26+
<array>
27+
<integer>1</integer>
28+
<integer>2</integer>
29+
</array>
30+
<key>UIRequiredDeviceCapabilities</key>
31+
<array>
32+
<string>arm64</string>
33+
</array>
34+
</dict>
35+
</plist>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
framework module SQLiteStorageKMP {
2+
umbrella header "SQLiteStorageKMP.h"
3+
4+
export *
5+
module * { export * }
6+
7+
use Foundation
8+
}

0 commit comments

Comments
 (0)