Skip to content

Unable to build ios-appΒ #30

@khalid64927

Description

@khalid64927

When attempting to build the sample iOS app, I encountered the following error consistently across both Xcode and command line:

ld: framework 'Pods_TestProj' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
FAILURE: Build failed with an exception.

This issue persists on the master branch. Here are the pertinent version details:

  • Xcode version: 15.3
  • Kotlin version: 1.9.22
  • Compose Multiplatform version: 1.5.12

Steps Taken:

In an attempt to resolve the issue, I tried upgrading both Kotlin and Compose versions. However, this resulted in a different error. After adding the @OptIn annotation, the build succeeded, but the simulator failed to launch.

Expected Outcome:

I was expecting the demo FaceID app to launch successfully. However, due to my limited familiarity with iOS development, I'm uncertain if testing Face ID on the simulator is feasible without proper Apple entitlements.

Additional Error Details:

Upon further investigation, the build failure was accompanied by the following error message:

* What went wrong:
Execution failed for task ':biometry:compileKotlinIosSimulatorArm64'.
> Compilation finished with errors

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4s
4 actionable tasks: 4 executed
Command PhaseScriptExecution failed with a nonzero exit code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions