Move and rename iOS project so it works with KMM plugin

Enables iOS KMP debug on device in Android Studio
This commit is contained in:
Olof Hedman
2025-10-23 15:38:10 +02:00
parent ceb377d8a8
commit e8a3416658
684 changed files with 247 additions and 103 deletions

View File

@@ -0,0 +1,36 @@
{
"name": "iosapi",
"version": "1.0.0",
"homepage": "https://example.com",
"source": {
"http": ""
},
"authors": "",
"license": "",
"summary": "iOS facade",
"vendored_frameworks": "build/cocoapods/framework/shared.framework",
"libraries": "c++",
"platforms": {
"ios": "14.0"
},
"dependencies": {
"GoogleMaps": [
]
},
"xcconfig": {
"ENABLE_USER_SCRIPT_SANDBOXING": "NO"
},
"pod_target_xcconfig": {
"KOTLIN_PROJECT_PATH": ":iosapi",
"PRODUCT_MODULE_NAME": "shared"
},
"script_phases": [
{
"name": "Build iosapi",
"execution_position": "before_compile",
"shell_path": "/bin/sh",
"script": " if [ \"YES\" = \"$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED\" ]; then\n echo \"Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \"YES\"\"\n exit 0\n fi\n set -ev\n REPO_ROOT=\"$PODS_TARGET_SRCROOT\"\n \"$REPO_ROOT/../gradlew\" -p \"$REPO_ROOT\" $KOTLIN_PROJECT_PATH:syncFramework -Pkotlin.native.cocoapods.platform=$PLATFORM_NAME -Pkotlin.native.cocoapods.archs=\"$ARCHS\" -Pkotlin.native.cocoapods.configuration=\"$CONFIGURATION\"\n"
}
]
}