-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from iosphere/feature/xcode-10
Xcode 10 & more
- Loading branch information
Showing
23 changed files
with
117 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
language: objective-c | ||
osx_image: xcode8 | ||
osx_image: xcode10 | ||
install: | ||
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet | ||
|
||
script: | ||
- set -o pipefail | ||
# Build framework target and clean all targets between builds | ||
- xcodebuild -project ISHPermissionKit.xcodeproj -scheme ISHPermissionKit -destination 'platform=iOS Simulator,name=iPhone 6' -derivedDataPath build/ISHPermissionKit clean build | xcpretty | ||
- xcodebuild -project ISHPermissionKit.xcodeproj -scheme ISHPermissionKit -destination 'platform=iOS Simulator,name=iPhone 8' -derivedDataPath build/ISHPermissionKit clean build | xcpretty | ||
|
||
# Build static lib target and clean all targets between builds | ||
- xcodebuild -project ISHPermissionKit.xcodeproj -scheme ISHPermissionKitLib -destination 'platform=iOS Simulator,name=iPhone 6' -derivedDataPath build/ISHPermissionKitLib clean build | xcpretty | ||
- xcodebuild -project ISHPermissionKit.xcodeproj -scheme ISHPermissionKitLib -destination 'platform=iOS Simulator,name=iPhone 8' -derivedDataPath build/ISHPermissionKitLib clean build | xcpretty | ||
|
||
# run tests | ||
- xcodebuild -project ISHPermissionKit.xcodeproj -scheme 'ISHPermissionKit' -destination 'platform=iOS Simulator,name=iPhone 6' -derivedDataPath build/ISHPermissionKit clean test | xcpretty | ||
- xcodebuild -project ISHPermissionKit.xcodeproj -scheme 'ISHPermissionKit' -destination 'platform=iOS Simulator,name=iPhone 8' -derivedDataPath build/ISHPermissionKit clean test | xcpretty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
Pod::Spec.new do |s| | ||
|
||
s.name = 'ISHPermissionKit' | ||
s.version = '2.0.0' | ||
s.version = '2.1.0' | ||
s.summary = 'A polite and unified way of asking for permission on iOS.' | ||
s.description = 'This framework provides a unified way of asking for user permissions on iOS. It also | ||
s.description = 'This framework provides a unified way of asking for user permissions on iOS. It also | ||
provides UI to explain the permission requirements before presenting the system | ||
permission dialog to the user. This allows the developer to postpone the system dialog. The framework | ||
permission dialog to the user. This allows the developer to postpone the system dialog. The framework | ||
provides no actual chrome, leaving the developer and designer in charge of creating the views.' | ||
|
||
s.homepage = 'https://github.com/iosphere/ISHPermissionKit.git' | ||
s.screenshots = 'https://raw.githubusercontent.com/iosphere/ISHPermissionKit/master/assets/demo.gif' | ||
|
||
s.license = 'New BSD' | ||
s.license = 'New BSD' | ||
s.authors = { 'Felix Lamouroux' => '[email protected]' } | ||
|
||
s.platform = :ios, '7.0' | ||
s.platform = :ios, '9.0' | ||
s.source = { :git => 'https://github.com/iosphere/ISHPermissionKit.git', :tag => s.version.to_s } | ||
s.module_name = 'ISHPermissionKit' | ||
|
||
|
@@ -61,7 +61,7 @@ Pod::Spec.new do |s| | |
|
||
s.subspec 'PhotoLibrary' do |photo| | ||
photo.dependency 'ISHPermissionKit/Core' | ||
photo.weak_framework = 'Photos', 'AssetsLibrary' | ||
photo.weak_framework = 'Photos' | ||
feature_flags = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'ISHPermissionRequestPhotoLibraryEnabled' } | ||
photo.pod_target_xcconfig = feature_flags | ||
photo.user_target_xcconfig = feature_flags | ||
|
@@ -93,7 +93,7 @@ Pod::Spec.new do |s| | |
|
||
s.subspec 'Contacts' do |contacts| | ||
contacts.dependency 'ISHPermissionKit/Core' | ||
contacts.weak_framework = 'Contacts', 'AddressBook' | ||
contacts.weak_framework = 'Contacts' | ||
feature_flags = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'ISHPermissionRequestContactsEnabled' } | ||
contacts.pod_target_xcconfig = feature_flags | ||
contacts.user_target_xcconfig = feature_flags | ||
|
Oops, something went wrong.