-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
🐛 iOS 'react/bridging/CallbackWrapper.h' file not found #1413
Comments
@salihgun make sure you are using
|
i raised the swift version to 5.2 but it doesn't work (xCode v14.2) but this answer helped me: #1159 (comment) when I raised the version to 5.2 and registered this in my Podfile, then the whole project was assembled post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
config.build_settings['HEADER_SEARCH_PATHS'] ||= '$(inherited) '
config.build_settings['HEADER_SEARCH_PATHS'] << '"$(PODS_ROOT)/Headers/Private/React-bridging/react/bridging" '
config.build_settings['HEADER_SEARCH_PATHS'] << '"$(PODS_CONFIGURATION_BUILD_DIR)/React-bridging/react_bridging.framework/Headers" '
end
end
end |
Having this issue in RN 0.72.0 |
In RN 0.72 paths changed. Here's fix:
|
Small reproducible example - don't know if it helps you @mrousavy https://github.com/RRaideRR/vision-camera-expo-sdk-49 I'm seeing this only when I enable "useFrameworks": "static" |
Hey thanks! |
before react-native 0.72.0 it did :-) |
For anyone also using expo SDK 49 or react native 0.72.0 with expo - here is what you need to do to modify the podfile:
This is how my podfile looks like - its my first config plugin, so not quite sure if this is well written but in my project it works :-)
|
Are there any plans to fix this in the current VisionCamera version? |
Hey @kbrandwijk - unfortunately not, no. I just can't focus on everything - I'm trying to plan my time as effective as possible and in V3 I'll do this - hope you understand |
A little note in the readme that RN 0.71 is the last supported version might help in that case... |
Closing as this is a stale issue - this might have been fixed with the full rewrite in VisionCamera V3 (🥳) - if not, please create a new issue. If your issue has been fixed, consider sponsoring me on GitHub to say thanks 💖 |
@kesha-antonov I have a quick question: should I put the code you mentioned before or after the In other words, in my
or should I do
Thanks a lot in advance! |
What were you trying to do?
I was trying to add the library but can not run it
Reproduceable Code
No response
What happened instead?
Relevant log output
No response
Device
iPhone 14 (iOS 16.0)
VisionCamera Version
2.15.2
Additional information
The text was updated successfully, but these errors were encountered: