Skip to content

Commit c246bbf

Browse files
committed
fix(ios):Add gomobile init to iOS build script
1 parent f2e957e commit c246bbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openlist-lib/scripts/gobind_ios.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ else
122122
# Build for iOS with more verbose output
123123
echo "Starting iOS build from module root..."
124124
echo "CGO_ENABLED: $CGO_ENABLED"
125+
gomobile init
125126
gomobile bind -ldflags "-s -w" -v -target="ios" ./openlistlib 2>&1 | tee ios_build.log || {
126127
echo "Error: gomobile bind failed"
127128
echo "Build log:"

0 commit comments

Comments
 (0)