Skip to content

Commit 3fb4098

Browse files
committed
Fix iOS build
1 parent 74e81e8 commit 3fb4098

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cmd/build-naive/cmd_build.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@ func buildTarget(t Target) {
275275
fmt.Sprintf(`target_platform="%s"`, platform),
276276
fmt.Sprintf(`target_environment="%s"`, environment),
277277
`ios_deployment_target="15.0"`,
278+
// Disable PartitionAlloc for iOS to avoid crashes when embedded in other apps
279+
// PartitionAlloc initialization fails when the host app has its own allocator
280+
"ios_partition_alloc_enabled=false",
278281
)
279282
}
280283

naiveproxy

0 commit comments

Comments
 (0)