Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unknown process name ???? #51

Open
bhoomesh950 opened this issue Sep 26, 2018 · 2 comments
Open

Unknown process name ???? #51

bhoomesh950 opened this issue Sep 26, 2018 · 2 comments

Comments

@bhoomesh950
Copy link

[Unknown process name] CGDataProviderCreateDirect: Invalid size = 0
[Unknown process name] CGImageCreate: invalid image provider: NULL.
[Unknown process name] CGDataProviderCreateDirect: Invalid size = 0
[Unknown process name] CGImageCreate: invalid image provider: NULL.

@tnavadiya
Copy link

I am also getting same issue. Is there any update on this?

@surpher
Copy link

surpher commented Jan 17, 2019

After the line that looks something like:
CFMutableDataRef dataRef = CFDataCreateMutable(NULL, _someValue_);

Make sure to add:
CFDataSetLength(dataRef, _someValue_);

iOS11 doesn't allow instantiating CGDataProviderCreateWithCFData(dataRef) if dataRef is null. CFDataSetLength fixes that for you.

edit: maybe look for CGDataProviderCreateWithData and for length of passed in data. Should have set its length before passing in.

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

No branches or pull requests

3 participants