Skip to content

Commit

Permalink
Fix npm package for ios, missing headers / framework (#26)
Browse files Browse the repository at this point in the history
* Fix for #25
- Prepublish step that unwraps symlinked headers and framework

* Updating Changelog
  • Loading branch information
cjam authored Jan 21, 2020
1 parent 738566e commit 0fdaf3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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": {
Expand Down

0 comments on commit 0fdaf3e

Please sign in to comment.