diff --git a/packages/capacitor-plugin/CapacitorGeolocation.podspec b/packages/capacitor-plugin/CapacitorGeolocation.podspec index e52c278..c074bae 100644 --- a/packages/capacitor-plugin/CapacitorGeolocation.podspec +++ b/packages/capacitor-plugin/CapacitorGeolocation.podspec @@ -9,8 +9,11 @@ Pod::Spec.new do |s| s.license = package['license'] s.homepage = package['repository']['url'] s.author = package['author'] - s.source = { :git => package['repository']['url'], :tag => s.version.to_s } - s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}' + s.source = { :git => package['repository']['url'], :tag => "v#{s.version}" } + s.source_files = [ + 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}', + 'packages/capacitor-plugin/ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}' + ] s.ios.deployment_target = '15.0' s.dependency 'Capacitor' s.dependency 'IONGeolocationLib', spec='2.0.0'