-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Override a protected @Composable method leads to Compilation Failed on iOS target #4055
Labels
Comments
Reproduced on iOS. Isn't reproducible on desktop. |
igordmn
added
compiler
Compiler plugin related
ios
reproduced
and removed
submitted
labels
Dec 21, 2023
shishkin-pavel
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Feb 7, 2024
shishkin-pavel
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Feb 7, 2024
JetBrains/compose-multiplatform#4055 protected composable functions were trying to be exported for calls from ObjC, resulting in signature mismatches due to Composable functions transformation
shishkin-pavel
added a commit
that referenced
this issue
Feb 8, 2024
This was referenced Feb 8, 2024
shishkin-pavel
added a commit
that referenced
this issue
Feb 8, 2024
shishkin-pavel
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Feb 8, 2024
shishkin-pavel
added a commit
that referenced
this issue
Feb 13, 2024
eymar
pushed a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Feb 14, 2024
JetBrains/compose-multiplatform#4055 protected composable functions were trying to be exported for calls from ObjC, resulting in signature mismatches due to Composable functions transformation
eymar
pushed a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Feb 14, 2024
JetBrains/compose-multiplatform#4055 protected composable functions were trying to be exported for calls from ObjC, resulting in signature mismatches due to Composable functions transformation
shishkin-pavel
pushed a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Mar 5, 2024
fix: prevent protected composable export to objc (#1065) JetBrains/compose-multiplatform#4055 protected composable functions were trying to be exported for calls from ObjC, resulting in signature mismatches due to Composable functions transformation Add HiddenFromObjC annotation to composable declarations Add HiddenFromObjC to property getter and setter if necessary (#579) Use FqName in HideFromObjCDeclarationsSet Also: mark properties of CompositionLocal type as HiddenFromObjC
shishkin-pavel
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Mar 8, 2024
JetBrains/compose-multiplatform#4055 protected composable functions were trying to be exported for calls from ObjC, resulting in signature mismatches due to Composable functions transformation
should be fixed since Compose Compiler 1.5.8.1 (Compose 1.6.0) |
shishkin-pavel
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Mar 21, 2024
JetBrains/compose-multiplatform#4055 protected composable functions were trying to be exported for calls from ObjC, resulting in signature mismatches due to Composable functions transformation
shishkin-pavel
pushed a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Apr 4, 2024
fix: prevent protected composable export to objc (#1065) JetBrains/compose-multiplatform#4055 protected composable functions were trying to be exported for calls from ObjC, resulting in signature mismatches due to Composable functions transformation Add HiddenFromObjC annotation to composable declarations Add HiddenFromObjC to property getter and setter if necessary (#579) Use FqName in HideFromObjCDeclarationsSet Also: mark properties of CompositionLocal type as HiddenFromObjC
shishkin-pavel
pushed a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Apr 10, 2024
objc export: review rename objc export:review fixes/refactoring review fixes Change-Id: If1c308aa92881f5770f112dc9a78e017821f923e TEMPORARY: gerrit review fixes Change-Id: I828204b35cc37d2a9e504494a824b5753f7215fa ktlint check fixes + isCompositionLocal simplification fix: prevent protected composable export to objc (#1065) JetBrains/compose-multiplatform#4055 protected composable functions were trying to be exported for calls from ObjC, resulting in signature mismatches due to Composable functions transformation Add HiddenFromObjC annotation to composable declarations Add HiddenFromObjC to property getter and setter if necessary (#579) Use FqName in HideFromObjCDeclarationsSet Also: mark properties of CompositionLocal type as HiddenFromObjC
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Override a protected
@Composable
method leads to Compilation failed on iOS target.Affected platforms
Versions
To Reproduce
Just add this piece of code and run gradle task
linkPodDebugFrameworkIosSimulatorArm64
.Got this error message:
Expected behavior
This code should be built successfully.
The text was updated successfully, but these errors were encountered: