Hello guys, does anyone know why the iosApp on a f...
# multiplatform
s
Hello guys, does anyone know why the iosApp on a fresh KMM project won't run when the iosSimulatorArm64() target is commented out?
FAILURE: Build failed with an exception.
* What went wrong: A problem occurred configuring project ':shared'.
The project must have a target for at least one of the following platforms: ios_simulator_arm64.
The following build commands failed: PhaseScriptExecution [CP-User]\ Build\ shared /Users/tolusolomon/AndroidStudioProjects/Link/build/ios/Pods.build/Debug-iphonesimulator/shared.build/Script-882AF45D8B8C4938AC461F4FBA0FE197.sh (in target 'shared' from project 'Pods') (1 failure) Command PhaseScriptExecution failed with a nonzero exit code
r
Based on the error message it looks like you are trying to run the iosApp on an iOS simulator on an Apple Silicon Macbook. For that the
iosSimulatorArm64
target is required which isn't currently part of the
ios
shortcut target: https://kotlinlang.slack.com/archives/C3PQML5NU/p1641129596025400?thread_ts=1640966595.016600&cid=C3PQML5NU
s
I see.... Thanks