-
Notifications
You must be signed in to change notification settings - Fork 10
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 #20
Comments
Hi,
I don't see
Please try to clone in separately:
Seems like you have some SSL issues on your machine. |
Hello, I did set export TOOLCHAINS=org.swift.50320190830a, but the screenshot above is not complete, here is the completed info export TOOLCHAINS=org.swift.50320190830a NDK=17c export NDK_ROOT=$ANDROID_NDK_HOME export SWIFT_ANDROID_HOME=$HOME/android/swift-android-current OH, yes, I have no idea why I got the ssl issue, but looks like the log tell me swift build tools completed regardless of the ssl issue |
I found that ssl issue is the network issue, the latest build info don't report the ssl issue again
FAILURE: Build failed with an exception.
By the way I build this project by this command: ./gradlew aseembleDebug, is that okay? |
Yes, it's ok. We use Gradle build in our CI Toolchain somewhy can't find your swift installation
|
please check @andriydruk |
is it matter with the mac os version, what's your build server mac os version? I don't have clue about why this build error occur. @andriydruk |
Hmm, the swift version looks ok. Maybe try to clean up the project/environment. Check our CI script maybe it will help you |
Is your build server build the app by android studio or just gradle? and by the way, what the CI software are you using? @andriydruk |
I wanna confirm that is this project build by the github CI server? |
We use Gradle in this CI script. But should work with Android Studio as well. |
@andriydruk Hello andriydruk, thanks for your patient help. I tried the script in github server, it did build successfully. But when I tried to build the project in two different mac os machines, both met this error. Besides, I think I'm not the only one met this error refer to |
Sir, any update on this? @andriydruk |
I have one more assumption: maybe problem with the macOS version. In Readdle everybody uses the latest version of Big Sur. |
@andriydruk Sir, your assumption is correct, after I upgrade the system to latest version of Big Sur, I built the app successfully. I'm very appreciated this toolchain your guys created, the idea is awesome, please keep making it better and better. Besides, I am a fans of Spark email, which is powerful and intelligent, saving me lots of time. is the toolchain was applied in all the projects in Readdle? |
@EddieMeng thank you for so warm words! We do our best to provide a good experience for all our users. And we are glad to share our expertise with the developer community. Currently, we use the Swift Android toolchain only in Spark because it's the only Readdle's app on the Android platform 🙃 |
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:
Here is the build error I meet:
FAILURE: Build failed with an exception.
Execution failed for task ':app:swiftBuildArm64Debug'.
Here is my environment variable setting in case you want to check it.
I'm looking forward for your reply
The text was updated successfully, but these errors were encountered: