Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdeem committed Jul 9, 2018
2 parents 6932279 + 415d748 commit 442eef2
Show file tree
Hide file tree
Showing 30 changed files with 211 additions and 1,022 deletions.
10 changes: 1 addition & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: swift
os: osx
osx_image: xcode9.3
osx_image: xcode9.4

install: gem install xcpretty

Expand All @@ -17,11 +17,3 @@ jobs:
- bash <(curl -s https://codecov.io/bash) -J Tests-tv -F tv
- script:
- set -o pipefail && xcodebuild build -project URITemplate.xcodeproj -scheme URITemplate-watch | xcpretty -c
- script:
- set -o pipefail && xcodebuild build -project URITemplate.xcodeproj -scheme URITemplate-ios-d | xcpretty -c
- script:
- set -o pipefail && xcodebuild build -project URITemplate.xcodeproj -scheme URITemplate-mac-d | xcpretty -c
- script:
- set -o pipefail && xcodebuild build -project URITemplate.xcodeproj -scheme URITemplate-tv-d | xcpretty -c
- script:
- set -o pipefail && xcodebuild build -project URITemplate.xcodeproj -scheme URITemplate-watch-d | xcpretty -c
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file.

<a name="2.0.0"></a>
# [2.0.0](https://github.com/SwiftScream/URITemplate/compare/1.1.1...2.0.0) (2018-07-09)

- Provide Static Framework Targets
- Remove Static Library and Dynamic Framework Targets


<a name="1.1.1"></a>
# [1.1.1](https://github.com/SwiftScream/URITemplate/compare/1.1.0...1.1.1) (2018-07-01)

Expand Down
12 changes: 0 additions & 12 deletions Configuration/DynamicLibTarget-ios.xcconfig

This file was deleted.

2 changes: 1 addition & 1 deletion Configuration/ExampleTarget-ios.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.swiftscream.URITemplateExample
PRODUCT_NAME = $(TARGET_NAME)
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon

OTHER_LDFLAGS = -lURITemplate-ios
OTHER_LDFLAGS = -framework URITemplate

CODE_SIGN_IDENTITY = iOS Developer
CODE_SIGN_STYLE = Automatic
Expand Down
2 changes: 1 addition & 1 deletion Configuration/ExampleTarget-mac.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ MACOSX_DEPLOYMENT_TARGET = 10.12

PRODUCT_NAME = $(TARGET_NAME)

OTHER_LDFLAGS = -lURITemplate-mac
OTHER_LDFLAGS = -framework URITemplate
2 changes: 1 addition & 1 deletion Configuration/ExampleTarget-tv.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PRODUCT_NAME = $(TARGET_NAME)
ASSETCATALOG_COMPILER_APPICON_NAME = App Icon & Top Shelf Image
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage

OTHER_LDFLAGS = -lURITemplate-tv
OTHER_LDFLAGS = -framework URITemplate

CODE_SIGN_IDENTITY = iOS Developer
CODE_SIGN_STYLE = Automatic
Expand Down
2 changes: 1 addition & 1 deletion Configuration/ExampleTarget-watch-ext.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ INFOPLIST_FILE = Example-watch/Extension/Info.plist
PRODUCT_BUNDLE_IDENTIFIER = com.swiftscream.URITemplateExample.watchkitapp.watchkitextension
PRODUCT_NAME = $(TARGET_NAME)

OTHER_LDFLAGS = -lURITemplate-watch
OTHER_LDFLAGS = -framework URITemplate

CODE_SIGN_IDENTITY = iOS Developer
CODE_SIGN_STYLE = Automatic
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
#include "StaticLibTarget-watch.xcconfig"

DYLIB_COMPATIBILITY_VERSION = 1
DYLIB_CURRENT_VERSION = 1
DYLIB_INSTALL_NAME_BASE = @rpath
SDKROOT = iphoneos
IPHONEOS_DEPLOYMENT_TARGET = 9.0
TARGETED_DEVICE_FAMILY = 1,2

SKIP_INSTALL = YES
OTHER_LDFLAGS = -ObjC -all_load
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks
PRODUCT_NAME = URITemplate
PRODUCT_MODULE_NAME = URITemplate

CODE_SIGN_IDENTITY =
DYLIB_COMPATIBILITY_VERSION = 1
DYLIB_CURRENT_VERSION = 1
DYLIB_INSTALL_NAME_BASE = @rpath

MACH_O_TYPE = staticlib
DEFINES_MODULE = YES
INFOPLIST_FILE = Source/DynamicFrameworkInfo.plist
INFOPLIST_FILE = Source/FrameworkInfo.plist
PRODUCT_BUNDLE_IDENTIFIER = com.swiftscream.URITemplate
PRODUCT_NAME = URITemplate
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#include "StaticLibTarget-mac.xcconfig"
EXECUTABLE_PREFIX =
SDKROOT = macosx
MACOSX_DEPLOYMENT_TARGET = 10.11

SKIP_INSTALL = YES
PRODUCT_NAME = URITemplate
PRODUCT_MODULE_NAME = URITemplate

DYLIB_COMPATIBILITY_VERSION = 1
DYLIB_CURRENT_VERSION = 1
Expand All @@ -8,7 +12,7 @@ DYLIB_INSTALL_NAME_BASE = @rpath
OTHER_LDFLAGS = -ObjC -all_load
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @loader_path/Frameworks

MACH_O_TYPE = staticlib
DEFINES_MODULE = YES
INFOPLIST_FILE = Source/DynamicFrameworkInfo.plist
INFOPLIST_FILE = Source/FrameworkInfo.plist
PRODUCT_BUNDLE_IDENTIFIER = com.swiftscream.URITemplate
PRODUCT_NAME = URITemplate
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
#include "StaticLibTarget-tv.xcconfig"
SDKROOT = appletvos
TVOS_DEPLOYMENT_TARGET = 9.0
TARGETED_DEVICE_FAMILY = 3

SKIP_INSTALL = YES
OTHER_LDFLAGS = -ObjC -all_load
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks
PRODUCT_NAME = URITemplate
PRODUCT_MODULE_NAME = URITemplate

DYLIB_COMPATIBILITY_VERSION = 1
DYLIB_CURRENT_VERSION = 1
DYLIB_INSTALL_NAME_BASE = @rpath

OTHER_LDFLAGS = -ObjC -all_load
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks

CODE_SIGN_IDENTITY =

MACH_O_TYPE = staticlib
DEFINES_MODULE = YES
INFOPLIST_FILE = Source/DynamicFrameworkInfo.plist
INFOPLIST_FILE = Source/FrameworkInfo.plist
PRODUCT_BUNDLE_IDENTIFIER = com.swiftscream.URITemplate
PRODUCT_NAME = URITemplate
22 changes: 22 additions & 0 deletions Configuration/FrameworkTarget-watch.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
SDKROOT = watchos
WATCHOS_DEPLOYMENT_TARGET = 2.0
TARGETED_DEVICE_FAMILY = 4

APPLICATION_EXTENSION_API_ONLY = YES

SKIP_INSTALL = YES
OTHER_LDFLAGS = -ObjC -all_load
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks
PRODUCT_NAME = URITemplate
PRODUCT_MODULE_NAME = URITemplate

DYLIB_COMPATIBILITY_VERSION = 1
DYLIB_CURRENT_VERSION = 1
DYLIB_INSTALL_NAME_BASE = @rpath

CODE_SIGN_IDENTITY =

MACH_O_TYPE = staticlib
DEFINES_MODULE = YES
INFOPLIST_FILE = Source/FrameworkInfo.plist
PRODUCT_BUNDLE_IDENTIFIER = com.swiftscream.URITemplate
2 changes: 1 addition & 1 deletion Configuration/Project.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ ENABLE_STRICT_OBJC_MSGSEND = YES
SWIFT_VERSION = 4.1
SWIFT_TREAT_WARNINGS_AS_ERRORS = YES

CURRENT_PROJECT_VERSION = 1.1.1
CURRENT_PROJECT_VERSION = 2.0.0

#include "Warnings.xcconfig"
9 changes: 0 additions & 9 deletions Configuration/StaticLibTarget-ios.xcconfig

This file was deleted.

7 changes: 0 additions & 7 deletions Configuration/StaticLibTarget-mac.xcconfig

This file was deleted.

9 changes: 0 additions & 9 deletions Configuration/StaticLibTarget-tv.xcconfig

This file was deleted.

11 changes: 0 additions & 11 deletions Configuration/StaticLibTarget-watch.xcconfig

This file was deleted.

4 changes: 2 additions & 2 deletions Example-ios/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class ViewController: UIViewController {
let url = URL(string: urlString)!
print("Expanding \(template)\n with \(variables):\n")
print(url.absoluteString)
} catch URITemplate.Error.malformedTemplate(let position, let reason) {
} catch URITemplate.Error.malformedTemplate(_, let reason) {
print("Failed parsing template (\(reason))")
} catch URITemplate.Error.expansionFailure(let position, let reason) {
} catch URITemplate.Error.expansionFailure(_, let reason) {
print("Failed expanding template (\(reason))")
} catch {
print("Unexpected Failure")
Expand Down
4 changes: 2 additions & 2 deletions Example-tv/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class ViewController: UIViewController {
let url = URL(string: urlString)!
print("Expanding \(template)\n with \(variables):\n")
print(url.absoluteString)
} catch URITemplate.Error.malformedTemplate(let position, let reason) {
} catch URITemplate.Error.malformedTemplate(_, let reason) {
print("Failed parsing template (\(reason))")
} catch URITemplate.Error.expansionFailure(let position, let reason) {
} catch URITemplate.Error.expansionFailure(_, let reason) {
print("Failed expanding template (\(reason))")
} catch {
print("Unexpected Failure")
Expand Down
4 changes: 2 additions & 2 deletions Example-watch/Extension/InterfaceController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ class InterfaceController: WKInterfaceController {
let url = URL(string: urlString)!
print("Expanding \(template)\n with \(variables):\n")
print(url.absoluteString)
} catch URITemplate.Error.malformedTemplate(let position, let reason) {
} catch URITemplate.Error.malformedTemplate(_, let reason) {
print("Failed parsing template (\(reason))")
} catch URITemplate.Error.expansionFailure(let position, let reason) {
} catch URITemplate.Error.expansionFailure(_, let reason) {
print("Failed expanding template (\(reason))")
} catch {
print("Unexpected Failure")
Expand Down
2 changes: 1 addition & 1 deletion ScreamURITemplate.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "ScreamURITemplate"
s.version = "1.1.1"
s.version = "2.0.0"
s.summary = "Robust and performant Swift implementation of RFC6570 URI Template"
s.homepage = "https://github.com/SwiftScream/URITemplate"
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
Expand Down
File renamed without changes.
Loading

0 comments on commit 442eef2

Please sign in to comment.