-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 build failed with QBImagePicker/QBImagePicker.h file not found #105
Comments
cannot reproduce this. Did |
No. In fact, i don't perform react-native link on every build (automated). I have already linked ios react-native xcode project in git. I have tried to relink today - the problem still appears. Currently i wrote a patch script to set framework search paths in ImageCropPicker.xcodeproj just after npm install. It works, but ugly. Maybe something wrong with a version of something... Another way to reproduce same issue.
|
my suggestion...use cocoapods to get these dependencies. Check readme file. It will be much easier |
Migrating to cocoapods reveals real problem. It is not with this component but with auto-created schemes in Xcode. If you open Xcode just after installing npm packages and pods - everything will be fine. But if you use xcodebuild without opening Xcode - things goes bad. Adding ruby script to recreate user schemes just before xcodebuild seems to resolve this problem, but very ugly. No matter, this does not related to this component. Thanks for helping. |
I had a similar issue, with the RSKImageCropper header. The explanation provided by @max-vasin is correct. |
Unluckily, this issue keeps resurfacing for me, so for future me and other people that may find this issue (tbh I think @ivpusic you should try to understand why this happens - apparently something breaks after every time I Archive the xcode project) So, for me to solve this issue the "definitive" list of things to do is:
Hope this helps, cheers. |
The problem still exists. @kelset solution kind of worked, but it does not seem like a sustainable solution. |
Keeps happening to me too. |
this solution helped out once again.. it happens all the time.. very difficult to use this library conveniently because of this |
I'm using cocoapods. I got this issue, then I closed xcode then re-opened it and it worked. |
This is really weird. I start to see this issue now out of now where for |
Any updates on such an old issue that still keeps happening every time? |
I deleted my schemes then autorecreated them and it seemed to fix the problem |
This happens most often when archiving, even when the project builds and runs normally. Seems intermittent. Starting over from pod install, archiving will succeed one out of about twenty times... 😢 |
still i am suffering for this package .. any help ? ! |
I've been suffering from this issue too. Is there any intention of this being fixed - or an alternative that's not causing headaches? |
i try all methods on internet, but failed. |
After get the lib working with manual linking, I tried to release a feature with it. |
Version
Platform
Expected behaviour
Successful build without any modifications.
Actual behaviour
Maybe i missed something, but build failed with
When i changed the value of Framework Search Paths for imageCropPicker build target to
then i got successful build.
Steps to reproduce
to Framework Search Paths for react-native project
The text was updated successfully, but these errors were encountered: