From 99305b825aba3d6d6dec122b7f2a5b838e5c53be Mon Sep 17 00:00:00 2001 From: creativecreatorormaybenot Date: Mon, 5 Oct 2020 17:47:35 +0000 Subject: [PATCH] Fix iOS build issue (#47) --- wakelock/CHANGELOG.md | 4 ++++ wakelock/pubspec.yaml | 4 ++-- wakelock_web/CHANGELOG.md | 8 ++++++++ wakelock_web/ios/wakelock_web.podspec | 23 +++++++++++++++++++++++ wakelock_web/pubspec.yaml | 2 +- 5 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 wakelock_web/ios/wakelock_web.podspec diff --git a/wakelock/CHANGELOG.md b/wakelock/CHANGELOG.md index 226e26dd..394c377e 100644 --- a/wakelock/CHANGELOG.md +++ b/wakelock/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.0+1 + +* Fix iOS build issue by bumping the `wakelock_web` dependency. + ## 0.2.0 * Added web support. diff --git a/wakelock/pubspec.yaml b/wakelock/pubspec.yaml index 4bc8ef0a..9c236961 100644 --- a/wakelock/pubspec.yaml +++ b/wakelock/pubspec.yaml @@ -2,7 +2,7 @@ name: wakelock description: >-2 Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on Android, iOS, and web. -version: 0.2.0 +version: 0.2.0+1 homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock environment: @@ -16,7 +16,7 @@ dependencies: meta: ^1.2.0 wakelock_platform_interface: ^0.1.0 - wakelock_web: ^0.1.0 + wakelock_web: ^0.1.0+1 dev_dependencies: flutter_test: diff --git a/wakelock_web/CHANGELOG.md b/wakelock_web/CHANGELOG.md index 60732342..6c7a389d 100644 --- a/wakelock_web/CHANGELOG.md +++ b/wakelock_web/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.1.0+2 + +* Version increment for automated publishing. + +## 0.1.0+1 + +* Fix "No podspec found" build error on iOS. + ## 0.1.0 * Initial release. diff --git a/wakelock_web/ios/wakelock_web.podspec b/wakelock_web/ios/wakelock_web.podspec new file mode 100644 index 00000000..863a3c1a --- /dev/null +++ b/wakelock_web/ios/wakelock_web.podspec @@ -0,0 +1,23 @@ +# +# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. +# Run `pod lib lint wakelock.podspec' to validate before publishing. +# +Pod::Spec.new do |s| + s.name = 'wakelock_web' + s.version = '0.0.1' + s.summary = 'Stub Podspec' + s.description = <<-DESC +Stub Podspec that makes wakelock_web builds on iOS work. + DESC + s.homepage = 'http://example.com' + s.license = { :file => '../LICENSE' } + s.author = { 'Your Company' => 'email@example.com' } + s.source = { :path => '.' } + s.source_files = 'Classes/**/*' + s.public_header_files = 'Classes/**/*.h' + s.dependency 'Flutter' + s.platform = :ios, '8.0' + + # Flutter.framework does not contain a i386 slice. + s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } +end diff --git a/wakelock_web/pubspec.yaml b/wakelock_web/pubspec.yaml index a8c23087..5a98fe0e 100644 --- a/wakelock_web/pubspec.yaml +++ b/wakelock_web/pubspec.yaml @@ -1,6 +1,6 @@ name: wakelock_web description: Web platform implementation of the wakelock_platform_interface for the wakelock plugin. -version: 0.1.0 +version: 0.1.0+2 homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock_web environment: