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:
36
iosApp/Pods/Local Podspecs/iosapi.podspec.json
generated
Normal file
36
iosApp/Pods/Local Podspecs/iosapi.podspec.json
generated
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user