Skip to content

Commit

Permalink
cupertino_http: Use sharedDarwinSource (#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan authored Aug 28, 2024
1 parent 51beb4e commit a41141d
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ Pod::Spec.new do |s|
# paths, so Classes contains a forwarder C file that relatively imports
# `../src/*` so that the C sources can be shared among all target platforms.
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'FlutterMacOS'
s.source_files = 'Classes/**/*'
s.ios.dependency 'Flutter'
s.osx.dependency 'FlutterMacOS'
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.14'
s.requires_arc = []

s.platform = :osx, '10.14'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
s.swift_version = '5.0'
end
29 changes: 0 additions & 29 deletions pkgs/cupertino_http/ios/cupertino_http.podspec

This file was deleted.

1 change: 0 additions & 1 deletion pkgs/cupertino_http/macos/Classes/CUPHTTPClientDelegate.m

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion pkgs/cupertino_http/macos/Classes/dart_api_dl.c

This file was deleted.

2 changes: 2 additions & 0 deletions pkgs/cupertino_http/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@ flutter:
platforms:
ios:
ffiPlugin: true
sharedDarwinSource: true
macos:
ffiPlugin: true
sharedDarwinSource: true

0 comments on commit a41141d

Please sign in to comment.