Closed 404sand808s closed 6 years ago
Hey @404sand808s,
My guess is you need to make sure you follow the instructions here which including a step to link your project to react-native-quick-actions. Hopefully that helps. If not give Stack Overflow a try and if you find a bug with our code or documentation open up a ticket here and we'll fix it.
I followed those instructions to the T, but perhaps there's something that needs to be done that they're not explicitly stating. I assume there's no bug in your code since I've searched your issues and nobody else brought this up. Thanks for the quick reply, will try SO.
Had the same issue. However I linked the library manually to avoid Cocoapods - then I needed to reference the header file by adding this to "Header Search Paths" (go to your project's file, select "Build Settings" and search for "Header Search Paths")
$(SRCROOT)/../node_modules/react-native-quick-actions/RNQuickAction/RNQuickAction
I seem to be running into the same issue ("RNQuickActionManager.h" file not found), although I'm using Cocoapods.
Unfortunately @leonid-shevtsov's solution did not work for me. After adding the header search path Leonid specified, the "RNQuickActionManager.h file not found" error goes away, but I get a new error "Undefined symbol: _OBJCCLASS$_RNQuickActionManager".
Has anyone successfully installed this module using Cocoapods? Sorry if I'm missing something obvious. I don't see any mention of Cocoapods in the documentation. Usually React Native module install guides have sections like "do this if cocoapods.. do this otherwise", so I'm unsure if following the install instructions is even relevant/supported in my case. Can the installation instructions still work when modifying AppDelegate.m within the .xcworkspace project (not .xcodproject)?
Environment React-Native-CLI 2.0.1 React-Native 0.61.2
I've tried the following install steps:
Approach A:
Approach B:
I managed to fix this for Cocoapods by doing the following:
pod 'RNQuickAction', :podspec => '../node_modules/react-native-quick-actions/RNQuickAction.podspec'
Hey, feel like this should be straightforward enough but I actually can't tell what I'm doing wrong.
Followed the installation instructions as per the RN page you linked but I keep getting the error 'RNQuickActionManager.h' file not found in my import of #import "RNQuickActionManager.h" in my AppDelegate.m file.
I did the manual install on iOS. Thanks in advance for any help or insight!