-
Notifications
You must be signed in to change notification settings - Fork 325
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
Swift is not supported for static libraries #48
Comments
@santiagovazquez hi, please watch this video |
Hi @shahen94, thanks for the quick response! If I follow the video steps, it works (only iOS). But if I run the command for android set up (react-native link react-native-video-processing), it starts to show that message. Any ideas? |
@santiagovazquez seems like you have to link android manually, i'll write about it in readme when i'll have a chance |
when you're running |
@shahen94 Great, thanks for your help! Awesome library! One last question, is it possible to use an URL as a source? My code:
It works on my terminal if I do |
Unfortunately no, currently you can't process remote video, VideoPlayer can play that but can't trim/compress or do some processing actions. library still working only with assets-library, do you can give a link from CameraRoll |
It's not hard to implement, here we have to download remote video, and after that get info. Just I havent time to work on it , so I'll wait for community |
hey @shahen94, I'm not an iOS developer, so I do not understand completely what I did. I read this post http://stackoverflow.com/questions/31383655/avassetexportsession-trim-download Now I'm able to use a remote URL to cut a video (without having to download it) 😄 |
Hey @santiagovazquez . If you can put back quality options and all functionality and keep only this feature,that would be great. |
@shahen94 let me try that and i will do a PR. |
@santiagovazquez thanks for contributing ! |
@shahen94 I went thru all the steps above & am still having this issue. Xcode automatically created my Bridging Header file inside the
I've tried every single combination of imports, such as the following:
Do you have any advice for how to get this package working? Even "Clean" fails... |
Can you please copy/past the error messages ? |
I get the exact error listed above: https://cloud.githubusercontent.com/assets/520412/24073932/830f1f4e-0bde-11e7-8779-4a04f9117bd4.png |
@rpastorelle did you run |
@shahen94 I ran |
Might @santiagovazquez can help you ? |
@rpastorelle I recommend you to clone the repo again and follow the video tutorial |
Yeeeahhh. I did that a few times already but I'll give it another shot |
I was able to get this working! A couple notes: • I did not use (Also closed #79) |
@rpastorelle So - You mean that the video demonstration doesn't help ? Where's the problem, but right now linking this library to project is a main issue. The library we wrote on Swift, and react-native can't link Swift libraries automatically (with react-native link command, facebook/react-native#13030). Sorry for you pain, and glad to hear that you could get it to work |
@shahen94 Nevermind. It only worked because I didn't compile sources. As soon as I did that I have the same issue again. Still can't use the library :/ Is there a version of this that doesn't use Swift? That seems to be creating all my issues |
@Gevorg94 can you take a look what could be the problem ? |
I just initialized new project, and have been able to compile it with this library, |
@shahen94 Should I run thru the video demo AND run |
@shahen94 I have finally got this working! Life lesson: Never ever use Thanks so much for all your attention! |
Hi,
I just started a project with RN and I'm trying to use this library (I'm not familiar with iOS development).
I followed the steps on the readme. I did not have the bridging header file so I followed: #14
XCode won't compile my project, I'm getting "Swift is not supported for static libraries" for RNVideoProcessing:
Thanks in advance for any help you can give me! 😃
The text was updated successfully, but these errors were encountered: