From 4d869396b05e0f1480baed030cc1d10889f020c8 Mon Sep 17 00:00:00 2001 From: Roman Gardukevich Date: Mon, 22 Apr 2024 13:50:06 +0300 Subject: [PATCH] Sign frameworks with Apple Distribution cert (#2120) --- .fastlane/Fastfile | 5 +++++ CHANGELOG.md | 2 ++ scripts/release/packager/package-mapbox-maps.sh | 3 +++ 3 files changed, 10 insertions(+) diff --git a/.fastlane/Fastfile b/.fastlane/Fastfile index 016449d85b0..05ca046c739 100644 --- a/.fastlane/Fastfile +++ b/.fastlane/Fastfile @@ -17,6 +17,11 @@ ENV["SPACESHIP_SKIP_2FA_UPGRADE"] = "1" platform :ios do + lane :setup_distribution_cert do + setup_ci + match(type: "appstore") + end + lane :build_examples_tests do app_store_connect_api_key setup_circle_ci diff --git a/CHANGELOG.md b/CHANGELOG.md index 28f309e9fcb..2d0c2868b57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,13 @@ Mapbox welcomes participation and contributions from everyone. * `MapStyle` now accepts `importConfigurations` as a map where the key is `importId` instead of an array * `StyleImportConfiguration.standard` is no more exposed, use `MapStyle.standard()` to provide configuration for Standard style + * Allow to assign slot to 2D and 3D location indicators. * Allow to add slots at runtime. * Expose API to interact with styile imports using Declarative Styling and regular imperative API. * Expose `StyleImport` for declarative styling as `MapStyleContent`. * Expose `removeStyleImport`, `moveStyleImport`, `updateStyleImport`, `addStyleImport` methods on `StyleManager` +* Add codesign for XCFrameworks. ## 11.3.0 - 10 April, 2024 diff --git a/scripts/release/packager/package-mapbox-maps.sh b/scripts/release/packager/package-mapbox-maps.sh index d041e94d4fe..56f7bf981cd 100755 --- a/scripts/release/packager/package-mapbox-maps.sh +++ b/scripts/release/packager/package-mapbox-maps.sh @@ -53,6 +53,9 @@ rm -rf .xcode popd +step 'Sign XCFrameworks' +codesign --timestamp -v --sign "Apple Distribution: Mapbox, Inc. (GJZR2MEM28)" artifacts/*.xcframework + step 'Add License and README to bundle' cp ../../../LICENSE.md artifacts/ cp "$README_PATH" artifacts/README.md