diff --git a/cmd/internal/build_libbox/main.go b/cmd/internal/build_libbox/main.go index 9d9151bd..cb493299 100644 --- a/cmd/internal/build_libbox/main.go +++ b/cmd/internal/build_libbox/main.go @@ -130,10 +130,17 @@ func buildAndroid() { } func buildiOS() { + var bindTarget string + if debugEnabled { + bindTarget = "ios" + } else { + bindTarget = "ios,iossimulator,tvos,tvossimulator,macos" + } + args := []string{ "bind", "-v", - "-target", "ios,iossimulator,tvos,tvossimulator,macos", + "-target", bindTarget, "-libname=box", } if !debugEnabled {