Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift 2.0 #12

Merged
merged 12 commits into from
Sep 15, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ profile
DerivedData
*.hmap
*.ipa
*.xcscmblueprint

# Bundler
.bundle
Expand Down
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
reference: http://www.objc.io/issue-6/travis-ci.html
language: objective-c
osx_image: xcode6.4
osx_image: xcode7
before_install: true
install: true
git:
submodules: false
script: script/cibuild
script:
- script/cibuild
branches:
only:
- master
Expand Down
4 changes: 2 additions & 2 deletions Cartfile.private
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Quick & Nimble

github "Quick/Quick" ~> 0.3
github "Quick/Nimble" ~> 0.4
github "Quick/Quick" ~> 0.6
github "Quick/Nimble" "v2.0.0-rc.3"
4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "Quick/Nimble" "v0.4.2"
github "Quick/Quick" "v0.3.1"
github "Quick/Nimble" "811003c1e556d6fedd12a6e8b81da235a7479aca"
github "Quick/Quick" "v0.6.0"
2 changes: 1 addition & 1 deletion Carthage/Checkouts/Nimble
Submodule Nimble updated 72 files
+1 −0 .gitignore
+9 −0 .travis.yml
+8 −8 CONTRIBUTING.md
+3 −2 Nimble.podspec
+74 −47 Nimble.xcodeproj/project.pbxproj
+2 −2 Nimble.xcodeproj/project.xcworkspace/xcshareddata/Nimble.xccheckout
+4 −1 Nimble.xcodeproj/xcshareddata/xcschemes/Nimble-OSX.xcscheme
+4 −1 Nimble.xcodeproj/xcshareddata/xcschemes/Nimble-iOS.xcscheme
+1 −1 Nimble/Adapters/AdapterProtocols.swift
+20 −0 Nimble/Adapters/AssertionDispatcher.swift
+53 −5 Nimble/Adapters/AssertionRecorder.swift
+18 −2 Nimble/Adapters/NimbleXCTestHandler.swift
+14 −7 Nimble/DSL+Wait.swift
+6 −6 Nimble/DSL.swift
+46 −21 Nimble/Expectation.swift
+53 −9 Nimble/Expression.swift
+40 −8 Nimble/FailureMessage.swift
+13 −22 Nimble/Matchers/AllPass.swift
+13 −3 Nimble/Matchers/BeAKindOf.swift
+13 −3 Nimble/Matchers/BeAnInstanceOf.swift
+16 −13 Nimble/Matchers/BeCloseTo.swift
+20 −9 Nimble/Matchers/BeEmpty.swift
+4 −4 Nimble/Matchers/BeGreaterThan.swift
+4 −4 Nimble/Matchers/BeGreaterThanOrEqualTo.swift
+3 −3 Nimble/Matchers/BeIdenticalTo.swift
+4 −4 Nimble/Matchers/BeLessThan.swift
+4 −4 Nimble/Matchers/BeLessThanOrEqual.swift
+42 −25 Nimble/Matchers/BeLogical.swift
+3 −3 Nimble/Matchers/BeNil.swift
+8 −8 Nimble/Matchers/BeginWith.swift
+34 −16 Nimble/Matchers/Contain.swift
+11 −11 Nimble/Matchers/EndWith.swift
+14 −11 Nimble/Matchers/Equal.swift
+3 −3 Nimble/Matchers/Match.swift
+43 −37 Nimble/Matchers/MatcherProtocols.swift
+119 −177 Nimble/Matchers/RaisesException.swift
+181 −0 Nimble/Matchers/ThrowError.swift
+125 −0 Nimble/ObjCExpectation.swift
+27 −14 Nimble/Utils/Poll.swift
+3 −3 Nimble/Utils/SourceLocation.swift
+11 −4 Nimble/Utils/Stringers.swift
+52 −68 Nimble/Wrappers/AsyncMatcherWrapper.swift
+0 −28 Nimble/Wrappers/BasicMatcherWrapper.swift
+0 −18 Nimble/Wrappers/FullMatcherWrapper.swift
+68 −28 Nimble/Wrappers/MatcherFunc.swift
+0 −56 Nimble/Wrappers/NonNilMatcherWrapper.swift
+27 −96 Nimble/Wrappers/ObjCMatcher.swift
+19 −10 Nimble/objc/DSL.h
+39 −6 Nimble/objc/DSL.m
+26 −2 NimbleTests/AsynchronousTest.swift
+54 −21 NimbleTests/Helpers/utils.swift
+7 −7 NimbleTests/Matchers/AllPassTest.swift
+18 −0 NimbleTests/Matchers/BeAKindOfTest.swift
+20 −0 NimbleTests/Matchers/BeAnInstanceOfTest.swift
+10 −0 NimbleTests/Matchers/BeCloseToTest.swift
+6 −6 NimbleTests/Matchers/BeEmptyTest.swift
+23 −1 NimbleTests/Matchers/BeLogicalTest.swift
+4 −4 NimbleTests/Matchers/ContainTest.swift
+107 −54 NimbleTests/Matchers/RaisesExceptionTest.swift
+137 −0 NimbleTests/Matchers/ThrowErrorTest.swift
+22 −8 NimbleTests/SynchronousTests.swift
+54 −0 NimbleTests/UserDescriptionTest.swift
+5 −1 NimbleTests/objc/NimbleSpecHelper.h
+4 −3 NimbleTests/objc/ObjCBeEmptyTest.m
+17 −0 NimbleTests/objc/ObjCContainTest.m
+130 −53 NimbleTests/objc/ObjCRaiseExceptionTest.m
+21 −0 NimbleTests/objc/ObjCSyncTest.m
+52 −0 NimbleTests/objc/ObjCUserDescriptionTest.m
+93 −38 README.md
+42 −0 circle.yml
+164 −0 script/release
+5 −5 test
2 changes: 1 addition & 1 deletion Carthage/Checkouts/Quick
Submodule Quick updated 50 files
+4 −0 .gitignore
+21 −1 CONTRIBUTING.md
+4 −4 Documentation/ArrangeActAssert.md
+1 −1 Documentation/ConfiguringQuick.md
+47 −11 Documentation/InstallingQuick.md
+2 −2 Documentation/NimbleAssertions.md
+26 −0 Documentation/QuickExamplesAndGroups.md
+3 −0 Documentation/SettingUpYourXcodeProject.md
+1 −1 Externals/Nimble
+6 −0 Quick Templates/Quick Configuration Class.xctemplate/Objective-C/___FILEBASENAME___.h
+10 −0 Quick Templates/Quick Configuration Class.xctemplate/Objective-C/___FILEBASENAME___.m
+8 −0 Quick Templates/Quick Configuration Class.xctemplate/Swift/___FILEBASENAME___.swift
+ Quick Templates/Quick Configuration Class.xctemplate/TemplateIcon.icns
+73 −0 Quick Templates/Quick Configuration Class.xctemplate/TemplateInfo.plist
+9 −2 Quick.podspec
+43 −9 Quick.xcodeproj/project.pbxproj
+4 −1 Quick.xcodeproj/xcshareddata/xcschemes/Quick-OSX.xcscheme
+4 −1 Quick.xcodeproj/xcshareddata/xcschemes/Quick-iOS.xcscheme
+3 −3 Quick/Callsite.swift
+5 −5 Quick/Configuration/Configuration.swift
+1 −1 Quick/Configuration/QuickConfiguration.m
+38 −38 Quick/DSL/DSL.swift
+38 −15 Quick/DSL/QCKDSL.h
+10 −1 Quick/DSL/QCKDSL.m
+20 −0 Quick/DSL/World+DSL.h
+21 −19 Quick/DSL/World+DSL.swift
+7 −3 Quick/Example.swift
+12 −8 Quick/ExampleGroup.swift
+1 −1 Quick/ExampleMetadata.swift
+0 −16 Quick/Failure.swift
+3 −1 Quick/Filter.swift
+1 −1 Quick/Info.plist
+23 −7 Quick/QuickSpec.m
+17 −0 Quick/World.h
+16 −16 Quick/World.swift
+1 −1 QuickFocusedTests/FocusedTests+ObjC.m
+1 −1 QuickFocusedTests/Info.plist
+1 −1 QuickTests/FunctionalTests/AfterSuiteTests.swift
+1 −1 QuickTests/FunctionalTests/BeforeSuiteTests.swift
+13 −17 QuickTests/FunctionalTests/FailureTests+ObjC.m
+55 −0 QuickTests/FunctionalTests/FailureUsingXCTAssertTests+ObjC.m
+2 −4 QuickTests/FunctionalTests/ItTests+ObjC.m
+1 −1 QuickTests/FunctionalTests/ItTests.swift
+29 −0 QuickTests/FunctionalTests/SharedExamplesTests+ObjC.m
+12 −4 QuickTests/Helpers/QCKSpecRunner.m
+1 −6 QuickTests/Helpers/XCTestObservationCenter+QCKSuspendObservation.h
+1 −1 QuickTests/Info.plist
+25 −3 README.md
+1 −1 Rakefile
+23 −0 circle.yml
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'xcpretty'
10 changes: 10 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
GEM
remote: https://rubygems.org/
specs:
xcpretty (0.1.12)

PLATFORMS
ruby

DEPENDENCIES
xcpretty
56 changes: 56 additions & 0 deletions JWTDecode.playground/Contents.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*:
# JWTDecode.swift
A swift framework to help you decode a [JWT](http://jwt.io) token in your iOS/OSX applications
*/

//: First we need to import JWTDecode framework
import JWTDecode

/*:
Then paste here the token you wish to decode
*/
let token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL3NhbXBsZXMuYXV0aDAuY29tIiwic3ViIjoiYXV0aDB8MTAxMDEwMTAxMCIsImF1ZCI6Imh0dHBzOi8vc2FtcGxlcy5hdXRoMC5jb20iLCJleHAiOjEzNzI2NzQzMzYsImlhdCI6MTM3MjYzODMzNiwianRpIjoicXdlcnR5MTIzNDU2IiwibmJmIjoxMzcyNjM4MzM2fQ.LvF9wSheCB5xarpydmurWgi9NOZkdES5AbNb_UWk9Ew"
//: You can generate a new token in [jwt.io](http://jwt.io)

/*:
## Decode
Then here we try to decode it calling `decode(token: String) -> JWT` that will return an object with all the decoded values
*/
do {
let jwt = try decode(token)

//: ### JWT parts

//: Header dictionary
jwt.header
//: Claims in token body
jwt.body
//: Token signature
jwt.signature

//: ### Registered Claims

//: "aud" (Audience)
jwt.audience
//: "sub" (Subject)
jwt.subject
//: "jti" (JWT ID)
jwt.identifier
//: "iss" (Issuer)
jwt.issuer
//: "nbf" (Not Before)
jwt.notBefore
//: "iat" (Issued At)
jwt.issuedAt
//: "exp" (Expiration Time)
jwt.expiresAt

//: ### Custom Claims
//: If we also have our custom claims we can retrive them calling `claim<T>(name: String) -> T?` where `T` is the value type of the claim, e.g.: a `String`

let custom: String? = jwt.claim("email")
//: ### Error Handling
//: If the token is invalid an `NSError` will be thrown
} catch let error as NSError {
error.localizedDescription
}
4 changes: 4 additions & 0 deletions JWTDecode.playground/contents.xcplayground
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<playground version='5.0' target-platform='ios' requires-full-environment='true' display-mode='rendered'>
<timeline fileName='timeline.xctimeline'/>
</playground>
41 changes: 41 additions & 0 deletions JWTDecode.playground/timeline.xctimeline
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<Timeline
version = "3.0">
<TimelineItems>
<LoggerValueHistoryTimelineItem
documentLocation = "#CharacterRangeLen=0&amp;CharacterRangeLoc=1536&amp;EndingColumnNumber=13&amp;EndingLineNumber=26&amp;StartingColumnNumber=5&amp;StartingLineNumber=26&amp;Timestamp=463532561.17046"
selectedRepresentationIndex = "0"
shouldTrackSuperviewWidth = "NO">
</LoggerValueHistoryTimelineItem>
<LoggerValueHistoryTimelineItem
documentLocation = "#CharacterRangeLen=0&amp;CharacterRangeLoc=1536&amp;EndingColumnNumber=18&amp;EndingLineNumber=26&amp;StartingColumnNumber=5&amp;StartingLineNumber=26&amp;Timestamp=463532561.170751"
selectedRepresentationIndex = "0"
shouldTrackSuperviewWidth = "NO">
</LoggerValueHistoryTimelineItem>
<LoggerValueHistoryTimelineItem
documentLocation = "#CharacterRangeLen=0&amp;CharacterRangeLoc=1536&amp;EndingColumnNumber=17&amp;EndingLineNumber=26&amp;StartingColumnNumber=5&amp;StartingLineNumber=26&amp;Timestamp=463532561.170973"
selectedRepresentationIndex = "0"
shouldTrackSuperviewWidth = "NO">
</LoggerValueHistoryTimelineItem>
<LoggerValueHistoryTimelineItem
documentLocation = "#CharacterRangeLen=0&amp;CharacterRangeLoc=1536&amp;EndingColumnNumber=17&amp;EndingLineNumber=26&amp;StartingColumnNumber=5&amp;StartingLineNumber=26&amp;Timestamp=463532561.171144"
selectedRepresentationIndex = "0"
shouldTrackSuperviewWidth = "NO">
</LoggerValueHistoryTimelineItem>
<LoggerValueHistoryTimelineItem
documentLocation = "#CharacterRangeLen=13&amp;CharacterRangeLoc=1548&amp;EndingColumnNumber=18&amp;EndingLineNumber=26&amp;StartingColumnNumber=5&amp;StartingLineNumber=26&amp;Timestamp=463532561.171315"
selectedRepresentationIndex = "0"
shouldTrackSuperviewWidth = "NO">
</LoggerValueHistoryTimelineItem>
<LoggerValueHistoryTimelineItem
documentLocation = "#CharacterRangeLen=1&amp;CharacterRangeLoc=1597&amp;EndingColumnNumber=10&amp;EndingLineNumber=54&amp;StartingColumnNumber=5&amp;StartingLineNumber=54&amp;Timestamp=463532561.171487"
selectedRepresentationIndex = "0"
shouldTrackSuperviewWidth = "NO">
</LoggerValueHistoryTimelineItem>
<LoggerValueHistoryTimelineItem
documentLocation = "#CharacterRangeLen=12&amp;CharacterRangeLoc=1586&amp;EndingColumnNumber=17&amp;EndingLineNumber=54&amp;StartingColumnNumber=5&amp;StartingLineNumber=54&amp;Timestamp=463532561.171656"
selectedRepresentationIndex = "0"
shouldTrackSuperviewWidth = "NO">
</LoggerValueHistoryTimelineItem>
</TimelineItems>
</Timeline>
40 changes: 38 additions & 2 deletions JWTDecode.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
5F05AF801B62E9C200C4A9E6 /* Nimble.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5F05AF7D1B62E9C200C4A9E6 /* Nimble.framework */; };
5F05AF811B62E9C200C4A9E6 /* Quick.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5F05AF7E1B62E9C200C4A9E6 /* Quick.framework */; };
5F05AF821B62E9C200C4A9E6 /* Quick.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5F05AF7E1B62E9C200C4A9E6 /* Quick.framework */; };
5F8B43691B9F99B400A0D5AE /* A0JWT.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F8B43681B9F99B400A0D5AE /* A0JWT.swift */; settings = {ASSET_TAGS = (); }; };
5F8B436A1B9F99B400A0D5AE /* A0JWT.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F8B43681B9F99B400A0D5AE /* A0JWT.swift */; settings = {ASSET_TAGS = (); }; };
5F8B436C1B9F9EDB00A0D5AE /* JWTHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F8B436B1B9F9EDB00A0D5AE /* JWTHelper.swift */; settings = {ASSET_TAGS = (); }; };
5F8B436D1B9F9EDB00A0D5AE /* JWTHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F8B436B1B9F9EDB00A0D5AE /* JWTHelper.swift */; settings = {ASSET_TAGS = (); }; };
5FE49DCD1BA0D5F700DE57D3 /* JWT.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5FE49DCC1BA0D5F700DE57D3 /* JWT.swift */; settings = {ASSET_TAGS = (); }; };
5FE49DCE1BA0D5F700DE57D3 /* JWT.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5FE49DCC1BA0D5F700DE57D3 /* JWT.swift */; settings = {ASSET_TAGS = (); }; };
5FE49DD01BA0D66F00DE57D3 /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5FE49DCF1BA0D66F00DE57D3 /* Errors.swift */; settings = {ASSET_TAGS = (); }; };
5FE49DD11BA0D66F00DE57D3 /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5FE49DCF1BA0D66F00DE57D3 /* Errors.swift */; settings = {ASSET_TAGS = (); }; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -53,6 +61,11 @@
5F0069401B3C828F0048928E /* A0JWTDecodeSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = A0JWTDecodeSpec.m; sourceTree = "<group>"; };
5F05AF7D1B62E9C200C4A9E6 /* Nimble.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Nimble.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5F05AF7E1B62E9C200C4A9E6 /* Quick.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Quick.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5F0A5E291B9A6D4A005289CF /* JWTDecode.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = JWTDecode.playground; sourceTree = SOURCE_ROOT; };
5F8B43681B9F99B400A0D5AE /* A0JWT.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = A0JWT.swift; sourceTree = "<group>"; };
5F8B436B1B9F9EDB00A0D5AE /* JWTHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = JWTHelper.swift; sourceTree = "<group>"; };
5FE49DCC1BA0D5F700DE57D3 /* JWT.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = JWT.swift; sourceTree = "<group>"; };
5FE49DCF1BA0D66F00DE57D3 /* Errors.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Errors.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -98,6 +111,7 @@
children = (
5F0068E41B3B46240048928E /* JWTDecode */,
5F0068F11B3B46240048928E /* JWTDecodeTests */,
5F0A5E291B9A6D4A005289CF /* JWTDecode.playground */,
5F0068E31B3B46240048928E /* Products */,
);
sourceTree = "<group>";
Expand All @@ -117,8 +131,11 @@
isa = PBXGroup;
children = (
5F0068E71B3B46240048928E /* JWTDecode.h */,
5F0068E51B3B46240048928E /* Supporting Files */,
5F8B43681B9F99B400A0D5AE /* A0JWT.swift */,
5F0069021B3B511F0048928E /* JWTDecode.swift */,
5FE49DCC1BA0D5F700DE57D3 /* JWT.swift */,
5FE49DCF1BA0D66F00DE57D3 /* Errors.swift */,
5F0068E51B3B46240048928E /* Supporting Files */,
);
path = JWTDecode;
sourceTree = "<group>";
Expand All @@ -138,6 +155,7 @@
5F0069221B3C4A7F0048928E /* JWTDecodeSpec.swift */,
5F0069401B3C828F0048928E /* A0JWTDecodeSpec.m */,
5F00693F1B3C828E0048928E /* JWTDecode-iOSTests-Bridging-Header.h */,
5F8B436B1B9F9EDB00A0D5AE /* JWTHelper.swift */,
);
path = JWTDecodeTests;
sourceTree = "<group>";
Expand Down Expand Up @@ -252,7 +270,8 @@
5F0068D91B3B46240048928E /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0630;
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 0700;
ORGANIZATIONNAME = Auth0;
TargetAttributes = {
5F0068E11B3B46240048928E = {
Expand Down Expand Up @@ -325,14 +344,18 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5FE49DD01BA0D66F00DE57D3 /* Errors.swift in Sources */,
5F8B43691B9F99B400A0D5AE /* A0JWT.swift in Sources */,
5F0069031B3B511F0048928E /* JWTDecode.swift in Sources */,
5FE49DCD1BA0D5F700DE57D3 /* JWT.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
5F0068E91B3B46240048928E /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5F8B436C1B9F9EDB00A0D5AE /* JWTHelper.swift in Sources */,
5F0069231B3C4A7F0048928E /* JWTDecodeSpec.swift in Sources */,
5F0069411B3C828F0048928E /* A0JWTDecodeSpec.m in Sources */,
);
Expand All @@ -342,7 +365,10 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5FE49DD11BA0D66F00DE57D3 /* Errors.swift in Sources */,
5F8B436A1B9F99B400A0D5AE /* A0JWT.swift in Sources */,
5F00693E1B3C7B930048928E /* JWTDecode.swift in Sources */,
5FE49DCE1BA0D5F700DE57D3 /* JWT.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -351,6 +377,7 @@
buildActionMask = 2147483647;
files = (
5F0069241B3C4A860048928E /* JWTDecodeSpec.swift in Sources */,
5F8B436D1B9F9EDB00A0D5AE /* JWTHelper.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -392,6 +419,7 @@
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -471,6 +499,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.auth0.JWTDecode;
PRODUCT_MODULE_NAME = JWTDecode;
PRODUCT_NAME = JWTDecode;
SKIP_INSTALL = YES;
Expand All @@ -490,6 +519,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.auth0.JWTDecode;
PRODUCT_MODULE_NAME = JWTDecode;
PRODUCT_NAME = JWTDecode;
SKIP_INSTALL = YES;
Expand All @@ -510,6 +540,7 @@
);
INFOPLIST_FILE = JWTDecodeTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.auth0.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "JWTDecodeTests/JWTDecode-iOSTests-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand All @@ -526,6 +557,7 @@
);
INFOPLIST_FILE = JWTDecodeTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.auth0.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "JWTDecodeTests/JWTDecode-iOSTests-Bridging-Header.h";
};
Expand All @@ -549,6 +581,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = com.auth0.JWTDecode;
PRODUCT_MODULE_NAME = JWTDecode;
PRODUCT_NAME = JWTDecode;
SDKROOT = macosx;
Expand All @@ -569,6 +602,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = com.auth0.JWTDecode;
PRODUCT_MODULE_NAME = JWTDecode;
PRODUCT_NAME = JWTDecode;
SDKROOT = macosx;
Expand All @@ -592,6 +626,7 @@
INFOPLIST_FILE = JWTDecodeTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "com.auth0.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
};
Expand All @@ -608,6 +643,7 @@
INFOPLIST_FILE = JWTDecodeTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "com.auth0.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0630"
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -37,10 +37,10 @@
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -62,15 +62,18 @@
ReferencedContainer = "container:JWTDecode.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
Expand All @@ -85,10 +88,10 @@
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
Expand Down
Loading