Skip to content

Commit

Permalink
Installs v3-beta.3 (#66)
Browse files Browse the repository at this point in the history
* renames schemes and targets to LaunchDarkly

* renames test target and headers to LaunchDarkly

* renames code and test folders to LaunchDarkly

* renames xcode project to LaunchDarkly

* renames workspace to LaunchDarkly

* renames modules and sets Catamorphic Co as license holder in block header comment

* renames podfile workspace and targets to LaunchDarkly

* renames Jazzy components to LaunchDarkly

* replaces outdated variable_name rule with identifier_name to clear swiftlint warnings

* renames workspace and scheme to LaunchDarkly in circleCI

* installs CocoaPods 1.6.0

* installs DarklyEventSource 4.0.1

* installs Quick 7.3.4 and Nimble 1.3.4

* installs SwiftLint 0.30.1

* Add instructions to integrate without a package manager  (#57)

* Replaces onServerUnavailable with ErrorObserver (#58)

* Adds new logging around variationAndSource (#59)

* Install keys to model objects (#60)

* Adds Automated Tests for missing coverage (#61)

* Decompress Blocks (#62)

* Refine flag version handling (#63)

* sets beta 3 version and updates public documents

* Add Platform Names to non-iOS frameworks (#65)

* renames all schemes, targets, and non-iOS products to include the platform

* updates changelog and instructions for non-iOS platforms

* updates items for public release

* updates pods project
  • Loading branch information
markpokornycos committed Mar 8, 2019
1 parent 5443b39 commit 62d432e
Show file tree
Hide file tree
Showing 251 changed files with 6,596 additions and 4,456 deletions.
20 changes: 16 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# config file version: 1.0.2
# config file version: 1.1.0
version: 2
jobs:
build:
working_directory: /Users/distiller/launchdarkly/ios-client-swift-private/tmp
working_directory: /Users/distiller/launchdarkly/ios-client/tmp
parallelism: 1 # controls the # of containers for the job. In theory, adding another container should halve the number of tests run in each container, but instead appears to run all tests in both containers.
shell: /bin/bash --login

Expand Down Expand Up @@ -46,8 +46,20 @@ jobs:
command: instruments -s devices

- run:
name: Clean, Build, & Test
command: set -o pipefail && xcodebuild clean build test -workspace 'Darkly.xcworkspace' -scheme 'Darkly_iOS' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= | tee 'xcode_raw.log' | xcpretty --color --report html --output '/Users/distiller/launchdarkly/ios-client-swift-private/tmp/output/report.html' --report junit --output '/Users/distiller/launchdarkly/ios-client-swift-private/tmp/output/xcode/report.junit'
name: Clean, Build, & Test LaunchDarkly_iOS
command: set -o pipefail && xcodebuild clean build test -workspace 'LaunchDarkly.xcworkspace' -scheme 'LaunchDarkly_iOS' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone XS,OS=latest' CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= | tee 'xcode_raw.log' | xcpretty --color --report html --output '/Users/distiller/launchdarkly/ios-client/tmp/output/report.html' --report junit --output '/Users/distiller/launchdarkly/ios-client/tmp/output/xcode/report.junit'

- run:
name: Clean & Build LaunchDarkly_watchOS
command: set -o pipefail && xcodebuild clean build -workspace 'LaunchDarkly.xcworkspace' -scheme 'LaunchDarkly_watchOS' -sdk watchsimulator -destination 'platform=watchOS Simulator,name=Apple Watch Series 4 - 44mm,OS=latest' CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= | tee 'LaunchDarkly_watchOS_xcode_raw.log' | xcpretty --color

- run:
name: Clean & Build LaunchDarkly_macOS
command: set -o pipefail && xcodebuild clean build -workspace 'LaunchDarkly.xcworkspace' -scheme 'LaunchDarkly_macOS' -sdk macosx -destination 'platform=macOS' CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= | tee 'LaunchDarkly_macOS_xcode_raw.log' | xcpretty --color

- run:
name: Clean & Build LaunchDarkly_tvOS
command: set -o pipefail && xcodebuild clean build -workspace 'LaunchDarkly.xcworkspace' -scheme 'LaunchDarkly_tvOS' -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV,OS=latest' CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= | tee 'LaunchDarkly_tvOS_xcode_raw.log' | xcpretty --color

- run:
name: Copy XC Activity Log
Expand Down
4 changes: 2 additions & 2 deletions .circleci/run-build-locally.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# A script that triggers a circleci build from the command line
# Script from https://circleci.com/docs/2.0/examples/#video-test-your-config-file-locally
# Usage: From the project folder (e.g. 'ios-client-swift-private') run 'bash .circleci/run-build-locally.sh'
# Usage: From the project folder (e.g. 'ios-client') run 'bash .circleci/run-build-locally.sh'
# Set the url to run in this format
# https://circleci.com/api/v1.1/project/<source, eg. github>/<user name>/<project name>/tree/<branch name>
# Dependencies:
Expand All @@ -10,4 +10,4 @@ curl --user ${CIRCLE_TOKEN}: \
--request POST \
--form config=@.circleci/config.yml \
--form notify=false \
https://circleci.com/api/v1.1/project/github/launchdarkly/ios-client-swift-private/tree/master
https://circleci.com/api/v1.1/project/github/launchdarkly/ios-client/tree/master
23 changes: 12 additions & 11 deletions .jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ author_url: http://launchdarkly.com
github_url: https://github.com/launchdarkly/ios-client
clean: true
include:
- "Darkly/Darkly/**"
- "LaunchDarkly/LaunchDarkly/**"
exclude:
- "Darkly/Darkly/User/CacheableUserFlags.swift"
- "Darkly/Darkly/FeatureFlag/*"
- "Darkly/Darkly/FeatureFlag/FlagChange/Flag*"
- "Darkly/Darkly/FeatureFlag/FlagRequestTracking/*"
- "Darkly/Darkly/FeatureFlag/FlagValue/*"
- "Darkly/Darkly/ServiceObjects/*"
- "Darkly/Darkly/Networking/*"
- "Darkly/Darkly/Extensions/*"
- "LaunchDarkly/LaunchDarkly/User/CacheableUserFlags.swift"
- "LaunchDarkly/LaunchDarkly/FeatureFlag/*"
- "LaunchDarkly/LaunchDarkly/FeatureFlag/FlagChange/Flag*"
- "LaunchDarkly/LaunchDarkly/FeatureFlag/FlagRequestTracking/*"
- "LaunchDarkly/LaunchDarkly/FeatureFlag/FlagValue/*"
- "LaunchDarkly/LaunchDarkly/ServiceObjects/*"
- "LaunchDarkly/LaunchDarkly/Networking/*"
- "LaunchDarkly/LaunchDarkly/Extensions/*"

copyright: 'Copyright © 2018 Catamorphic Co.'
copyright: 'Copyright © 2019 Catamorphic Co.'

theme: fullwidth

custom_categories:
- name: Launch Darkly
- name: LaunchDarkly
children:
- LDClient
- LDConfig
Expand All @@ -40,6 +40,7 @@ custom_categories:
- LDFlagChangeHandler
- LDFlagCollectionChangeHandler
- LDFlagsUnchangedHandler
- LDErrorHandler

- name: LD Protocols
children:
Expand Down
4 changes: 2 additions & 2 deletions .sourcery.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
sources:
- Darkly/
- LaunchDarkly/
templates:
- SourceryTemplates/
output: Darkly/GeneratedCode/
output: LaunchDarkly/GeneratedCode/

args:
app: LaunchDarkly
Expand Down
4 changes: 2 additions & 2 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ opt_in_rules: # some rules are only opt-in
# # - Source
excluded: # paths to ignore during linting. Takes precedence over `included`.
# - Carthage
- Darkly/GeneratedCode
- LaunchDarkly/GeneratedCode
- Pods
- _iOS/Pods
# - Source/ExcludedFolder
Expand Down Expand Up @@ -51,7 +51,7 @@ type_body_length:
file_length:
warning: 1000
error: 1500
variable_name:
identifier_name:
min_length: # only min_length
error: 3 # only error
max_length: # warning and error
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to the LaunchDarkly iOS SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).

## [3.0.0-beta.3] - 2019-03-07
### Changed
- Renames SDK frameworks to `LaunchDarkly.framework` for iOS, and `LaunchDarkly_<platform>.framework` for non-iOS platforms.
- Renames targets to `LaunchDarkly_<platform>`.
- Renames project and workspace to `LaunchDarkly`
- Updates `DarklyEventSource` to version `4.0.1`
- Updates several internal dependencies to their latest versions
- Replaces `onServerUnavailable` with `observeError` on LDClient

### Added
- Instructions to integrate without a Package Manager to `README.md`
- New log entries that tell when the SDK could not find a feature flag, and when the SDK could not convert a feature flag to the requested type

## [3.0.0-beta.2] - 2019-02-06
### Changed
- `LDFlagValueSource` is a Swift `enum` the SDK uses to communicate the source of a feature flag (`server`, `cache`, `fallback`) to the client app. The Objective-C `enum` was changed to an object to provide Objective-C client apps access to the methods available to the enum.
Expand Down
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "launchdarkly/ios-eventsource" >= 4.0.0
github "launchdarkly/ios-eventsource" >= 4.0.1
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "launchdarkly/ios-eventsource" "4.0.0"
github "launchdarkly/ios-eventsource" "4.0.1"
10 changes: 5 additions & 5 deletions Carthage/Build/.ios-eventsource.version

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file modified Carthage/Build/iOS/DarklyEventSource.framework/DarklyEventSource
Binary file not shown.
Binary file modified Carthage/Build/iOS/DarklyEventSource.framework/Info.plist
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file modified Carthage/Build/tvOS/DarklyEventSource.framework/Info.plist
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file modified Carthage/Build/watchOS/DarklyEventSource.framework/Info.plist
Binary file not shown.
52 changes: 0 additions & 52 deletions Darkly/Darkly/Extensions/AnyComparer.swift

This file was deleted.

28 changes: 0 additions & 28 deletions Darkly/Darkly/LDCommon.swift

This file was deleted.

Loading

0 comments on commit 62d432e

Please sign in to comment.