skiptools / skiptools/skip

checkup failed - Fatal error: Cannot create dynamic libraries for os "ios"

Open
#354 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cli setup
Dominant language
Swift
Stars
3.2k
Forks
106
Avg merge
6d 13h
Merged PRs (30d)
1

Description

executing command: /opt/homebrew/bin/skip version
Skip version 1.2.31
executing command: /usr/bin/sw_vers --productVersion
14.5
executing command: /usr/sbin/sysctl -n sysctl.proc_translated
0
executing command: /usr/bin/swift -version
Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
Target: arm64-apple-macosx14.0
swift-driver version: 1.87.1
executing command: /usr/bin/xcodebuild -version
Xcode 15.0.1
Build version 15A507
executing command: /opt/homebrew/bin/brew --version
Homebrew 4.4.21
executing command: /opt/homebrew/bin/gradle -version

Gradle 8.12.1

Build time: 2025-01-24 12:55:12 UTC
Revision: 0b1ee1ff81d1f4a26574ff4a362ac9180852b140
Kotlin: 2.0.21
Groovy: 3.0.22
Ant: Apache Ant(TM) version 1.10.15 compiled on August 25 2024
Launcher JVM: 23.0.2 (Homebrew 23.0.2)
Daemon JVM: /opt/homebrew/Cellar/openjdk/23.0.2/libexec/openjdk.jdk/Contents/Home (no JDK specified, using current Java home)
OS: Mac OS X 14.5 aarch64
executing command: /opt/homebrew/opt/java/bin/java -version
openjdk version "23.0.2" 2025-01-21
OpenJDK Runtime Environment Homebrew (build 23.0.2)
OpenJDK 64-Bit Server VM Homebrew (build 23.0.2, mixed mode, sharing)
executing command: /opt/homebrew/bin/adb version
Android Debug Bridge version 1.0.41
Version 34.0.5-10900879
Installed as /opt/homebrew/bin/adb
Running on Darwin 23.5.0 (arm64)

......

executing command: /opt/homebrew/bin/gradle assembleRelease --console=plain --project-dir /var/folders/d_/rwnjcn0962v331fzf0zsrlq00000gp/T//042B7CF5-BD3A-4BBF-8B09-2B13ED2AB2A8/Android
Basics/Triple+Basics.swift:149: Fatal error: Cannot create dynamic libraries for os "ios".
[Incubating] Problems report is available at: file:///private/var/folders/d_/rwnjcn0962v331fzf0zsrlq00000gp/T/042B7CF5-BD3A-4BBF-8B09-2B13ED2AB2A8/Android/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.

  • Where:
    Settings file '/private/var/folders/d_/rwnjcn0962v331fzf0zsrlq00000gp/T/042B7CF5-BD3A-4BBF-8B09-2B13ED2AB2A8/Android/settings.gradle.kts' line: 18
  • What went wrong:
    Process 'command 'sh'' finished with non-zero exit value 133
  • 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 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.12.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 6s

Hello everyone!
Can you help with this problem? It occurs at the stage of android assembly. But why..

Image

?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Android assembly with gradle assembleRelease, then inspect Android/settings.gradle.kts at line 18 and Basics/Triple+Basics.swift at line 149. Compare the reported Swift, Xcode, Gradle, and Java versions while tracing the command that exits with status 133. Done means the Android release assembly completes without the fatal dynamic-library error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, swift
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.