Skip to content

Commit b475c74

Browse files
authored
Merge pull request #5 from powersync-ja/minimum-ios-version
Add missing xcframework properties
2 parents 7fa7909 + 565d30d commit b475c74

File tree

6 files changed

+27
-14
lines changed

6 files changed

+27
-14
lines changed

Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ authors = ["JourneyApps"]
3131
keywords = ["sqlite", "powersync"]
3232
license = "Apache-2.0"
3333
homepage = "https://powersync.co"
34-
repository = "https://github.com/journeyapps/powersync-sqlite-core"
34+
repository = "https://github.com/powersync-ja/powersync-sqlite-core"
3535

3636
[workspace.dependencies]
3737
sqlite_nostd = { path="./sqlite-rs-embedded/sqlite_nostd" }

RELEASING.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Bump the version number in these places:
55
1. Cargo.toml
66
2. powersync-sqlite-core.podspec.
77
3. android/build.gradle.kts
8+
4. build-pod.sh - CFBundleVersion and CFBundleShortVersionString.
9+
5. `cargo build` to update Cargo.lock
810

911
Create a tag:
1012

@@ -25,8 +27,7 @@ The above does the following:
2527

2628
1. Create a draft GitHub release.
2729
2. Build the xcframework for iOS and macOS, and upload to GitHub (attached to the above release).
28-
3. Publish the cocoapod for iOS and macOS.
29-
4. Build and publish an Android aar to Sonatype staging.
30+
3. Build and publish an Android aar to Sonatype staging.
3031

3132
Once that is done, go to the Maven staging repository, and "Close", wait, and "Release" the
3233
repository:
@@ -36,3 +37,9 @@ https://s01.oss.sonatype.org/#stagingRepositories
3637
Docs: https://central.sonatype.org/publish/release/
3738

3839
Go to GitHub Releases on the repository, update the description, then "Publish Release".
40+
41+
Publish the cocoapod:
42+
43+
```sh
44+
pod trunk push powersync-sqlite-core.podspec
45+
```

android/build.gradle.kts

+5-5
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ publishing {
8484
pom {
8585
name.set(project.name)
8686
description.set(project.description)
87-
url.set("https://github.com/journeyapps/powersync-sqlite-core")
87+
url.set("https://github.com/powersync-ja/powersync-sqlite-core")
8888

8989
developers {
9090
developer {
@@ -102,9 +102,9 @@ publishing {
102102
}
103103

104104
scm {
105-
connection.set("scm:git:github.com/journeyapps/powersync-sqlite-core.git")
106-
developerConnection.set("scm:git:ssh://github.com/journeyapps/powersync-sqlite-core.git")
107-
url.set("https://github.com/journeyapps/powersync-sqlite-core")
105+
connection.set("scm:git:github.com/powersync-ja/powersync-sqlite-core.git")
106+
developerConnection.set("scm:git:ssh://github.com/powersync-ja/powersync-sqlite-core.git")
107+
url.set("https://github.com/powersync-ja/powersync-sqlite-core")
108108
}
109109
}
110110
}
@@ -125,7 +125,7 @@ publishing {
125125
if (System.getenv("GITHUB_ACTOR") != null) {
126126
maven {
127127
name = "GitHubPackages"
128-
url = uri("https://maven.pkg.github.com/journeyapps/powersync-sqlite-core")
128+
url = uri("https://maven.pkg.github.com/powersync-ja/powersync-sqlite-core")
129129
credentials {
130130
username = System.getenv("GITHUB_ACTOR")
131131
password = System.getenv("GITHUB_TOKEN")

build-pod.sh

+6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ function createXcframework() {
2525
<string>FMWK</string>
2626
<key>CFBundleSignature</key>
2727
<string>????</string>
28+
<key>MinimumOSVersion</key>
29+
<string>11.0</string>
30+
<key>CFBundleVersion</key>
31+
<string>0.1.5</string>
32+
<key>CFBundleShortVersionString</key>
33+
<string>0.1.5</string>
2834
</dict>
2935
</plist>
3036
EOF

powersync-sqlite-core.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Pod::Spec.new do |s|
66
PowerSync extension for SQLite.
77
DESC
88

9-
s.homepage = 'https://github.com/journeyapps/powersync-sqlite-core'
9+
s.homepage = 'https://github.com/powersync-ja/powersync-sqlite-core'
1010
s.license = 'Apache License, Version 2.0'
1111
s.author = 'Journey Mobile, Inc.'
1212

13-
s.source = { :http => "https://github.com/journeyapps/powersync-sqlite-core/releases/download/v#{s.version}/powersync-sqlite-core.xcframework.tar.xz" }
13+
s.source = { :http => "https://github.com/powersync-ja/powersync-sqlite-core/releases/download/v#{s.version}/powersync-sqlite-core.xcframework.tar.xz" }
1414
s.vendored_frameworks = 'powersync-sqlite-core.xcframework'
1515

1616

0 commit comments

Comments
 (0)