Skip to content

Commit 4013718

Browse files
committed
Merge branch 'release/1.0.1'
2 parents a4a00b1 + aac80cc commit 4013718

File tree

5 files changed

+33
-15
lines changed

5 files changed

+33
-15
lines changed

.DS_Store

-6 KB
Binary file not shown.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

UAParserSwift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "UAParserSwift"
3-
s.version = "1.0.0"
3+
s.version = "1.0.1"
44
s.summary = "Lightweight User-Agent String Parser for Swift"
55
s.description = <<-DESC
66
UAParserSwift is a Swift-based library to parse User Agent string; it's a port of ua-parser-js by Faisal Salman created to be mainly used in Swift Server Side applications (but compatible with all Apple's platforms too).

UAParserSwift.xcodeproj/project.pbxproj

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
2323
643640C91FADE74A002C4859 /* browser-test.json in Resources */ = {isa = PBXBuildFile; fileRef = 643640C81FADE74A002C4859 /* browser-test.json */; };
2424
643640CA1FADE74A002C4859 /* browser-test.json in Resources */ = {isa = PBXBuildFile; fileRef = 643640C81FADE74A002C4859 /* browser-test.json */; };
2525
643640CB1FADE74A002C4859 /* browser-test.json in Resources */ = {isa = PBXBuildFile; fileRef = 643640C81FADE74A002C4859 /* browser-test.json */; };
26+
64C2F9FF1FAF849C00E3EEDC /* UAParserSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64C2F9FE1FAF849C00E3EEDC /* UAParserSwift.swift */; };
27+
64C2FA001FAF849C00E3EEDC /* UAParserSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64C2F9FE1FAF849C00E3EEDC /* UAParserSwift.swift */; };
28+
64C2FA011FAF849C00E3EEDC /* UAParserSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64C2F9FE1FAF849C00E3EEDC /* UAParserSwift.swift */; };
29+
64C2FA021FAF849C00E3EEDC /* UAParserSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64C2F9FE1FAF849C00E3EEDC /* UAParserSwift.swift */; };
2630
64CD6C331FAA2175009B4F9A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64CD6C321FAA2175009B4F9A /* AppDelegate.swift */; };
2731
64CD6C351FAA2175009B4F9A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64CD6C341FAA2175009B4F9A /* ViewController.swift */; };
2832
64CD6C381FAA2175009B4F9A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 64CD6C361FAA2175009B4F9A /* Main.storyboard */; };
2933
64CD6C3A1FAA2175009B4F9A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 64CD6C391FAA2175009B4F9A /* Assets.xcassets */; };
3034
64CD6C3D1FAA2175009B4F9A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 64CD6C3B1FAA2175009B4F9A /* LaunchScreen.storyboard */; };
3135
64CD6C451FAA2181009B4F9A /* UAParserSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D6D97C1BEFF229002C0205 /* UAParserSwift.framework */; };
3236
64CD6C471FAA218E009B4F9A /* UAParserSwift.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 52D6D97C1BEFF229002C0205 /* UAParserSwift.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
33-
8933C7851EB5B820000D00A4 /* UAParserSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* UAParserSwift.swift */; };
34-
8933C7861EB5B820000D00A4 /* UAParserSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* UAParserSwift.swift */; };
35-
8933C7871EB5B820000D00A4 /* UAParserSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* UAParserSwift.swift */; };
36-
8933C7881EB5B820000D00A4 /* UAParserSwift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* UAParserSwift.swift */; };
3737
8933C78E1EB5B82C000D00A4 /* UAParserSwift_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7891EB5B82A000D00A4 /* UAParserSwift_Tests.swift */; };
3838
8933C78F1EB5B82C000D00A4 /* UAParserSwift_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7891EB5B82A000D00A4 /* UAParserSwift_Tests.swift */; };
3939
8933C7901EB5B82D000D00A4 /* UAParserSwift_Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7891EB5B82A000D00A4 /* UAParserSwift_Tests.swift */; };
@@ -97,14 +97,14 @@
9797
643640C01FACFE28002C4859 /* os-test.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = "os-test.json"; sourceTree = "<group>"; };
9898
643640C41FADBDFC002C4859 /* device-test.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = "device-test.json"; sourceTree = "<group>"; };
9999
643640C81FADE74A002C4859 /* browser-test.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = "browser-test.json"; sourceTree = "<group>"; };
100+
64C2F9FE1FAF849C00E3EEDC /* UAParserSwift.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = UAParserSwift.swift; path = UAParserSwift/UAParserSwift.swift; sourceTree = "<group>"; };
100101
64CD6C301FAA2175009B4F9A /* TestApplication.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestApplication.app; sourceTree = BUILT_PRODUCTS_DIR; };
101102
64CD6C321FAA2175009B4F9A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
102103
64CD6C341FAA2175009B4F9A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
103104
64CD6C371FAA2175009B4F9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
104105
64CD6C391FAA2175009B4F9A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
105106
64CD6C3C1FAA2175009B4F9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
106107
64CD6C3E1FAA2175009B4F9A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
107-
8933C7841EB5B820000D00A4 /* UAParserSwift.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UAParserSwift.swift; sourceTree = "<group>"; };
108108
8933C7891EB5B82A000D00A4 /* UAParserSwift_Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UAParserSwift_Tests.swift; sourceTree = "<group>"; };
109109
AD2FAA261CD0B6D800659CF4 /* UAParserSwift.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = UAParserSwift.plist; sourceTree = "<group>"; };
110110
AD2FAA281CD0B6E100659CF4 /* UAParserSwiftTests.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = UAParserSwiftTests.plist; sourceTree = "<group>"; };
@@ -235,7 +235,7 @@
235235
8933C7811EB5B7E0000D00A4 /* Sources */ = {
236236
isa = PBXGroup;
237237
children = (
238-
8933C7841EB5B820000D00A4 /* UAParserSwift.swift */,
238+
64C2F9FE1FAF849C00E3EEDC /* UAParserSwift.swift */,
239239
);
240240
path = Sources;
241241
sourceTree = "<group>";
@@ -461,23 +461,23 @@
461461
TargetAttributes = {
462462
52D6D97B1BEFF229002C0205 = {
463463
CreatedOnToolsVersion = 7.1;
464-
LastSwiftMigration = 0800;
464+
LastSwiftMigration = 0910;
465465
};
466466
52D6D9851BEFF229002C0205 = {
467467
CreatedOnToolsVersion = 7.1;
468468
LastSwiftMigration = 0800;
469469
};
470470
52D6D9E11BEFFF6E002C0205 = {
471471
CreatedOnToolsVersion = 7.1;
472-
LastSwiftMigration = 0800;
472+
LastSwiftMigration = 0910;
473473
};
474474
52D6D9EF1BEFFFBE002C0205 = {
475475
CreatedOnToolsVersion = 7.1;
476-
LastSwiftMigration = 0800;
476+
LastSwiftMigration = 0910;
477477
};
478478
52D6DA0E1BF000BD002C0205 = {
479479
CreatedOnToolsVersion = 7.1;
480-
LastSwiftMigration = 0800;
480+
LastSwiftMigration = 0910;
481481
};
482482
64CD6C2F1FAA2175009B4F9A = {
483483
CreatedOnToolsVersion = 9.1;
@@ -600,7 +600,7 @@
600600
isa = PBXSourcesBuildPhase;
601601
buildActionMask = 2147483647;
602602
files = (
603-
8933C7851EB5B820000D00A4 /* UAParserSwift.swift in Sources */,
603+
64C2F9FF1FAF849C00E3EEDC /* UAParserSwift.swift in Sources */,
604604
);
605605
runOnlyForDeploymentPostprocessing = 0;
606606
};
@@ -616,23 +616,23 @@
616616
isa = PBXSourcesBuildPhase;
617617
buildActionMask = 2147483647;
618618
files = (
619-
8933C7871EB5B820000D00A4 /* UAParserSwift.swift in Sources */,
619+
64C2FA011FAF849C00E3EEDC /* UAParserSwift.swift in Sources */,
620620
);
621621
runOnlyForDeploymentPostprocessing = 0;
622622
};
623623
52D6D9EB1BEFFFBE002C0205 /* Sources */ = {
624624
isa = PBXSourcesBuildPhase;
625625
buildActionMask = 2147483647;
626626
files = (
627-
8933C7881EB5B820000D00A4 /* UAParserSwift.swift in Sources */,
627+
64C2FA021FAF849C00E3EEDC /* UAParserSwift.swift in Sources */,
628628
);
629629
runOnlyForDeploymentPostprocessing = 0;
630630
};
631631
52D6DA0A1BF000BD002C0205 /* Sources */ = {
632632
isa = PBXSourcesBuildPhase;
633633
buildActionMask = 2147483647;
634634
files = (
635-
8933C7861EB5B820000D00A4 /* UAParserSwift.swift in Sources */,
635+
64C2FA001FAF849C00E3EEDC /* UAParserSwift.swift in Sources */,
636636
);
637637
runOnlyForDeploymentPostprocessing = 0;
638638
};
@@ -861,6 +861,7 @@
861861
52D6D9941BEFF229002C0205 /* Debug */ = {
862862
isa = XCBuildConfiguration;
863863
buildSettings = {
864+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
864865
CLANG_ENABLE_MODULES = YES;
865866
INFOPLIST_FILE = Configs/UAParserSwiftTests.plist;
866867
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@@ -874,6 +875,7 @@
874875
52D6D9951BEFF229002C0205 /* Release */ = {
875876
isa = XCBuildConfiguration;
876877
buildSettings = {
878+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
877879
CLANG_ENABLE_MODULES = YES;
878880
INFOPLIST_FILE = Configs/UAParserSwiftTests.plist;
879881
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@@ -888,6 +890,7 @@
888890
isa = XCBuildConfiguration;
889891
buildSettings = {
890892
APPLICATION_EXTENSION_API_ONLY = YES;
893+
CLANG_ENABLE_MODULES = YES;
891894
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
892895
DEFINES_MODULE = YES;
893896
DYLIB_COMPATIBILITY_VERSION = 1;
@@ -900,6 +903,7 @@
900903
PRODUCT_NAME = UAParserSwift;
901904
SDKROOT = watchos;
902905
SKIP_INSTALL = YES;
906+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
903907
SWIFT_VERSION = 4.0;
904908
TARGETED_DEVICE_FAMILY = 4;
905909
WATCHOS_DEPLOYMENT_TARGET = 2.0;
@@ -910,6 +914,7 @@
910914
isa = XCBuildConfiguration;
911915
buildSettings = {
912916
APPLICATION_EXTENSION_API_ONLY = YES;
917+
CLANG_ENABLE_MODULES = YES;
913918
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
914919
DEFINES_MODULE = YES;
915920
DYLIB_COMPATIBILITY_VERSION = 1;
@@ -933,6 +938,7 @@
933938
isa = XCBuildConfiguration;
934939
buildSettings = {
935940
APPLICATION_EXTENSION_API_ONLY = YES;
941+
CLANG_ENABLE_MODULES = YES;
936942
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
937943
DEFINES_MODULE = YES;
938944
DYLIB_COMPATIBILITY_VERSION = 1;
@@ -945,6 +951,7 @@
945951
PRODUCT_NAME = UAParserSwift;
946952
SDKROOT = appletvos;
947953
SKIP_INSTALL = YES;
954+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
948955
SWIFT_VERSION = 4.0;
949956
TARGETED_DEVICE_FAMILY = 3;
950957
TVOS_DEPLOYMENT_TARGET = 9.0;
@@ -955,6 +962,7 @@
955962
isa = XCBuildConfiguration;
956963
buildSettings = {
957964
APPLICATION_EXTENSION_API_ONLY = YES;
965+
CLANG_ENABLE_MODULES = YES;
958966
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
959967
DEFINES_MODULE = YES;
960968
DYLIB_COMPATIBILITY_VERSION = 1;
@@ -978,6 +986,7 @@
978986
isa = XCBuildConfiguration;
979987
buildSettings = {
980988
APPLICATION_EXTENSION_API_ONLY = YES;
989+
CLANG_ENABLE_MODULES = YES;
981990
CODE_SIGN_IDENTITY = "-";
982991
COMBINE_HIDPI_IMAGES = YES;
983992
DEFINES_MODULE = YES;
@@ -993,6 +1002,7 @@
9931002
PRODUCT_NAME = UAParserSwift;
9941003
SDKROOT = macosx;
9951004
SKIP_INSTALL = YES;
1005+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
9961006
SWIFT_VERSION = 4.0;
9971007
};
9981008
name = Debug;
@@ -1001,6 +1011,7 @@
10011011
isa = XCBuildConfiguration;
10021012
buildSettings = {
10031013
APPLICATION_EXTENSION_API_ONLY = YES;
1014+
CLANG_ENABLE_MODULES = YES;
10041015
CODE_SIGN_IDENTITY = "-";
10051016
COMBINE_HIDPI_IMAGES = YES;
10061017
DEFINES_MODULE = YES;
@@ -1024,6 +1035,7 @@
10241035
64CD6C3F1FAA2175009B4F9A /* Debug */ = {
10251036
isa = XCBuildConfiguration;
10261037
buildSettings = {
1038+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
10271039
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
10281040
CLANG_ANALYZER_NONNULL = YES;
10291041
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
@@ -1048,6 +1060,7 @@
10481060
64CD6C401FAA2175009B4F9A /* Release */ = {
10491061
isa = XCBuildConfiguration;
10501062
buildSettings = {
1063+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
10511064
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
10521065
CLANG_ANALYZER_NONNULL = YES;
10531066
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
@@ -1072,6 +1085,7 @@
10721085
DD7502831C68FCFC006590AF /* Debug */ = {
10731086
isa = XCBuildConfiguration;
10741087
buildSettings = {
1088+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
10751089
CODE_SIGN_IDENTITY = "-";
10761090
COMBINE_HIDPI_IMAGES = YES;
10771091
INFOPLIST_FILE = Configs/UAParserSwiftTests.plist;
@@ -1087,6 +1101,7 @@
10871101
DD7502841C68FCFC006590AF /* Release */ = {
10881102
isa = XCBuildConfiguration;
10891103
buildSettings = {
1104+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
10901105
CODE_SIGN_IDENTITY = "-";
10911106
COMBINE_HIDPI_IMAGES = YES;
10921107
INFOPLIST_FILE = Configs/UAParserSwiftTests.plist;
@@ -1103,6 +1118,7 @@
11031118
DD7502961C690C7A006590AF /* Debug */ = {
11041119
isa = XCBuildConfiguration;
11051120
buildSettings = {
1121+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
11061122
INFOPLIST_FILE = Configs/UAParserSwiftTests.plist;
11071123
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
11081124
PRODUCT_BUNDLE_IDENTIFIER = "com.UAParserSwift.UAParserSwift-tvOS-Tests";
@@ -1116,6 +1132,7 @@
11161132
DD7502971C690C7A006590AF /* Release */ = {
11171133
isa = XCBuildConfiguration;
11181134
buildSettings = {
1135+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
11191136
INFOPLIST_FILE = Configs/UAParserSwiftTests.plist;
11201137
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
11211138
PRODUCT_BUNDLE_IDENTIFIER = "com.UAParserSwift.UAParserSwift-tvOS-Tests";

0 commit comments

Comments
 (0)