You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have property extensions with a @composable backing delegate that looks like this
val text:String @Composable get() ="Some text"
This works as expected for android/desktop, but fails to link for ios clients and throws this error
> Task :app:ui:linkPodDebugFrameworkIosSimulatorArm64
Showing All Messages
> Task :app:ios-compose:linkPodDebugFrameworkIosSimulatorArm64 FAILED
e: There is still an unbound symbol after generation of IR module <NyTimes>:
Unbound public symbol IrSimpleFunctionPublicSymbolImpl: io.github.xxfast.nytimes.ios.compose/text.<get-text>|8349765969627210272[0]
This could happen if there are two libraries, where one library was compiled against the different version of the other library than the one currently used in the project. Please check that the project configuration is correct and has consistent versions of dependencies.
Current work around is to keep these either private or internal
xxfast
changed the title
Using property extensions with a @Composable backing delegate fails to compile for iOS targets
Using a public property extensions with a @Composable backing delegate fails to compile for iOS targets
Mar 21, 2023
xxfast
changed the title
Using a public property extensions with a @Composable backing delegate fails to compile for iOS targets
Using a public property extensions with a @Composable backing delegate fails to link for iOS targets
Mar 21, 2023
Describe the bug
I have property extensions with a @composable backing delegate that looks like this
This works as expected for android/desktop, but fails to link for ios clients and throws this error
Current work around is to keep these either private or internal
Affected platforms
Select one of the platforms below:
Versions
To Reproduce
Steps and/or the code snippet to reproduce the behavior:
app/ios/ios.xcworkspace
and runExpected behavior
@Composable
backing delegates for iOS targets to behave the same as other platforms.This is similar to #2903 so feel free to close this or that if it is the same underlying issue
The text was updated successfully, but these errors were encountered: