-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sample project for Xcode 9 and Swift 4.0 (#9)
* update pods and tests for xcode 9 * update Swift version to 4.0 * update test images * update reference snapshots * convert StyledText to Swift 4 * pods swift version => 4.0 * back to nimble 7.0.2
- Loading branch information
Showing
216 changed files
with
5,396 additions
and
3,099 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,13 +1,29 @@ | ||
use_frameworks! | ||
|
||
platform :ios, '9.0' | ||
|
||
target 'StyledText_Example' do | ||
pod 'StyledText', :path => '../' | ||
pod 'Nimble', '~> 5.1.1' | ||
|
||
target 'StyledText_Tests' do | ||
inherit! :search_paths | ||
pod 'Quick', '~> 1.0.0' | ||
pod 'FBSnapshotTestCase' | ||
pod 'Nimble-Snapshots' | ||
pod 'Quick', '~> 1.2.0' | ||
pod 'Nimble', '= 7.0.2' | ||
pod 'FBSnapshotTestCase', '~> 2.0' | ||
pod 'Nimble-Snapshots', '~> 6.3.0' | ||
end | ||
end | ||
|
||
# Hack until `swift_version` is added to the podspec https://github.com/CocoaPods/CocoaPods/issues/7134 | ||
swift4 = ['Quick', 'Nimble', 'FBSnapshotTestCase', 'Nimble-Snapshots'] | ||
|
||
post_install do |installer| | ||
installer.pods_project.targets.each do |target| | ||
target.build_configurations.each do |config| | ||
config.build_settings['PROVISIONING_PROFILE_SPECIFIER'] = '' | ||
if swift4.include?(target.name) | ||
config.build_settings['SWIFT_VERSION'] = swift_version = '4.0' | ||
end | ||
end | ||
end | ||
end |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
Example/Pods/Nimble-Snapshots/CurrentTestCaseTracker.swift
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.