From efd178dc0e846e4b808087a6d38b764f934c045a Mon Sep 17 00:00:00 2001 From: mustiikhalil <26250654+mustiikhalil@users.noreply.github.com> Date: Wed, 5 Jun 2024 19:32:44 +0200 Subject: [PATCH 1/2] Fix versioning not being able to parse vX.Y.Z and updates author --- FlatBuffers.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FlatBuffers.podspec b/FlatBuffers.podspec index 2aa69e2a027..a607bdb03ce 100644 --- a/FlatBuffers.podspec +++ b/FlatBuffers.podspec @@ -10,8 +10,8 @@ Pod::Spec.new do |s| s.homepage = 'https://github.com/google/flatbuffers' s.license = { :type => 'Apache2.0', :file => 'LICENSE' } - s.author = { 'mustii' => 'mustii@mmk.one' } - s.source = { :git => 'https://github.com/google/flatbuffers.git', :tag => s.version.to_s, :submodules => true } + s.author = { 'mustii' => 'me@mustiikhalil.se' } + s.source = { :git => 'https://github.com/google/flatbuffers.git', :tag => "v" + s.version.to_s, :submodules => true } s.ios.deployment_target = '11.0' s.osx.deployment_target = '10.14' From 38e60959001a2e46074370377ebf1f7d8678a296 Mon Sep 17 00:00:00 2001 From: mustiikhalil <26250654+mustiikhalil@users.noreply.github.com> Date: Fri, 7 Jun 2024 10:47:21 +0200 Subject: [PATCH 2/2] Adds BUILD_LIBRARY_FOR_DISTRIBUTION flag for cocoapods --- FlatBuffers.podspec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FlatBuffers.podspec b/FlatBuffers.podspec index a607bdb03ce..83c86e16a05 100644 --- a/FlatBuffers.podspec +++ b/FlatBuffers.podspec @@ -18,4 +18,7 @@ Pod::Spec.new do |s| s.swift_version = '5.0' s.source_files = 'swift/Sources/Flatbuffers/*.swift' + s.pod_target_xcconfig = { + 'BUILD_LIBRARY_FOR_DISTRIBUTION' => 'YES' + } end