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

** BUILD FAILED ** compileSwift normal x86_64

Open lnsergioantonio opened this issue 7 years ago • 5 comments

I followed the installation to the letter as it says in the video and uninstalled and installed 3 times, I have in "swift language version" 3.2, because if I put it has something different I have an error in the swift version, even though I can not compile the project, AppTestVideo-Bridging-Header.h creates it manually, and in "GPUImage" it appears marked in red, sorry for my bad English

Captura_de_pantalla_2018_02_28_a_la_s_8_51_33_p_m

I put an extract of the displayed in the console

lass RNVideoProcessingManager: RCTViewManager { ^~~~~~~~~~~~~~ /Users/AppTestVideo/React/AppTestVideo/node_modules/react-native-video-processing/ios/RNVideoProcessing/RNVideoProcessingManager.swift:11:2: error: only classes that inherit fromNSObject can be declared @objc @objc(RNVideoProcessingManager) ~^~~~ /Users/AppTestVideo/React/AppTestVideo/node_modules/react-native-video-processing/ios/RNVideoProcessing/RNVideoProcessingManager.swift:14:34: error: use of undeclared type 'UIView' @objc override func view() -> UIView! { ^~~~~~ /Users/AppTestVideo/React/AppTestVideo/node_modules/react-native-video-processing/ios/RNVideoProcessing/RNVideoProcessingManager.swift:18:25: error: method does not override any method from its superclass @objc override func constantsToExport() -> [AnyHashable: Any] { ~~~~~~~~ ^ /Users/AppTestVideo/React/AppTestVideo/node_modules/react-native-video-processing/ios/RNVideoProcessing/RNVideoProcessingManager.swift:27:25: error: method does not override any method from its superclass override class func requiresMainQueueSetup() -> Bool { ~~~~~~~~ ^ /Users/AppTestVideo/React/AppTestVideo/node_modules/react-native-video-processing/ios/RNVideoProcessing/RNTrimmerView/RNTrimmerViewManager.swift:9:29: error: use of undeclared type 'RCTViewManager' class RNTrimmerViewManager: RCTViewManager { ^~~~~~~~~~~~~~ ** BUILD FAILED **

The following build commands failed: CompileSwift normal x86_64 /Users/AppTestVideo/React/AppTestVideo/node_modules/react-native-video-processing/ios/RNVideoProcessing/RNVideoProcessingManager.swift CompileSwift normal x86_64 /Users/AppTestVideo/React/AppTestVideo/node_modules/react-native-video-processing/ios/RNVideoProcessing/RNTrimmerView/RNTrimmerViewManager.swift CompileSwift normal x86_64 /Users/AppTestVideo/React/AppTestVideo/node_modules/react-native-video-processing/ios/RNVideoProcessing/RNVideoPlayer.swift CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (4 failures)

software version
"react-native-video-processing": ^1.13.0
"react-native": ^0.51.0
Xcode: 9.2
node : 9.4.0

lnsergioantonio avatar Mar 01 '18 01:03 lnsergioantonio

I am also faced with the same error.

wangxpert avatar Mar 09 '18 07:03 wangxpert

I had this error too. I've updated reference to ...-Bridging-Header.h manually ant then it failed on importing GPUImage. Manual installation doesn't build at all and react-native link fails on references/imports.

vygandas avatar Aug 26 '18 08:08 vygandas

Same here.

pribeh avatar Jan 17 '19 22:01 pribeh

56 build errors, following the video and also post #144. Is there no support fot this module anymore?

chai86 avatar Feb 17 '19 15:02 chai86

I solved it by adding libGPUImage.a to Frameworks, Libraries, and Embedded Content

cscs8 avatar Dec 16 '22 12:12 cscs8