Error compiling iOS tests with 5.0.0.M2 and compiler plugin
See original GitHub issueWhich version of Kotest are you using 5.0.0.M2
I’m trying out the 5.0.0.M2 preview version with the gradle and compiler plugin, it works for JS and JVM but I’ve having trouble getting it working for iOS. Trying to run the iosX64Test
task results in the following error during the linking step:
The /Applications/Xcode-12.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
Undefined symbols for architecture x86_64:
"_kfun:io.kotest.core.spec.DisplayName#<get-name>(){}kotlin.String", referenced from:
_kfun:io.kotest.engine.test.names.DefaultDisplayNameFormatter#format(kotlin.reflect.KClass<*>){}kotlin.String in result.o
ld: symbol(s) not found for architecture x86_64
Am I missing a depedency specific to iOS? I have the kotest-framework-engine
dependency in my commonTest
source set.
Issue Analytics
- State:
- Created 2 years ago
- Comments:32 (30 by maintainers)
Top Results From Across the Web
" npx cap add ios" fails with error "Updating iOS native ...
I ran the following command in the terminal. sudo xcode-select --reset. and got rid of the error for me.
Read more >Multiplatform plugin does not work with Kotlin 1.6.0-M1 #2538
I don't know how to test snapshot version of Gradle plugin. :( All reactions.
Read more >Cannot be Read or is Not a Valid ZIP file – How to fix Maven ...
Corrupt imported file by Maven caused below error: ... or is not a valid ZIP file CrunchifySpringMVCTutorial Build Path Problem Build path.
Read more >How to Set Up a Local AEM 6.5 Environment with React
Step-by-step tutorial for integrating a React SPA into AEM 6.5, including the initial setup of the local instance of Adobe Experience ...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
... Bug:104477 - "bulldozer - nautilus build extension (new ebuild)" ... fails to compile" status:RESOLVED resolution:OBSOLETE severity:major · Bug:174779 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok its fixed locally. Try 795 once it completes building and you should be good for native. I can run native tests with 1.6, those annotation errors have gone away (I use linux btw). Let me know 😃
There’s still an issue with JS that has started with 1.6. Some runtime issue with coroutines. If you’re not using JS then it won’t affect you, but I hold off releasing 5.0.0 final until I lock down what it is.
So the annotations stay as they are, but we only access via those extension vals. I can give it a go.