Skip to content
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

iRecordView not working when app in release mode #17

Open
ArjunBhilare opened this issue Apr 3, 2022 · 11 comments
Open

iRecordView not working when app in release mode #17

ArjunBhilare opened this issue Apr 3, 2022 · 11 comments

Comments

@ArjunBhilare
Copy link

ArjunBhilare commented Apr 3, 2022

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?

@KMSoft2013
Copy link

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

@ariefnurputranto
Copy link

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

@KMSoft2013
Copy link

@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.

@ariefnurputranto
Copy link

ariefnurputranto commented May 31, 2022

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

@IosDev7070
Copy link

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

@devkmsoft
Copy link

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

@devkmsoft
Copy link

How I solved that @IosDev7070

@IosDev7070
Copy link

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

@devkmsoft
Copy link

yes

@IosDev7070
Copy link

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

@IosDev7070
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants