iRecordView icon indicating copy to clipboard operation
iRecordView copied to clipboard

iRecordView not working when app in release mode

Open ArjunBhilare opened this issue 2 years ago • 11 comments

I'm developing a messenger app in which I'm using https://github.com/3llomi/iRecordView library to record voice messages. Everything works fine in debug mode. But when I release the app to App Store and later use the app after downloading from App Store it does not work.

Expected behaviour is that on pressing the record button it makes sound and starts recording as shown in the demo https://github.com/3llomi/iRecordView

But in release mode (App downloaded from App Store) when I press the button nothing happens. There are no crash reports on App Store Connect. Could someone please help me on how could I get device logs or what the problem could be?

From what I could guess is that RecordViewDelegate methods are not being called

self.recordView.delegate = self is not working I guess. Any suggestions how this could be resolved?

ArjunBhilare avatar Apr 03 '22 10:04 ArjunBhilare

@ArjunBhilare I found onStart delegate is not getting called. Did you find any solution for this?

KMSoft2013 avatar May 14 '22 07:05 KMSoft2013

hi @KMSoft2013 , @ArjunBhilare , @3llomi

The rootcouse in xcode 13 is executed in the code below

file RecordView.swift

audioPlayer.didFinishPlaying = { [weak self] _ in
               self?.delegate?.onStart()
 }

self?.delegate?.onStart() never called from audioPlayer.didFinishPlaying

ariefnurputranto avatar May 31 '22 04:05 ariefnurputranto

@ariefnurputranto Thanks for the help. And yes I figure out that. I simply remove this from the cocoa pod and added it directly as code with the sound file. And it worked without any problem.

KMSoft2013 avatar May 31 '22 04:05 KMSoft2013

@KMSoft2013 , like i do. while waiting to be fixed and released on cocoapods

ariefnurputranto avatar May 31 '22 04:05 ariefnurputranto

Hi @KMSoft2013 @3llomi @ArjunBhilare, I am also getting this issue ... do you guys find any solution ?

IosDev7070 avatar Jul 14 '22 12:07 IosDev7070

simply remove this from the cocoa pod and added it directly as code with the sound file. And it worked without any problem.

devkmsoft avatar Jul 14 '22 12:07 devkmsoft

How I solved that @IosDev7070

devkmsoft avatar Jul 14 '22 12:07 devkmsoft

do I need to remove the iRecordView pod from my project? @devkmsoft

IosDev7070 avatar Jul 14 '22 12:07 IosDev7070

yes

devkmsoft avatar Jul 14 '22 12:07 devkmsoft

I do the same @devkmsoft but it doesn't work for me

IosDev7070 avatar Jul 14 '22 13:07 IosDev7070

recordview gets open , and recording timing also start but it does not record anything ..

IosDev7070 avatar Jul 14 '22 13:07 IosDev7070