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

crash when run on simulator "collection was mutated while being enumerated" #236

Open
Guala99 opened this issue Oct 22, 2020 · 2 comments
Open

Comments

@Guala99
Copy link

Guala99 commented Oct 22, 2020

When running Camera on simulator it always crashes and I receive this error

Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <NSConcreteHashTable: 0x600002c15c20> was mutated while being enumerated.'

When I run it on a physical device It works fine tho

@Eirias
Copy link

Eirias commented Oct 23, 2020

It's not possible to access camera of your development machine to be used as simulator camera. Camera functionality is not available in any iOS version and any Simulator. You will have to use device for testing camera purpose.

@Guala99
Copy link
Author

Guala99 commented Oct 23, 2020

@Eirias thank you for your answer, so let's say a real device doesn't have front or rear camera because, for example, they are broken. Will this error occur? or it will not because It appears only on simulator?

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

2 participants