You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
I have create a TestKotinNative app, but only work when run on simulator.
When I run on my device (iphone 7, 13.4.1), xcode show error "TestKotlinNative.xcodeproj Building for iOS, but the linked and embedded framework 'SharedCode.framework' was built for iOS Simulator."
My Xcode version: 11.4.1
Please help me! Thank
The text was updated successfully, but these errors were encountered:
Hello, @lehanphong!
First of all, I got to remind you that Kotlin/Native issue tracker is in the process of migration onto the YouTrack(#4079).
So, if you want to report a bug or propose a feature - please use this link - https://kotl.in/issue. For usage-related questions - please ask on StackOverflow with kotlin-native tag: https://stackoverflow.com/questions/ask?tags=kotlin-native. For community discussions - use #kotlin-native and #multiplatform channels in Slack workspace for Kotlin community -- https://slack.kotl.in.
About this particular question - this one seems like an incorrect build configuration, rather than a bug. Please share your Gradle script contents so anything more specific can be said. Check if there is an iosArm32 or iosArm64 target in it - those are for targeting a device. If there is only iosX64, this behavior can be assumed as expectable.
Okay then, I'm closing this one as a duplicate. I also found you posted the question to the StackOverflow and answered there, please check if my advice helps.
I have create a TestKotinNative app, but only work when run on simulator.
When I run on my device (iphone 7, 13.4.1), xcode show error "TestKotlinNative.xcodeproj Building for iOS, but the linked and embedded framework 'SharedCode.framework' was built for iOS Simulator."
My Xcode version: 11.4.1
Please help me! Thank
The text was updated successfully, but these errors were encountered: