-
Notifications
You must be signed in to change notification settings - Fork 14
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 #50 from uphold/feature/migrate-swift3
Xcode 8 & Swift 3 migration
- Loading branch information
Showing
128 changed files
with
1,767 additions
and
1,170 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
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,16 +1,17 @@ | ||
language: objective-c | ||
|
||
osx_image: xcode7.3 | ||
osx_image: xcode8.3 | ||
|
||
env: | ||
- SCHEME=UpholdSdk | ||
- SCHEME=UpholdSdkSandbox | ||
|
||
before_script: | ||
- carthage update --platform iOS | ||
# Workaround introduced to fix the xctool issue #454 (https://github.com/facebook/xctool/issues/454). | ||
- open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 75FC400A-B2AA-4DD6-B159-8687FAA5018A | ||
- carthage bootstrap --platform iOS --no-build | ||
- cd Carthage/Checkouts/URITemplate.swift && echo "IPHONEOS_DEPLOYMENT_TARGET = 8.0" > Configuration.xcconfig && swift package generate-xcodeproj --xcconfig-overrides Configuration.xcconfig | ||
- cd ../../../ | ||
- carthage build --platform iOS --configuration ProductionRelease | ||
|
||
script: | ||
- swiftlint lint --strict | ||
- xctool -project UpholdSdk.xcodeproj -scheme $SCHEME test sdk iphonesimulator CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | ||
- xcodebuild -project UpholdSdk.xcodeproj test -scheme $SCHEME -sdk iphonesimulator -destination "name=iPhone SE" | 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
github "Hearst-DD/ObjectMapper" ~> 1.2.0 | ||
github "mxcl/OMGHTTPURLRQ" ~> 3.1.2 | ||
github "mxcl/PromiseKit" ~> 3.2.1 | ||
github "marketplacer/keychain-swift" ~> 3.0.13 | ||
github "theadam/SwiftClient" ~> 2.0.3 | ||
github "Hearst-DD/ObjectMapper" ~> 2.2.8 | ||
github "mxcl/OMGHTTPURLRQ" ~> 3.2.2 | ||
github "mxcl/PromiseKit" ~> 4.1.8 | ||
github "marketplacer/keychain-swift" ~> 7.0.1 | ||
github "theadam/SwiftClient" ~> 3.0.3 |
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,2 +1,2 @@ | ||
github "vadymmarkov/Fakery" ~> 1.2.0 | ||
github "seegno-forks/Mockingjay" "support/add-carthage-configuration" | ||
github "vadymmarkov/Fakery" ~> 2.0.0 | ||
github "uphold-forks/Mockingjay" "support/add-carthage-configuration" |
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,8 +1,8 @@ | ||
github "vadymmarkov/Fakery" "1.4.0" | ||
github "vadymmarkov/Fakery" "2.0.0" | ||
github "mxcl/OMGHTTPURLRQ" "3.2.2" | ||
github "Hearst-DD/ObjectMapper" "1.5.0" | ||
github "mxcl/PromiseKit" "3.5.3" | ||
github "theadam/SwiftClient" "2.0.3" | ||
github "kylef/URITemplate.swift" "175429f708de77e1c894e2fa4bc6c61f461822bb" | ||
github "marketplacer/keychain-swift" "3.0.16" | ||
github "seegno-forks/Mockingjay" "68b619819ecee654297ff2349b934032c33581f9" | ||
github "Hearst-DD/ObjectMapper" "2.2.8" | ||
github "mxcl/PromiseKit" "4.4.1" | ||
github "theadam/SwiftClient" "3.0.3" | ||
github "kylef/URITemplate.swift" "2.0.1" | ||
github "marketplacer/keychain-swift" "7.0.1" | ||
github "uphold-forks/Mockingjay" "40275c6b531fb9514327d9ce09e0acf9128a774c" |
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
2 changes: 1 addition & 1 deletion
2
SampleApplication.xcodeproj/xcshareddata/xcschemes/SampleApplication.xcscheme
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
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
Oops, something went wrong.