Skip to content

Commit

Permalink
Fix issue where gomobile would not compile on latest xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Aug 23, 2019
1 parent d4910f8 commit 9aa5623
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions cmd/gomobile/build_iosapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ const projPbxproj = `// !$*UTF8*$!
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
ENABLE_BITCODE = NO;
};
name = Release;
};
Expand Down
1 change: 0 additions & 1 deletion cmd/gomobile/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ func envInit() (err error) {
default:
panic(fmt.Errorf("unknown GOARCH: %q", arch))
}
cflags += " -fembed-bitcode"
if err != nil {
return err
}
Expand Down

0 comments on commit 9aa5623

Please sign in to comment.