ld: warning: ignoring file /Users/vivek/AndroidStudioProjects/kmm-sample/shared/build/xcode-frameworks/shared.framework/shared, building for iOS Simulator-arm64 but attempting to link with file built for iOS Simulator-x86_64
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_SharedGreeting", referenced from:
objc-class-ref in ContentView.o
"_OBJC_CLASS_$_SharedCalculatorCompanion", referenced from:
objc-class-ref in ContentView.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am able to open the xcodeproject in XCode and run it on the iphone Simulator there.
@katokay posted workaround in there....but haven't had chance to try out yet
v
Vivek Subramanian
09/20/2020, 2:06 AM
@John O'Reilly will try this out. I went into a mode of progressively trying out various combinations- will try this one out as well. Thank you.
Vivek Subramanian
09/21/2020, 4:44 AM
@John O'Reilly Thank you so much - that worked! Able to build and launch the simulator from Android studio - also found this on apple's forums - https://developer.apple.com/forums/thread/656509 - looks like it is something apple did with the xcode release.