You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The --kill-others-on-fail flag sends a SIGTERM signal to other processes if one build process fails. Since I don't have Xcode installed, the following build process fails:
I tried removing the --kill-others-on-fail flag and it seemed to work. I am not sure about the repercussions of this and whether there's a better solution.
The text was updated successfully, but these errors were encountered:
BTW, I am not able to choose Labels for issues. IMHO it would be helpful to setup a GitHub Porject for Connectivity GUI App (and potentially other SDK related sub-projects) so that relevant issues can be assigned to the right Project. Using Projects can also help with feature/milestone planning, organized under Project tab.
maddyhof
changed the title
Connectivity GUI App: 'yarn build' requires xcode installed even for android build to work
Add yarn scripts for watching individual platforms
Oct 16, 2023
maddyhof
changed the title
Add yarn scripts for watching individual platforms
Add yarn scripts for watching individual platforms for GUI connectivity example app
Oct 16, 2023
On my development workflow, I don't have
Xcode
installed (Ubuntu) and I am just building for android.In package.json file in shared_backend directory, there's a line that says:
"build": "concurrently 'yarn:build:*' --kill-others-on-fail",
The
--kill-others-on-fail
flag sends a SIGTERM signal to other processes if one build process fails. Since I don't have Xcode installed, the following build process fails:"build:ios": "gomobile bind -target ios,iossimulator -o output/SharedBackend.xcframework github.com/Jigsaw-Code/outline-sdk/x/examples/outline-connectivity-app/shared_backend",
This causes the other processes, including
build:android
to get killed.As a result, the
SharedBackend.aar
&SharedBackend-sources.jar
files don't get generated.Please see the yarn log below:
In Android Studio, the following error is thrown:
Potential solution
I tried removing the
--kill-others-on-fail
flag and it seemed to work. I am not sure about the repercussions of this and whether there's a better solution.The text was updated successfully, but these errors were encountered: