diff --git a/scripts/build.sh b/scripts/build.sh index 9daae31..8cb7c6c 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,11 +1,11 @@ #!/bin/sh set -ex -gradle assembleSkipRevenuecatXCFramework +gradle assembleSkipRevenuecatLibraryXCFramework cd skip-revenuecat/build/XCFrameworks/release/ -rm -f SkipRevenuecat.xcframework.zip -zip -qr SkipRevenuecat.xcframework.zip SkipRevenuecat.xcframework -ls -lah SkipRevenuecat.xcframework.zip -shasum -a 256 SkipRevenuecat.xcframework.zip +rm -f SkipRevenuecatLibrary.xcframework.zip +zip -qr SkipRevenuecatLibrary.xcframework.zip SkipRevenuecatLibrary.xcframework +ls -lah SkipRevenuecatLibrary.xcframework.zip +shasum -a 256 SkipRevenuecatLibrary.xcframework.zip diff --git a/scripts/release.sh b/scripts/release.sh index ab0a218..1503a0a 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -33,7 +33,7 @@ esac # Output the new version echo "New version: $NEW_VERSION" -ARTIFACT="skip-revenuecat/build/XCFrameworks/release/SkipRevenuecat.xcframework.zip" +ARTIFACT="skip-revenuecat/build/XCFrameworks/release/SkipRevenuecatLibrary.xcframework.zip" gh release create --notes "$(cat ${ARTIFACT} | shasum -a 256)" ${NEW_VERSION} ${ARTIFACT} diff --git a/skip-revenuecat/build.gradle.kts b/skip-revenuecat/build.gradle.kts index 4936b2f..bf0d723 100644 --- a/skip-revenuecat/build.gradle.kts +++ b/skip-revenuecat/build.gradle.kts @@ -13,11 +13,11 @@ kotlin { val iosArm64 = iosArm64() val iosSimulatorArm64 = iosSimulatorArm64() - val xcFramework = XCFramework("SkipRevenuecat") + val xcFramework = XCFramework("SkipRevenuecatLibrary") configure(listOf(iosX64, iosArm64, iosSimulatorArm64)) { binaries { framework { - baseName = "SkipRevenuecat" // Customize your framework name + baseName = "SkipRevenuecatLibrary" // Customize your framework name // Add the XCFramework for iOS targets // export(project(":path_to_your_xcframework")) diff --git a/skip-revenuecat/src/commonMain/kotlin/skip/revenuecat/SkipRevenuecat.kt b/skip-revenuecat/src/commonMain/kotlin/skip/revenuecat/SkipRevenuecatLibrary.kt similarity index 100% rename from skip-revenuecat/src/commonMain/kotlin/skip/revenuecat/SkipRevenuecat.kt rename to skip-revenuecat/src/commonMain/kotlin/skip/revenuecat/SkipRevenuecatLibrary.kt