-
Notifications
You must be signed in to change notification settings - Fork 14
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
Autolinking (pod install) should work out of the box in RN > 0.60 #12
Comments
Have you got
And an empty Project-Bridging-Header.h |
@mattslight I came across the first article last night but it seems outdated and options are gone that it mentions. The second I just gave a try, with no luck. Can you try in fresh 61.1 project ? By default use_frameworks is not there any more in the Podfile. I think the new process where pods get added by scanning node_modules turns it on by default not.
Open the |
I will try and let you know |
@code-matt I tried and the issue I get is "RNReactNativeReplayKit-Swift.h" not found. I am not too familiar with Swift and bridging, but wonder if the following is relevant? https://stackoverflow.com/questions/52891836/myprojectname-swift-h-not-found-after-clean-build Edit: It is possible to coax Xcode to build, but only by taking additional post-install steps. I take it you are trying to get autolinking working "out of the box". |
Yeah :/ was trying to make autolinking work out of the box. The reason it's not found is because the bridging header and setting not making it over to the pod. That is what adding, the following is for. To try and force xcode to generate the
I think even with manual linking steps, asking the users to add React back to their main app as a target would be too much. Since it's all in pods now. |
Do you have the documentation from the React Native team on how to set up autolinking? Also is there a doc from Cocoapods on setting up a pod with Swift support? |
RNReactNativeReplaykit
pod failed to validate due to 1 error:
Trying to upgrade to RN 0.60.5 and it now uses (and recommends) CocoaPods by default.
I get the the following error when running
pod install
Should be an easy fix, although I am not sure why Cocoapods would fail due to an unset homepage...
The text was updated successfully, but these errors were encountered: