-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
bug in https://github.com/inkeliz/gio-cmd #87
Comments
Can you try with -minsdk 15? Side-note: I'm currently using -minsdk 18, since I'm publishing it on a third-party store and the minimum is 18 for iPad. |
Thanks @inkeliz If you know how , from a terminal, to configure the SDK used please let me know. So it’s repeatable in CI. |
I don't know how to install the latest SDK by terminal. Usually you go to "XCode" > "Settings" > "Components" and get the latest iPhone one. Also, update XCode to the latest version, in AppStore. However, if you already had the latest version, just include
I'm not sure if 18 is required, maybe it can be 15, 16, 17 (...). Omitting |
Ah perfect . That will make it reproducible |
Ok trying out the -minsdk flag :) using latest from: https://github.com/gioui/gio -b v0.6.0 On the hyperlink demo, lipo is complaining. So I guess https://github.com/inkeliz/gio-cmd/blob/main/gogio/iosbuild.go is not handling the -minsdk properly.... I marked the error for each one that fails... # apple mac
# amd64 : works
go run gioui.org/cmd/gogio -schemes "testings" -target macos -arch amd64 -minsdk 18 -o .bin/app_amd64.app .
# arm64 : works
go run gioui.org/cmd/gogio -schemes "testings" -target macos -arch arm64 -minsdk 18 -o .bin/app_arm64.app .
# apple ios
# amd64: works
go run gioui.org/cmd/gogio -schemes "testings" -target ios -arch amd64 -minsdk 18 -o .bin/ios_amd64.app .
# arm64
#fails at lipo: gogio: xcrun lipo -o .bin/ios_arm64.app/Demo -create failed: error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: no input files specified.
go run gioui.org/cmd/gogio -schemes "testings" -target ios -arch arm64 -minsdk 18 -o .bin/ios_arm64.app .
# apple tv
# amd64: works
go run gioui.org/cmd/gogio -schemes "testings" -target tvos -arch amd64 -minsdk 18 -o .bin/tvos_amd64.app .
# arm64
# fails at lipo: gogio: xcrun lipo -o .bin/tvos_arm64.app/Demo -create failed: error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: no input files specified
go run gioui.org/cmd/gogio -schemes "testings" -target tvos -arch arm64 -minsdk 18 -o .bin/tvos_arm64.app .
# windows
# amd64: works
go run gioui.org/cmd/gogio -schemes "testings" -target windows -arch amd64 -o .bin/app_amd64.exe .
# arm64: works
go run gioui.org/cmd/gogio -schemes "testings" -target windows -arch arm64 -o .bin/app_arm64.exe . |
I am getting when I do a iOS build using our go-cmd at https://github.com/inkeliz/gio-cmd
clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a'; try increasing the minimum deployment target
when I use https://github.com/gioui/gio-cmd I dont get this bug.
The text was updated successfully, but these errors were encountered: