Skip to content
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

[BUG] IOS Build Error. #342

Open
NakiriYuuzu opened this issue Jun 25, 2024 · 1 comment
Open

[BUG] IOS Build Error. #342

NakiriYuuzu opened this issue Jun 25, 2024 · 1 comment

Comments

@NakiriYuuzu
Copy link

Describe the bug
Using Precompose 1.6.0 is working fine, but when I upgrade to 1.6.1 get this Build Error.

Failed to load native library:libjansi.jnilib. The native library file at .gradle/native/jansi/1.18/osx/libjansi.jnilib is not executable, make sure that the directory is mounted on a partition without the noexec flag, or set the jansi.tmpdir system property to point to a proper location.  osinfo: Mac/arm64

w: Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: ComposeApp. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag.
e: Compilation failed: Exception during generating code for following declaration:
Inside: FILE fqName:<root>
Inside: CLASS OBJECT name:ComposableSingletons$AppKt modality:FINAL visibility:internal superTypes:[]
@Composable
private fun <init>$lambda$8$lambda$7$lambda$6($navigator: Navigator, /* var */ $composer: Composer?, $changed: Int) {
  $init_global()
  var $composer: Composer? = $composer
  when {
    when {
      areEqualByValue(first = $changed.and(other = 11).reinterpret<Int, Int>(), second = 2.reinterpret<Int, Int>()).not() -> true
      true -> $composer.<get-skipping>().not()
    } -> { // BLOCK
      Navigation(navigator = $navigator, $composer = $composer, $changed = #moe_tlaster_precompose_navigation_Navigator$stable)
    }
    true -> $composer.skipToGroupEnd()
  }
  return theUnitInstance()
}


Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: ComposeApp. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag.

 * Source files: 
 * Compiler version: 2.0.0
 * Output kind: FRAMEWORK

To Reproduce
Steps to reproduce the behavior:

  1. Run on apple device.
@Tlaster
Copy link
Owner

Tlaster commented Jun 25, 2024

Seems like we're on board with the same issue: JetBrains/compose-multiplatform#4809 (comment)

Calvin-LL added a commit to Calvin-LL/Reorderable that referenced this issue Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants