When I add this package to my project I get the error: No podspec found for Interactable.
yarn add react-native-interactablepod 'Interactable', :path => '../node_modules/react-native-interactable'pod install or pod updateresults in error: No podspec found for 'Interactable' in '../node_modules/react-native-interactable'
There is no podspec in the node_modules/react-native-interactable folder.
save issue here.
Version on package-lock.json
"react-native-interactable": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/react-native-interactable/-/react-native-interactable-1.0.0.tgz",
"integrity": "sha512-e/GyydV3nFWVL36frdM8H+wGxy5pJu0WjlN6dgtBIRCaGz7nLbCRWFINs7SRwIaI9LPXVAqEXQTOc2d5LJN4HA=="
},
Is there any update about this issue?
Ok, I solved it by removing Interactable from pods and linking iOS project manually.
it seems rn0.60 requires that iOS dependencies be linked through pods
Any solution?
@Mohsen2839 I've been installing from master instead of NPM to get the podspec
@alexichristakis
Can you tell how to install from master
I am trying npm install git+https://[email protected]/wix/react-native-interactable.git\#master but still i am not getting podspec file
Hello there I think you need to add some code before pod working fine follow the steps bellow
but before that make sure you add in your "Podfile"
this line firest
pod 'Interactable', :path => '../node_modules/react-native-interactable/lib/ios'
and then save it and
Pod::Spec.new do |s|
s.name = "Interactable"
s.version = "1.0.0"
s.summary = "Interactable"
s.description = "Interactable"
s.homepage = "https://github.com/wix/react-native-interactable"
s.license = "MIT"
s.author = { "author" => "[email protected]" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/wix/react-native-interactable.git", :tag => "master" }
s.source_files = "Interactable/*/.{h,m}"
s.requires_arc = true
s.dependency "React"
end
cd ios press enter and pod install@airqb that will stay in my local right then other project member needs to do the same steps again.
@shubhanus, @izadmehr will I think so, you know yesterday I soo it at the master file https://github.com/wix/react-native-interactable/blob/master/Interactable.podspec already included but When I try to install it using npm or yaren.., no such file Interactable.podspecy in the local folder
@airqb because npm version is different. it's not from the master.
I am using RN 0.60.4 and I have successfully installed react-native-interactable from master branch. My steps:
react-native-interactable installed - remove it (yarn remove react-native-interactable). Also unlink it react-native unlink react-native-interactableyarn add https://github.com/wix/react-native-interactable.git#mastercd ios and pod install. Pod installation should report that Interactable pod has been added. NOTE: There is no need to add any entry in your podfile - RN 60 auto-linker does that automatically.It worked for me like this and app ran with interactable functionality
@martynasadomaitis That doesn't work, it just states that react-native-interactable was skipped as no podspec file was found.
@Appkidd There might be some package caching issue involved:
package.json: "react-native-interactable": "https://github.com/wix/react-native-interactable.git#master"yarn upgrade react-native-interactableIf after this /node_modules/react-native-interactable/Interactable.podspec still does not exist, then I am not sure what is wrong
@martynasadomaitis Using Yarn instead of NPM did the trick - thanks a lot 馃憤
You can manually add library to workspace
Then, select Interactable.xcodeproj in "Libraries" group -> Build Settings -> Header search path -> Enter "${SRCROOT}/../../../../ios/Pods/Headers/Public" with "recursive"
Most helpful comment
Hello there I think you need to add some code before pod working fine follow the steps bellow
but before that make sure you add in your "Podfile"
this line firest
pod 'Interactable', :path => '../node_modules/react-native-interactable/lib/ios'and then save it and
cd iospress enter andpod installShould work fine. cheers...