From 07cbae317d2193f7e23ff7f415ea9976aebd5678 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Mon, 14 Aug 2023 18:19:57 +0200 Subject: [PATCH] Add execution_root to path built xcframework (#1521) --- platform/ios/MapLibre.podspec | 4 ++-- platform/ios/scripts/deploy-swift-package.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/ios/MapLibre.podspec b/platform/ios/MapLibre.podspec index eea481128..ccf6528ba 100644 --- a/platform/ios/MapLibre.podspec +++ b/platform/ios/MapLibre.podspec @@ -3,7 +3,7 @@ Pod::Spec.new do |s| s.name = 'MapLibre' s.version = version - s.license = { :type => 'BSD', :file => 'LICENSE.md' } + s.license = { :type => 'BSD', :text => '' } s.homepage = 'https://maplibre.org/' s.authors = { 'MapLibre' => '' } s.summary = 'Open source vector map solution for iOS with full styling capabilities.' @@ -12,7 +12,7 @@ Pod::Spec.new do |s| :http => "https://github.com/maplibre/maplibre-native/releases/download/ios-v#{version.to_s}/MapLibre-#{version.to_s}.zip", :flatten => false } - m.social_media_url = 'https://mastodon.social/@maplibre' + s.social_media_url = 'https://mastodon.social/@maplibre' s.ios.deployment_target = '11.0' s.ios.vendored_frameworks = "**/MapLibre.xcframework" end diff --git a/platform/ios/scripts/deploy-swift-package.sh b/platform/ios/scripts/deploy-swift-package.sh index d692ddc51..3039a8a11 100644 --- a/platform/ios/scripts/deploy-swift-package.sh +++ b/platform/ios/scripts/deploy-swift-package.sh @@ -85,7 +85,7 @@ step "Building XCFramework" bazel build //platform/ios:MapLibre.dynamic step "Copying Bazel output" -BUILT_XCFRAMEWORK="$(bazel cquery --output=files //platform/ios:MapLibre.dynamic)" +BUILT_XCFRAMEWORK="$(bazel info execution_root)/$(bazel cquery --output=files //platform/ios:MapLibre.dynamic)" MAPLIBRE_ZIP_FILE="MapLibre-${PUBLISH_VERSION}.zip" cp "$BUILT_XCFRAMEWORK" "$MAPLIBRE_ZIP_FILE"