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
fyne_demo does not start in macos #1555
Comments
I think this relates to a known issue where you will have to specify the older macOS target version in compile options if you want to simply copy the file to another computer. |
It would help if you include the command you used to compile as well |
I think duplicate of #1327 |
Hi Andy, |
forgot to mention, I will follow #1327 and update this ticket with the result |
the fix in #1327 fixed the issue |
closing, seems fixed. |
Bug description:
fyne_demo crashes on start
Reproducing steps:
(@develop)
go get fyne.io/fyne/cmd/fyne_demo
(@develop)
file ~/go/bin/fyne_demo
/Users/clortega/go/bin/fyne_demo_2: Mach-O 64-bit executable x86_64
(@develop)
~/go/bin/fyne_demo
(no stderr/out, and the ui shows up just fine)
(@develop)
scp
/go/bin/fyne_demo clortega@target:/tmp(@ target)
cd ~/tmp
chmod +x fyne_demo
./fyne_demo
observed: the GUI does not come up, output to console follows
console output begin -----
./fyne_demo
dyld: lazy symbol binding failed: Symbol not found: _objc_opt_respondsToSelector
Referenced from: /Users/facundoortega/jambridge2/./fyne_demo (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libobjc.A.dylib
dyld: Symbol not found: _objc_opt_respondsToSelector
Referenced from: /Users/facundoortega/jambridge2/./fyne_demo (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libobjc.A.dylib
SIGABRT: abort
PC=0x55603ba m=0 sigcode=0
signal arrived during cgo execution
...
clip()
...
console output end -----
Device
OS:
development (@develop)
macOS Catalina 10.15.7
(go and Xcode were both installed as described in Fyne site)
target non-development (@target)
(macOS Mojave 10.14.6 (no go neither Xcode were installed in here)
Go version:
development: (@development) go1.15.3 darwin/amd64
non-development: (@target) none
Fyne version: 1.4.0
find ~/go | fgrep fyne | fgrep .mod | fgrep "@" | cat -n
1 /Users/clortega/go/pkg/mod/cache/download/fyne.io/fyne/@v/v1.4.0.mod
2 /Users/clortega/go/pkg/mod/cache/download/github.com/fyne-io/mobile/@v/v0.1.1.mod
3 /Users/clortega/go/pkg/mod/fyne.io/fyne@v1.4.0/go.mod
4 /Users/clortega/go/pkg/mod/github.com/fyne-io/mobile@v0.1.1/go.mod
The text was updated successfully, but these errors were encountered: