can I use androidx lifecycle viewmodel along with ...
# swift-export
s
can I use androidx lifecycle viewmodel along with swift export? Now I'm having problem:
Copy code
Showing Recent Issues
> Task :shared:compileSwiftExportMainKotlinIosSimulatorArm64 FAILED

e: file:///Users/sevaktadevosyan/Documents/GitHub/MatchWin/shared/build/SwiftExport/iosSimulatorArm64/Debug/files/AndroidxLifecycleLifecycleViewmodel/AndroidxLifecycleLifecycleViewmodel.kt:174:26 Cannot infer type for type parameter 'T'. Specify it explicitly.



> Task :shared:iosSimulatorArm64DebugBuildSPMPackage



[Incubating] Problems report is available at: file:///Users/sevaktadevosyan/Documents/GitHub/MatchWin/build/reports/problems/problems-report.html



FAILURE: Build failed with an exception.



* What went wrong:

Execution failed for task ':shared:compileSwiftExportMainKotlinIosSimulatorArm64'.

> Compilation finished with errors
a
Hello there! Thanks for the report. I've minimised the problem and created a ticket for that: KT-82053 Swift Export: Returning optional generic produces uncompilable code
K 1
Attempt to reproduce this problem actually demonstrated one more bug: KT-82054 Swift Export:
private set
is ignored by swift export Again, thanks for the report!
🙌 1
👍 1