Skip to content

Commit 4c8d7be

Browse files
authored
fix: Cocoapods relative import (#874)
* Fix Cocoapods relative import * Update dependencies * Add lints license * Update amplify_flutter * 0.2.4
1 parent 8d77a24 commit 4c8d7be

File tree

29 files changed

+292
-55
lines changed

29 files changed

+292
-55
lines changed

example/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ dependencies:
2525
flutter:
2626
sdk: flutter
2727
file_picker: ^3.0.0-nullsafety.2
28-
amplify_flutter: 0.2.3
29-
amplify_analytics_pinpoint: 0.2.3
30-
amplify_auth_cognito: 0.2.3
31-
amplify_storage_s3: 0.2.3
28+
amplify_flutter: 0.2.4
29+
amplify_analytics_pinpoint: 0.2.4
30+
amplify_auth_cognito: 0.2.4
31+
amplify_storage_s3: 0.2.4
3232
# The following adds the Cupertino Icons font to your application.
3333
# Use with the CupertinoIcons class for iOS style icons.
3434
cupertino_icons: ^0.1.3

packages/amplify_analytics_pinpoint/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.2.4 (2021-09-10)
2+
3+
### Fixes
4+
5+
- fix: CocoaPods relative import
6+
17
## 0.2.3 (2021-09-09)
28

39
### Features

packages/amplify_analytics_pinpoint/ios/amplify_analytics_pinpoint.podspec

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
load '../../../build-support/dependencies.rb'
2-
31
#
42
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
53
# Run `pod lib lint amplify_analytics_pinpoint.podspec' to validate before publishing.
@@ -20,12 +18,9 @@ This code is the iOS part of the Amplify Flutter Pinpoint Analytics Plugin. The
2018
s.dependency 'Amplify', '~> 1.13.0'
2119
s.dependency 'AmplifyPlugins/AWSPinpointAnalyticsPlugin', '~> 1.13.0'
2220
s.dependency 'amplify_core'
23-
s.dependency 'SwiftLint'
24-
s.dependency 'SwiftFormat/CLI'
2521
s.platform = :ios, '11.0'
2622

2723
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
2824
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
29-
s.swift_version = $swift_version
30-
s.script_phases = $default_script_phases
25+
s.swift_version = '5.0'
3126
end

packages/amplify_analytics_pinpoint/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: amplify_analytics_pinpoint
22
description: The Amplify Flutter Analytics category plugin using the AWS Pinpoint provider.
3-
version: 0.2.3
3+
version: 0.2.4
44
homepage: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify_analytics_pinpoint
55

66
environment:
77
sdk: ">=2.12.0 <3.0.0"
88
flutter: ">=1.20.0"
99

1010
dependencies:
11-
amplify_analytics_plugin_interface: 0.2.3
12-
amplify_core: 0.2.3
11+
amplify_analytics_plugin_interface: 0.2.4
12+
amplify_core: 0.2.4
1313
flutter:
1414
sdk: flutter
1515
plugin_platform_interface: ^2.0.0

packages/amplify_analytics_plugin_interface/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.2.4 (2021-09-10)
2+
3+
### Fixes
4+
5+
- fix: CocoaPods relative import
6+
17
## 0.2.3 (2021-09-09)
28

39
### Chores

packages/amplify_analytics_plugin_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: amplify_analytics_plugin_interface
22
description: The platform interface for the analytics module of Amplify Flutter.
3-
version: 0.2.3
3+
version: 0.2.4
44
homepage: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify_analytics_plugin_interface
55

66
environment:
77
sdk: ">=2.12.0 <3.0.0"
88

99
dependencies:
10-
amplify_core: 0.2.3
10+
amplify_core: 0.2.4
1111
flutter:
1212
sdk: flutter
1313
meta: ^1.1.8

packages/amplify_api/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.2.4 (2021-09-10)
2+
3+
### Fixes
4+
5+
- fix: CocoaPods relative import
6+
17
## 0.2.3 (2021-09-09)
28

39
### Features

packages/amplify_api/ios/amplify_api.podspec

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
load '../../../build-support/dependencies.rb'
2-
31
#
42
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
53
# Run `pod lib lint amplify_api.podspec' to validate before publishing.
@@ -20,12 +18,9 @@ The API module for Amplify Flutter.
2018
s.dependency 'Amplify', '~> 1.13.0'
2119
s.dependency 'AmplifyPlugins/AWSAPIPlugin', '~> 1.13.0'
2220
s.dependency 'amplify_core'
23-
s.dependency 'SwiftLint'
24-
s.dependency 'SwiftFormat/CLI'
2521
s.platform = :ios, '11.0'
2622

2723
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
2824
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
29-
s.swift_version = $swift_version
30-
s.script_phases = $default_script_phases
25+
s.swift_version = '5.0'
3126
end

packages/amplify_api/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: amplify_api
22
description: The Amplify Flutter API category plugin, supporting GraphQL and REST operations.
3-
version: 0.2.3
3+
version: 0.2.4
44
homepage: https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify_api
55

66
environment:
77
sdk: ">=2.12.0 <3.0.0"
88
flutter: ">=1.20.0"
99

1010
dependencies:
11-
amplify_api_plugin_interface: 0.2.3
12-
amplify_core: 0.2.3
11+
amplify_api_plugin_interface: 0.2.4
12+
amplify_core: 0.2.4
1313
flutter:
1414
sdk: flutter
1515
plugin_platform_interface: ^2.0.0

packages/amplify_api_plugin_interface/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.2.4 (2021-09-10)
2+
3+
### Fixes
4+
5+
- fix: CocoaPods relative import
6+
17
## 0.2.3 (2021-09-09)
28

39
### Features

0 commit comments

Comments
 (0)