Update debug iOS library build

This commit is contained in:
世界 2024-12-10 13:13:32 +08:00
parent f0b6818b4c
commit 746f63a9ac
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -130,10 +130,17 @@ func buildAndroid() {
} }
func buildiOS() { func buildiOS() {
var bindTarget string
if debugEnabled {
bindTarget = "ios"
} else {
bindTarget = "ios,iossimulator,tvos,tvossimulator,macos"
}
args := []string{ args := []string{
"bind", "bind",
"-v", "-v",
"-target", "ios,iossimulator,tvos,tvossimulator,macos", "-target", bindTarget,
"-libname=box", "-libname=box",
} }
if !debugEnabled { if !debugEnabled {