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

Unable to build ios-app #30

Open
khalid64927 opened this issue Mar 10, 2024 · 0 comments
Open

Unable to build ios-app #30

khalid64927 opened this issue Mar 10, 2024 · 0 comments

Comments

@khalid64927
Copy link

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
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

1 participant