-
Notifications
You must be signed in to change notification settings - Fork 17
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
Linker plugin not working when running tests #47
Comments
i have the same issue as above fox x86_64:
|
Hi! |
I finally found the right place to apply the linker options so that our tests can run: tasks.withType<KotlinNativeCompile>().configureEach {
compilerOptions.freeCompilerArgs.addAll(
listOf(
"-linker-options",
"-U _FIRCLSExceptionRecordNSException " +
"-U _OBJC_CLASS_\$_FIRStackFrame " +
"-U _OBJC_CLASS_\$_FIRExceptionModel " +
"-U _OBJC_CLASS_\$_FIRCrashlytics",
),
)
} |
@joharei thanks for the response. But I'm still getting |
@LukasHromadnik right, I got that one too. You need to make sure you're not importing I'm building a dynamic XCFramework published as an SPM package. |
I have added the linker plugin, but when running
iosX64Test
oriosSimulatorArm64Test
I get the undefined symbols error when building:I have tried similar workarounds like in #46, but I can't get it working.
The text was updated successfully, but these errors were encountered: