-
-
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
Failed to verify bitcode in QBImagePicker.framework/QBImagePicker #58
Comments
If I don't add the pre-built libraries included in this repo but add them as pods it works fine.
So I guess the pre-built frameworks here have something wrong? |
just tried it on my personal and on brand new test project. It works on both places.
did you provide some additional args or? If you go to They are xcodeprojects with Aggregate target. If you run Aggregate target, script for building *.framework will run. You will get output into You can try playing with configuration of frameworks, build Aggregate target for each framework, copy built *.framework into your project, and see if you can solve this issue. |
Sorry my bad. Building works. I got the error while exporting the archive.
|
maybe related to this #61? |
If I set |
Actually both QBImagePicker and RSKImageCropper have |
you don't have to use pre-built versions. They are for development purposes -> they include simulator and device ARCHs. You can compile them as you wish, and just include *.framework (from framework Products folder) to embedded binaries. |
@rops https://github.com/ivpusic/react-native-image-crop-picker/releases/tag/v0.8.1 may help you. If you still have issue, you can try tip from this post http://vourkosa.github.io/ios/2016/04/14/How-to-build-an-iOS-library-with-Bitcode-support-and-keep-backwards-compatibility-with-XCode-6.html |
When I try compile the *.framework from the Products folder, I get the following error: Info.plist of “Myapp.app/Frameworks/QBImagePicker.framework” specifies a simulator platform for the CFBundleSupportedPlatforms key Will try the v0.8.1. next. EDIT: v0.8.1 fixed the issue for me, thank you @ivpusic EDIT2: When I build for production, I get a whole myriad of errors. Do you think it might be worth it to update the Readme w instructions if you want to avoid embedding binaries? |
@ivpusic I was not able to get it working yet. The premade binaries work OK, but I can't build my own. I'm following the the discussion in #61, here's what I did:
EDIT: also tried adding the SDK folder to my Header Search Path, with no luck EDIT 2: another round of deleting / reinstalling ended up solving the problem. I was then able to successfully upload to iTunes connect (Yay!). My overall feedback would be to structure this plugin in a way that optimizes for easy installation, so that it Just Works -- even at the detriment of performance during development. Just my 2 cents tho. Thanks for your work in this project. |
Glad to hear that it works for you. First installation instruction were with cocoa pods. This "just worked" if you had cocoa-pods enabled project. Some people were complaining about cocoa-pods, having issues with project setup, complaining about no rnpm support, so I decided to step away from cocoa-pods. This introduced some issues like this, because library depends on two external frameworks which has to be somehow present on runtime. Do you have some ideas how to make it more "user friendly" or? |
The easiest for me would be if rnpm linked the required frameworks, and that was the whole install process. If we have to embed binaries, it would be easiest if we could embed the same ones for both dev and prod. |
I can't get rid of the "Unsupported Architecture" errors and everything thing else that comes with them. I've read/tried all of this and issue #61, still unable to get anything to work. The only way I can get an app with this package to iTunes Connect, is with Cocoa Pods. I generated a Podfile and pulled in QBImagePickerController along with RSKImageCropper as the only two pods and everything is great.... |
Any chance to throw in an option to resize multiple images?
|
@parkerdan I would say currently it is out of scope. |
@ivpusic no worries. I just accomplished this on my machine for iOS, about to try for android....although I've never "written" obj-c or java before, I have something working locally and the speed of the response is noticeably faster now. I just added a resizeMultiple bool option and found a resizing function. Great job on this package. |
@parkerdan, I just added section about installing dependencies via cocoa-pods https://github.com/ivpusic/react-native-image-crop-picker#cocoapods-users |
@rops, I will close this issue. Please check latest post-install instructions and try using latest lib version. |
我遇到了这个问题 Failed to verify bitcode in QBImagePicker.framework/QBImagePicker |
Hi, having some problem here. But Build Settings -> Build Options -> Enable Bitcode 设置为no did not fix it. Any other suggestions? |
我遇到了类似的问题,是接入顶象无感验证后出现的。报错:Failed to verify bitcode in DingxiangCaptchaSDK.framework/DingxiangCaptchaSDK: error: Cannot extract bundle |
I'm getting this error when building from command line with xcodebuild:
Woks fine from XCode. Has anyone experienced that?
The text was updated successfully, but these errors were encountered: