Add execution_root to path built xcframework (#1521)

This commit is contained in:
Bart Louwers
2023-08-14 18:19:57 +02:00
committed by GitHub
parent 3e09415b27
commit 07cbae317d
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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"