Skip to content

Commit

Permalink
Update podspec for iOS compilation on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
J-Pabon committed Sep 24, 2024
1 parent f4404dd commit 12c1fd3
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions bindings/dart/darwin/ouisync.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,15 @@ A new Flutter plugin project.
s.author = { 'eQualitie' => 'support@ouisync.net' }

s.source = { :path => '.' }
s.public_header_files = 'Classes**/*.h'
s.source_files = 'Classes/**/*'
s.static_framework = true
# s.ios.vendored_libraries = "**/*.a"
s.vendored_libraries = "**/*.dylib"
s.dependency 'FlutterMacOS'
s.ios.vendored_libraries = "**/*.a"
s.osx.vendored_libraries = "**/*.dylib"
s.ios.dependency 'Flutter'
s.osx.dependency 'FlutterMacOS'

s.platform = :osx, '10.11'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
s.ios.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.osx.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
s.swift_version = '5.0'
end

# s.osx.vendored_libraries = "**/*.dylib"
# s.ios.dependency 'Flutter'
# s.osx.dependency 'FlutterMacOS'

# # s.platform = :osx, '10.11'
# s.ios.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
# s.osx.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
# s.swift_version = '5.0'
# end
end

0 comments on commit 12c1fd3

Please sign in to comment.