Skip to content

Commit 1ed8d23

Browse files
committed
Refactor iOS project configuration for dynamic frameworks and update Kotlin property
This commit introduces several changes to the iOS project configuration and build scripts: - **Dynamic Frameworks:** - Modified `app/ios-kit/build.gradle.kts`, `shared/build.gradle.kts`, and `core/data/db-sqldelight/build.gradle.kts` to set `isStatic = false` for frameworks, enabling dynamic linking. - Updated `Pods-iosApp.debug.xcconfig` and `Pods-iosApp.release.xcconfig` by removing `-ObjC` from `OTHER_LDFLAGS` as it's not required for dynamic frameworks. - Adjusted `Pods-iosApp-frameworks.sh` to correctly install `iosComposeKit.framework` for both Debug and Release configurations. - Updated `Pods-iosApp-frameworks-Release-input-files.xcfilelist`, `Pods-iosApp-frameworks-Debug-output-files.xcfilelist`, `Pods-iosApp-frameworks-Release-output-files.xcfilelist`, and `Pods-iosApp-frameworks-Debug-input-files.xcfilelist` to include `iosComposeKit.framework`. - Modified `project.pbxproj` to reflect changes in framework linkage, target dependencies, and build phase configurations for `iosComposePod`. - Updated paths in `iosComposePod-copy-dsyms-input-files.xcfilelist` and `iosComposePod-copy-dsyms.sh` from `ios-compose-kit` to `ios-kit`. - **Kotlin Property:** - Changed `kotlin.mpp.androidGradlePluginCompatibility.nowarn=true` to `kotlin.apple.xcodeCompatibility.nowarn=true` in `gradle.properties`.
1 parent c591138 commit 1ed8d23

14 files changed

+107
-81
lines changed

app/ios-kit/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ kotlin {
2121
pod("SQLCipher", libs.versions.iosSqlCipher.get(), linkOnly = true)
2222
framework {
2323
baseName = "iosComposeKit"
24-
isStatic = true
24+
isStatic = false
2525
export(project(":core:domain"))
2626
export(project.dependencies.platform(libs.koin.bom))
2727
export(libs.koin.core)

app/iosApp/Pods/Pods.xcodeproj/project.pbxproj

Lines changed: 89 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/iosApp/Pods/Target Support Files/Pods-iosApp/Pods-iosApp-frameworks-Debug-input-files.xcfilelist

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/iosApp/Pods/Target Support Files/Pods-iosApp/Pods-iosApp-frameworks-Debug-output-files.xcfilelist

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/iosApp/Pods/Target Support Files/Pods-iosApp/Pods-iosApp-frameworks-Release-input-files.xcfilelist

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/iosApp/Pods/Target Support Files/Pods-iosApp/Pods-iosApp-frameworks-Release-output-files.xcfilelist

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/iosApp/Pods/Target Support Files/Pods-iosApp/Pods-iosApp-frameworks.sh

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/iosApp/Pods/Target Support Files/Pods-iosApp/Pods-iosApp.debug.xcconfig

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/iosApp/Pods/Target Support Files/Pods-iosApp/Pods-iosApp.release.xcconfig

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/iosApp/Pods/Target Support Files/iosComposePod/iosComposePod-copy-dsyms-input-files.xcfilelist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)