-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add podspec for CocoaPods #96
Conversation
When will this change be merged |
I am working on react native 0.60.4 and autolinking is not working for it because it says !] use_native_modules! skipped the react-native dependency 'rn-apple-healthkit'. No podspec file was found. |
Does owner still maintain this ? There are so many open PR, but I really do want this one merge in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A better approach would be to use package.json info.
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = package['name']
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.authors = package['author']
s.homepage = package['homepage']
s.platform = :ios, "9.0"
s.source = { :git => "https://github.com/terrillo/rn-apple-healthkit", :tag => "master" }
s.source_files = "RCTAppleHealthKit/*.{h,m}"
s.requires_arc = true
s.dependency 'React'
end
Can we get this merged? Can't make a RN 0.61.1 release build without this fix. |
Temporary fix for now: add to Podfile:
Create a file
|
* upstream/master: Hot fix 0.7.0v Added Pods Header in Header Search Path (lucaspbordignon#101) Add podspec for CocoaPods (lucaspbordignon#96)
No description provided.