Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
Fix iOS build issue (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
creativecreatorormaybenot committed Oct 5, 2020
1 parent 984af3a commit 99305b8
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 3 deletions.
4 changes: 4 additions & 0 deletions wakelock/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.0+1

* Fix iOS build issue by bumping the `wakelock_web` dependency.

## 0.2.0

* Added web support.
Expand Down
4 changes: 2 additions & 2 deletions wakelock/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
8 changes: 8 additions & 0 deletions wakelock_web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
23 changes: 23 additions & 0 deletions wakelock_web/ios/wakelock_web.podspec
Original file line number Diff line number Diff line change
@@ -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 protected]' }
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
2 changes: 1 addition & 1 deletion wakelock_web/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 99305b8

Please sign in to comment.