From 8670abf45040fe97e32a2a20df85a0cb04ff885e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Thu, 23 May 2019 12:51:21 -0700 Subject: [PATCH] [macos] Notarize macosapp --- platform/macos/ExportOptions.plist | 4 ++++ platform/macos/Mapbox GL.entitlements | 5 +++++ platform/macos/macos.xcodeproj/project.pbxproj | 8 ++++++++ 3 files changed, 17 insertions(+) create mode 100644 platform/macos/Mapbox GL.entitlements diff --git a/platform/macos/ExportOptions.plist b/platform/macos/ExportOptions.plist index 21af10c08a..466e0c2c76 100644 --- a/platform/macos/ExportOptions.plist +++ b/platform/macos/ExportOptions.plist @@ -2,8 +2,12 @@ + destination + upload method developer-id + signingStyle + automatic teamID GJZR2MEM28 diff --git a/platform/macos/Mapbox GL.entitlements b/platform/macos/Mapbox GL.entitlements new file mode 100644 index 0000000000..0c67376eba --- /dev/null +++ b/platform/macos/Mapbox GL.entitlements @@ -0,0 +1,5 @@ + + + + + diff --git a/platform/macos/macos.xcodeproj/project.pbxproj b/platform/macos/macos.xcodeproj/project.pbxproj index 4c4d5b3cfb..e6e1a35a40 100644 --- a/platform/macos/macos.xcodeproj/project.pbxproj +++ b/platform/macos/macos.xcodeproj/project.pbxproj @@ -732,6 +732,7 @@ DAF25713201901C100367EF5 /* MGLHillshadeStyleLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLHillshadeStyleLayer.mm; sourceTree = ""; }; DAF25714201901C200367EF5 /* MGLHillshadeStyleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLHillshadeStyleLayer.h; sourceTree = ""; }; DAF2571D201902A500367EF5 /* MGLHillshadeStyleLayerTests.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MGLHillshadeStyleLayerTests.mm; sourceTree = ""; }; + DAF99A3222968C7B004AD6A8 /* Mapbox GL.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Mapbox GL.entitlements"; sourceTree = ""; }; DAFBD0D51E3FA969000CD6BF /* zh-Hant */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.strings"; sourceTree = ""; }; DAFBD0D61E3FA983000CD6BF /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Foundation.strings"; sourceTree = ""; }; DAFEB3702093ACBF00A86A83 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/Localizable.strings; sourceTree = ""; }; @@ -906,6 +907,7 @@ DA839E891CC2E3400062CAFB = { isa = PBXGroup; children = ( + DAF99A3222968C7B004AD6A8 /* Mapbox GL.entitlements */, DA839E941CC2E3400062CAFB /* Demo App */, DAE6C3291CC30DB200DB3429 /* SDK */, DAE6C3371CC30DB200DB3429 /* SDK Tests */, @@ -1552,6 +1554,11 @@ DA839E911CC2E3400062CAFB = { CreatedOnToolsVersion = 7.3; LastSwiftMigration = 0920; + SystemCapabilities = { + com.apple.HardenedRuntime = { + enabled = 1; + }; + }; }; DAAA17961CE13BAE00731EFE = { CreatedOnToolsVersion = 7.3.1; @@ -2127,6 +2134,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; COMBINE_HIDPI_IMAGES = YES; + ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = app/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; OTHER_CFLAGS = "-fvisibility=hidden";