Skip to content

Commit 0fdaf3e

Browse files
authored
Fix npm package for ios, missing headers / framework (#26)
* Fix for #25 - Prepublish step that unwraps symlinked headers and framework * Updating Changelog
1 parent 738566e commit 0fdaf3e

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.1.1] - 2020-01-21
10+
### Fixed
11+
- Missing SpotifyiOS headers / Framework [#25](https://github.com/cjam/react-native-spotify-remote/issues/20)
12+
913
## [0.1.0] - 2020-01-17
1014
### Changed
1115
- `getRecommendedContentItems` now takes `options` object instead of `ContentType`

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"bugs": {
88
"url": "https://github.com/cjam/react-native-spotify-remote/issues"
99
},
10-
"version": "0.1.0",
10+
"version": "0.1.1",
1111
"description": "React Native wrapper around the Spotify Remote SDK",
1212
"author": {
1313
"name": "Colter McQuay"
@@ -31,8 +31,11 @@
3131
"watch": "yarn build --watch",
3232
"docs": "typedoc --options typedoc.json --excludeExternals",
3333
"test": "echo \"Error: no test specified\" && exit 1",
34-
"prepublishOnly": "yarn submodules && yarn rebuild",
35-
"submodules": "git submodule update --init --recursive",
34+
"prepublishOnly": "yarn rebuild",
35+
"prepack": "yarn submodules && yarn cleanup:ios",
36+
"postpack": "yarn submodules",
37+
"cleanup:ios": "pushd ios/external/SpotifySDK/SpotifyiOS.framework; rm SpotifyiOS Headers; mv Versions/Current/* .; popd",
38+
"submodules": "rm -rf ios/external/* && git submodule update --init --recursive",
3639
"example": "concurrently -n \"server,packager\" -c \"yellow,cyan\" \"cd example-server && yarn start\" \"cd example && yarn start\""
3740
},
3841
"peerDependencies": {

0 commit comments

Comments
 (0)