react-native-video-processing icon indicating copy to clipboard operation
react-native-video-processing copied to clipboard

iOS: More than 34 errors when I tried to build the app on iOS after finishing all the steps

Open esmatnawahda1 opened this issue 5 years ago • 5 comments

Current Behavior

I'm working on a new app and stuck with this library. I'm using this library to get a preview of the video before uploading to the storage, and it is working fine on android, but on iOS, I followed the instructions and got a lot of errors after cleaning and building the project.

Some of the errors: 'kCMTimeZero' has been renamed to 'CMTime.zero' Missing argument labels 'value:timescale:' in call 'AVFileTypeMPEG4' has been renamed to 'AVFileType.mp4' and more

Expected Behavior

It should work as @shahen94 explained in the instructions.

Your Environment

software version
react-native-video-processing 1.20.0
react-native 0.61.5
react 16.9.0
node 10.16.0

esmatnawahda1 avatar Apr 14 '20 11:04 esmatnawahda1

I'm using React Native 0.59.10 & Xcode 11.3.1 and the only way I was able to make it work was by directly including the two projects like this.

Screenshot 2020-04-18 at 5 19 16 PM

Also, you'll have to comment 'resize mode' object and props. Just comment out the changes done here: https://github.com/shahen94/react-native-video-processing/pull/240/commits/68eefa82f76bd8e84825746e3ba3f1cbdec68850

xlogix avatar Apr 18 '20 11:04 xlogix

@xlogix I'm having this issue when following this approach:

File (1)

RN 60:

    "expo": "^36.0.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz",

n-sviridenko avatar May 10 '20 09:05 n-sviridenko

@n-sviridenko Use this repo's code: https://github.com/xlogix/react-native-video-processing

xlogix avatar May 10 '20 18:05 xlogix

@xlogix I do everything as indicated in the instructions and in this issues, but I get 61 errors

react-native-video-processing | 1.20.0 react-native | 0.61.4 Xcode | 11.4.1

Adigezalov avatar Jun 24 '20 17:06 Adigezalov

@xlogix I'm having this issue when following this approach:

File (1)

RN 60:

    "expo": "^36.0.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz",

Are you running a Managed Expo project? Were you able to get it working?

chris-chao avatar Mar 10 '22 06:03 chris-chao