Skip to content

Commit d8b8919

Browse files
committed
Release 2.6.3
1 parent 2b8a931 commit d8b8919

File tree

9 files changed

+35
-45
lines changed

9 files changed

+35
-45
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
8+
## [2.6.3] - 2021-08-21
9+
### Changed
10+
- Now import `FeatureFlags` rather than `FeatureFlagsPackage` when using SPM.
11+
- Dropped support for iOS 8
12+
713
## [2.6.2] - 2020-01-07
814
### Changed
915
Fixing `TestVariationPickerViewController` background colors in dark mode.

Example/FeatureFlags.xcodeproj/project.pbxproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
isa = PBXProject;
219219
attributes = {
220220
LastSwiftUpdateCheck = 0830;
221-
LastUpgradeCheck = 1020;
221+
LastUpgradeCheck = 1250;
222222
ORGANIZATIONNAME = CocoaPods;
223223
TargetAttributes = {
224224
607FACCF1AFB9204008FA782 = {
@@ -421,6 +421,7 @@
421421
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
422422
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
423423
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
424+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
424425
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
425426
CLANG_WARN_STRICT_PROTOTYPES = YES;
426427
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -477,6 +478,7 @@
477478
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
478479
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
479480
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
481+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
480482
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
481483
CLANG_WARN_STRICT_PROTOTYPES = YES;
482484
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -511,7 +513,7 @@
511513
INFOPLIST_FILE = FeatureFlags/Info.plist;
512514
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
513515
MODULE_NAME = ExampleApp;
514-
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
516+
PRODUCT_BUNDLE_IDENTIFIER = "com.rwbutler.demo.FeatureFlags-Example";
515517
PRODUCT_NAME = "$(TARGET_NAME)";
516518
SWIFT_VERSION = 5.0;
517519
TARGETED_DEVICE_FAMILY = "1,2";
@@ -526,7 +528,7 @@
526528
INFOPLIST_FILE = FeatureFlags/Info.plist;
527529
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
528530
MODULE_NAME = ExampleApp;
529-
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
531+
PRODUCT_BUNDLE_IDENTIFIER = "com.rwbutler.demo.FeatureFlags-Example";
530532
PRODUCT_NAME = "$(TARGET_NAME)";
531533
SWIFT_VERSION = 5.0;
532534
TARGETED_DEVICE_FAMILY = "1,2";

Example/FeatureFlags.xcodeproj/xcshareddata/xcschemes/FeatureFlags-Example.xcscheme

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1020"
3+
LastUpgradeVersion = "1250"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -40,9 +40,18 @@
4040
buildConfiguration = "Debug"
4141
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4242
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43+
shouldUseLaunchSchemeArgsEnv = "YES"
4344
codeCoverageEnabled = "YES"
44-
onlyGenerateCoverageForSpecifiedTargets = "YES"
45-
shouldUseLaunchSchemeArgsEnv = "YES">
45+
onlyGenerateCoverageForSpecifiedTargets = "YES">
46+
<MacroExpansion>
47+
<BuildableReference
48+
BuildableIdentifier = "primary"
49+
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
50+
BuildableName = "FeatureFlags_Example.app"
51+
BlueprintName = "FeatureFlags_Example"
52+
ReferencedContainer = "container:FeatureFlags.xcodeproj">
53+
</BuildableReference>
54+
</MacroExpansion>
4655
<CodeCoverageTargets>
4756
<BuildableReference
4857
BuildableIdentifier = "primary"
@@ -64,17 +73,6 @@
6473
</BuildableReference>
6574
</TestableReference>
6675
</Testables>
67-
<MacroExpansion>
68-
<BuildableReference
69-
BuildableIdentifier = "primary"
70-
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
71-
BuildableName = "FeatureFlags_Example.app"
72-
BlueprintName = "FeatureFlags_Example"
73-
ReferencedContainer = "container:FeatureFlags.xcodeproj">
74-
</BuildableReference>
75-
</MacroExpansion>
76-
<AdditionalOptions>
77-
</AdditionalOptions>
7876
</TestAction>
7977
<LaunchAction
8078
buildConfiguration = "Debug"
@@ -96,8 +94,6 @@
9694
ReferencedContainer = "container:FeatureFlags.xcodeproj">
9795
</BuildableReference>
9896
</BuildableProductRunnable>
99-
<AdditionalOptions>
100-
</AdditionalOptions>
10197
</LaunchAction>
10298
<ProfileAction
10399
buildConfiguration = "Release"

Example/Pods/Pods.xcodeproj/project.pbxproj

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/FeatureFlags.xcscheme

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FeatureFlags.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 = 'FeatureFlags'
3-
s.version = '2.6.2'
3+
s.version = '2.6.3'
44
s.swift_version = '5.0'
55
s.summary = 'Feature flagging, A/B testing, MVT and phased feature roll out for iOS.'
66
s.description = <<-DESC

FeatureFlags/Classes/UI/Feature Flags/View Controller/FeatureFlagsViewControllerDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77

88
import Foundation
99

10-
@objc public protocol FeatureFlagsViewControllerDelegate: class {
10+
@objc public protocol FeatureFlagsViewControllerDelegate: AnyObject {
1111
@objc func viewControllerDidFinish()
1212
}

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ let package = Package(
66
products: [
77
.library(
88
name: "FeatureFlags",
9-
targets: ["FeatureFlagsPackage"])
9+
targets: ["FeatureFlags"])
1010
],
1111
targets: [
1212
.target(
13-
name: "FeatureFlagsPackage",
13+
name: "FeatureFlags",
1414
path: "FeatureFlags",
1515
exclude: ["Classes/UI", "Classes/Extensions/UIColorAdditions.swift"])
1616
]

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,9 @@ To learn more about how to use FeatureFlags, take a look at the [keynote present
4949
- [x] Convert an A/B test into a feature flag once you have decided whether the feature test was a success i.e. rollout a feature to 100% of users
5050
- [x] Visualize the state of your flags and tests using FeatureFlagsViewController in debug builds of your app
5151

52-
## What's new in FeatureFlags 2.0.0?
52+
## What's new in FeatureFlags 2.6.3?
5353

54-
FeatureFlags 2.0.0 brings support for Swift 5.0. The previous version supporting Swift 4.2 is version 1.7.5.
55-
56-
If you require the Swift 4.2 version then in your `Podfile`:
57-
58-
```ruby
59-
pod "FeatureFlags" "~> 1.7"
60-
```
61-
62-
Or if you are using Carthage add the following to your `Cartfile`:
63-
64-
```ogdl
65-
github "rwbutler/FeatureFlags" ~> 1.7.5
66-
```
54+
When using FeatureFlags 2.6.3 with SPM, import `FeatureFlags` rather than `FeatureFlagsPackage`.
6755

6856
## Installation
6957

0 commit comments

Comments
 (0)