(from example https://github.com/Kotlin/kmm-sample/)
Next I’ve added this library to Xcode project. When I try to build iOS application for iPhone Xr and I have the error
Ignoring file .../build/xcode-ios-frameworks/XpointSdkIos.framework/XpointSdkIos, building for iOS-arm64 but attempting to link with file built for iOS Simulator-x86_64
so you can set them manually, but having the framework build from xcode (which AFAIK the KMM template also does) or creating a fat framework is a better alternative
a
aleksey.tomin
09/30/2020, 1:25 PM
Yes, I’ve had a copy of this project.
aleksey.tomin
09/30/2020, 1:25 PM
so you can set them manually, but having the framework build from xcode
Framework for iOS must be as small as possible.
t
Tijl
09/30/2020, 1:26 PM
whether you build from xcode or yourself has no effect on size
a
aleksey.tomin
09/30/2020, 1:29 PM
Hm… Ok, thanks!
aleksey.tomin
09/30/2020, 2:26 PM
The root cause of problem - the parameter was loosed 😞