From aa9b7cc848c91d66fe8a1e51c61f30d5fd83310f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 5 May 2020 10:03:43 +0200 Subject: [PATCH] nix: fix ios sim builds, build for amd64 instead 386 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- nix/status-go/mobile/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nix/status-go/mobile/default.nix b/nix/status-go/mobile/default.nix index 6c2f89427d..1687a8a1d6 100644 --- a/nix/status-go/mobile/default.nix +++ b/nix/status-go/mobile/default.nix @@ -6,6 +6,7 @@ { android = callPackage ./build.nix { platform = "android"; + # 386 is for android simulator architectures = [ "arm" "arm64" "386" ]; outputFileName = "status-go-${source.shortRev}.aar"; inherit meta source goBuildFlags goBuildLdFlags; @@ -13,7 +14,8 @@ ios = callPackage ./build.nix { platform = "ios"; - architectures = [ "arm" "arm64" "386" ]; + # amd64 is for ios simulator + architectures = [ "arm" "arm64" "amd64" ]; outputFileName = "Statusgo.framework"; inherit meta source goBuildFlags goBuildLdFlags; };