Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Error building Tun2Socks on MacOS Sonoma #128

Open
pavel-vorobyev opened this issue Nov 23, 2023 · 1 comment
Open

Error building Tun2Socks on MacOS Sonoma #128

pavel-vorobyev opened this issue Nov 23, 2023 · 1 comment

Comments

@pavel-vorobyev
Copy link

Tried to build on MacOS Sonoma for apple and got this error:

rm -rf "/Users/user/Files/outline-go-tun2socks/build"
go clean
env GOBIN="/Users/user/Files/outline-go-tun2socks/bin" go install golang.org/x/mobile/cmd/gomobile
env GOBIN="/Users/user/Files/outline-go-tun2socks/bin" /Users/user/Files/outline-go-tun2socks/bin/gomobile init
env PATH="/Users/user/Files/outline-go-tun2socks/bin:/Library/Frameworks/Python.framework/Versions/3.12/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/MacGPG2/bin:/usr/local/go/bin:/Users/user/flutter/bin" "/Users/user/Files/outline-go-tun2socks/bin/gomobile" bind -iosversion=11.0 -target=ios,iossimulator -o /Users/user/Files/outline-go-tun2socks/build/ios/Tun2socks.xcframework -ldflags '-s -w' -bundleid org.outline.tun2socks github.com/Jigsaw-Code/outline-go-tun2socks/outline/tun2socks github.com/Jigsaw-Code/outline-go-tun2socks/outline/shadowsocks
/Users/user/Files/outline-go-tun2socks/bin/gomobile: xcodebuild -create-xcframework -framework /var/folders/36/m2hq2hc910v6b_q2q82vsrrr0000gn/T/gomobile-work-3566289854/ios/iphoneos/Tun2socks.framework -framework /var/folders/36/m2hq2hc910v6b_q2q82vsrrr0000gn/T/gomobile-work-3566289854/iossimulator/iphonesimulator/Tun2socks.framework -framework /var/folders/36/m2hq2hc910v6b_q2q82vsrrr0000gn/T/gomobile-work-3566289854/iossimulator/iphonesimulator/Tun2socks.framework -output /Users/user/Files/outline-go-tun2socks/build/ios/Tun2socks.xcframework failed: exit status 70
error: cannot compute path of binary 'Path(str: "/private/var/folders/36/m2hq2hc910v6b_q2q82vsrrr0000gn/T/gomobile-work-3566289854/ios/iphoneos/Tun2socks.framework/Versions/A/Tun2socks")' relative to that of '/var/folders/36/m2hq2hc910v6b_q2q82vsrrr0000gn/T/gomobile-work-3566289854/ios/iphoneos/Tun2socks.framework'

make: *** [/Users/user/Files/outline-go-tun2socks/build/ios/Tun2socks.xcframework] Error 1
@daniellacosse
Copy link
Contributor

Hey! Thanks for reaching out. We're currently in the process of moving our client to Mac Catalyst, so this target will soon be outmoded. Additionally, I'm working on migrating this repository to the client one, which you can follow in this PR.

@daniellacosse daniellacosse changed the title Error building on MacOS Sonoma Error building Tun2Socks on MacOS Sonoma Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants