New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build ios-test-application fails with error: Showing All Messages Undefined symbols for architecture x86_64: #201
Comments
It is also failing when trying to run it on a physical device"
|
Looks like an issue with ktor-http-client. @e5l could you please take a look? |
Hi, @vicmns. There are two frameworks in your build directory: arm64, x64. For the simulator consider using the x64 framework, and arm64 for the real device. |
Hey @e5l oh my you were right... I don't remember when I changed the gradle file outPutKind to Framework... Thanks for the note. A quick question... in the case that a framework it's built. How can I managed the created frameworks so I can use them without worrying about the device architecture? I have a project where I create the framework for both platforms. But even when I import them to the xCode project, the compiler is still showing linking errors...
|
As I know there is no out of the box solution. But you could try to merge frameworks into |
Consider avoid including both frameworks into the single target. I'd prefer to create 2 run configurations: for simulator and for a device. |
Could you show your |
Ok, I'm finally able to build the project on iOS. In the end I created a new iOS project and copy correctly the framework. I made a lot of changes so maybe I broke something in the way... Thanks for the help! |
Hey I'm trying to run the demo ios-test-application using xCode 9.4.1 but I'm getting the following error:
Looking at the
sh
script I found that the target for iPhone Simulator is namedios_x64
, with taskcompileDebugIos_x64KotlinNative
. Are both the same architecture and this is only a issue with naming?The text was updated successfully, but these errors were encountered: