From efeefcdf20b54d31013a6af53ddfeca0a1c1c432 Mon Sep 17 00:00:00 2001 From: Colter McQuay Date: Tue, 21 Jan 2020 06:48:52 -0800 Subject: [PATCH 1/2] Fix for #25 - Prepublish step that unwraps symlinked headers and framework --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0767329..2c771b0 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "bugs": { "url": "https://github.com/cjam/react-native-spotify-remote/issues" }, - "version": "0.1.0", + "version": "0.1.1", "description": "React Native wrapper around the Spotify Remote SDK", "author": { "name": "Colter McQuay" @@ -31,8 +31,11 @@ "watch": "yarn build --watch", "docs": "typedoc --options typedoc.json --excludeExternals", "test": "echo \"Error: no test specified\" && exit 1", - "prepublishOnly": "yarn submodules && yarn rebuild", - "submodules": "git submodule update --init --recursive", + "prepublishOnly": "yarn rebuild", + "prepack": "yarn submodules && yarn cleanup:ios", + "postpack": "yarn submodules", + "cleanup:ios": "pushd ios/external/SpotifySDK/SpotifyiOS.framework; rm SpotifyiOS Headers; mv Versions/Current/* .; popd", + "submodules": "rm -rf ios/external/* && git submodule update --init --recursive", "example": "concurrently -n \"server,packager\" -c \"yellow,cyan\" \"cd example-server && yarn start\" \"cd example && yarn start\"" }, "peerDependencies": { From 16b029d8152401c392d2efa51a5a762fe80bc02e Mon Sep 17 00:00:00 2001 From: Colter McQuay Date: Tue, 21 Jan 2020 06:51:05 -0800 Subject: [PATCH 2/2] Updating Changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 974c9b7..ff00983 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.1] - 2020-01-21 +### Fixed +- Missing SpotifyiOS headers / Framework [#25](https://github.com/cjam/react-native-spotify-remote/issues/20) + ## [0.1.0] - 2020-01-17 ### Changed - `getRecommendedContentItems` now takes `options` object instead of `ContentType`