react-native-compressor icon indicating copy to clipboard operation
react-native-compressor copied to clipboard

iOS not running

Open rahuljeevan-experion opened this issue 3 years ago • 2 comments

Current behavior

Getting this error while trying to run the iOS app.

SwiftEmitModule normal x86_64 Emitting\ module\ for\ react_native_compressor (in target 'react-native-compressor' from project 'Pods')

Expected behavior

Platform

  • [ ] Android
  • [X] iOS

React Native Version

  • 0.69.3

React Native Compressor Version

  • 1.5.2

Reproducible Steps And Demo

yarn add react-native-compressor npx pod-install yarn ios

NB - issue is happening on M1 mac

Screenshot 2022-09-27 at 2 28 14 PM

rahuljeevan-experion avatar Sep 27 '22 09:09 rahuljeevan-experion

👋 @rahuljeevan-experion Thanks for opening your issue here! If you find this package useful hit the star🌟!

github-actions[bot] avatar Sep 27 '22 09:09 github-actions[bot]

i got same error, any solution ?

RMuhamar avatar Oct 04 '22 03:10 RMuhamar

@RMuhamar i got same error, any solution ?

I was able to make the app run by modifying the package.

I had to replace var backgroundTaskId: UIBackgroundTaskIdentifier = .invalid; with var backgroundTaskId: UIBackgroundTaskIdentifier = UIBackgroundTaskInvalid;

Also, I had to add a patch for the removed listener. but due to these changes I'm unable to compress the video, the process just returns the same path I gave as input.

rahuljeevan-experion avatar Oct 07 '22 14:10 rahuljeevan-experion

is anyone test latest version of this package and confirm me if you are getting this or not

numandev1 avatar Sep 14 '23 22:09 numandev1

fixed in the latest version, please feel free to reopen this issue again if this issue happens again

numandev1 avatar Oct 02 '23 22:10 numandev1