I am following <this tutorial> to try out Amper an...
# amper
s
I am following this tutorial to try out Amper and when I run
./amper build
, I get this error error:
Copy code
iosApp.swift:2:8: error: no such module 'kotlin':ios-app:buildIosAppIosSimulatorArm64 
import kotlin
       ^
Any ideas wha the issue might be and how to fix it?
f
Hi! I guess that the tutorial links lead to the example projects for the gradle-based Amper (e.g. examples-gradle/compose-multiplatform) - they are not always compatible with the standalone Amper (
./amper build
). Please try to use examples from
examples-standalone
directory.
s
thanks, @Fedor Ihnatkevich. I had to specify only
iosSimulatorArm64
under
product/platforms
in both
shared
and
ios-app
modules configurations and also change
import kotlin
to
import iosappKotlin
for it to build successfully.
I am, however, now getting
failed: Max boot await attempts exceeded for device:
when I try to run the app with
./amper run --module ios-app
. Any ideas how I could fix this? maybe there is a way to increase the max boot attempts?