Skip to content

Commit

Permalink
Merge pull request #43 from netguru/enable-library-evolution
Browse files Browse the repository at this point in the history
Enable Swift library evolution
  • Loading branch information
filip-zielinski authored Apr 13, 2022
2 parents 3d8e5d5 + 999dc53 commit 061838a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BlueSwift.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |spec|

spec.name = 'BlueSwift'
spec.version = '1.0.6'
spec.version = '1.1.0'
spec.summary = 'Easy and lightweight CoreBluetooth wrapper written in Swift'
spec.homepage = 'https://github.com/netguru/BlueSwift'

Expand Down
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Change Log
All notable changes to this project will be documented in this file.



## [1.1.0] - 2022-04-13

### Changed

- enabled Swift library evolution (`BUILD_LIBRARY_FOR_DISTRIBUTION = YES`) to allow creating XCFrameworks using BlueSwift. See ["Library Evolution in Swift"](https://www.swift.org/blog/library-evolution/) official swift blogpost.
This change:
- allows modules built with different compiler versions to be used together in one app.
- allows developers of binary frameworks to make additive changes to the API of their framework while remaining binary compatible with previous versions.

## [1.0.6] - 2022-04-08

### Added
Expand Down
2 changes: 1 addition & 1 deletion Configurations/Common/Common-Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include "../xcconfigs/Common/Common.xcconfig"

_BUILD_VERSION = 1.0.6
_BUILD_VERSION = 1.1.0
_BUILD_NUMBER = 1

_DEPLOYMENT_TARGET_IOS = 11.0
Expand Down
3 changes: 3 additions & 0 deletions Configurations/Framework/Framework-Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ _BUNDLE_IDENTIFIER = co.netguru.lib.blueswift
_BUNDLE_INFOPLIST_PATH = $(PROJECT_DIR)/Framework/Supporting Files/Info.plist

ENABLE_TESTABILITY = YES

// Build library for distribution to enable Swift library evolution
BUILD_LIBRARY_FOR_DISTRIBUTION = YES
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ Just drop the line below to your Podfile:

`pod 'BlueSwift'`

(but probably you'd like to pin it to the nearest major release, so `pod 'BlueSwift' , '~> 1.0.6'`)
(but probably you'd like to pin it to the nearest major release, so `pod 'BlueSwift' , '~> 1.1.0'`)

### ![](https://img.shields.io/badge/carthage-compatible-green.svg)

The same as with Cocoapods, insert the line below to your Cartfile:

`github 'netguru/BlueSwift'`

, or including version - `github 'netguru/BlueSwift' ~> 1.0.6`
, or including version - `github 'netguru/BlueSwift' ~> 1.1.0`

## 📄 License

Expand Down

0 comments on commit 061838a

Please sign in to comment.