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

Process 'command '/Users/userA/swift-android-5.0-r13/build-tools/1.9.6-swift5/swift-build'' finished with non-zero exit value 134 #28

Open
EddieMeng opened this issue Jul 4, 2021 · 0 comments

Comments

@EddieMeng
Copy link

EddieMeng commented Jul 4, 2021

Hello, I'm very appreciated the swift-android toolchain you guys built. So I want to build and run this project personally, after set up the environment like the project said (https://github.com/readdle/swift-android-toolchain) , when I started build this project, I meet this error: Process 'command '/swift-android-5.0-r13/build-tools/1.9.6-swift5/swift-build'' finished with non-zero exit value 134. I fail to resolve this issue after many attempts, so here I come to ask you help, could you help me to check what's went wrong.

I list all the related information below:

  1. MacOS Version: Catalina version 10.15.4
  2. Android Studio Version: 4.2.2
  3. Gradle Version: 6.7.1, Android Studio Gradle plugin Version: 4.2.0
  4. swift-android-toolchain: 5.0-r13

Here is the build error I meet:

Task :app:installSwiftTools
Installing Swift Build Tools v1.9.6-swift5
fatal: unable to access 'https://github.com/readdle/swift-android-buildtools/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
Swift Build Tools v1.9.6-swift5 installed

Task :app:swiftBuildArm64Debug FAILED
Swift PM flags: --configuration debug -Xswiftc -DDEBUG EMBEDDED_CONTENT_CONTAINS_SWIFT=YES
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /Users/userA/swift-android-5.0-r13/toolchain/usr/bin/swift-build
Reason: image not found
/Users/userA/swift-android-5.0-r13/build-tools/1.9.6-swift5/swift-build: line 58: 3229 Abort trap: 6 $SWIFT_ANDROID_HOME/toolchain/usr/bin/swift-build --destination=<($SELF_DIR/generate-destination-json.sh) $flags "$@"

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:swiftBuildArm64Debug'.

Process 'command '/Users/userA/swift-android-5.0-r13/build-tools/1.9.6-swift5/swift-build'' finished with non-zero exit value 134

Here is my environment variable setting in case you want to check it.
Screen Shot 2021-07-05 at 01 13 36

I'm looking forward for your reply

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