Aaron Alaniz
09/04/2023, 4:24 PMAaron Alaniz
09/04/2023, 4:25 PM/Users/aaron/Development/compose-lightsaber/iosApp/iosApp/ContentView.swift:7:9: error: cannot find 'Main_iosKt' in scope
Main_iosKt.MainViewController()
^~~~~~~~~~
Aaron Alaniz
09/04/2023, 4:26 PMmain.ios.kt
to a different directory in the same module ๐
Aaron Alaniz
09/04/2023, 4:28 PMcleanup.sh
script, running ./gradlew shared:embedAndSignPodAppleFrameworkForXcode
in Xcode, but nothing seems to make that main.ios.kt
file visible in ContentView.swift ๐คAaron Alaniz
09/04/2023, 4:29 PMAaron Alaniz
09/04/2023, 4:29 PMRafs
09/04/2023, 5:47 PMAaron Alaniz
09/04/2023, 5:51 PMAaron Alaniz
09/04/2023, 5:51 PM./gradlew shared:compileKotlinIosSimulatorArm64
Rafs
09/04/2023, 5:52 PMAaron Alaniz
09/04/2023, 5:53 PM./gradlew shared:iosSimulatorArm64Binaries
Aaron Alaniz
09/04/2023, 5:55 PMRafs
09/04/2023, 5:55 PMAaron Alaniz
09/04/2023, 5:55 PM./gradlew shared:iosSimulatorArm64Binaries
Configuration 'kspKotlinIosSimulatorArm64ProcessorClasspath' was resolved during configuration time.
This is a build performance and scalability issue.
See <https://github.com/gradle/gradle/issues/2298>
Run with --info for a stacktrace.
BUILD SUCCESSFUL in 2m 17s
4 actionable tasks: 2 executed, 2 up-to-date
โ compose-lightsaber git:(main)
Aaron Alaniz
09/04/2023, 5:55 PMRafs
09/04/2023, 5:56 PMAaron Alaniz
09/04/2023, 5:56 PMAaron Alaniz
09/04/2023, 5:57 PMcocoapods {
version = "1.0.0"
summary = "a summary"
homepage = "insert link"
ios.deploymentTarget = "14.1"
podfile = project.file("../iosApp/Podfile")
framework {
baseName = "shared"
isStatic = true
}
}
Rafs
09/04/2023, 5:57 PMbuild
folder do you see the build outputsRafs
09/04/2023, 5:57 PMAaron Alaniz
09/04/2023, 5:58 PMAaron Alaniz
09/05/2023, 1:34 AMAaron Alaniz
09/05/2023, 1:35 AM*.xcworkspace
file I was able to build in xcode just fineAaron Alaniz
09/05/2023, 1:42 AM