What version of Xcode are you using?
Xcode Version 14.0 (14A309)
Did you see an error message?
Yes
What was the error?
CoreGraphics PDF has logged an error. Set environment variable "CG_PDF_VERBOSE" to learn more. /* com.apple.actool.compilation-results */
Please describe the issue:
After compiling the xcasset with certain pdfs, actool will produce the info “CoreGraphics PDF has logged an error”.
The UIImage for the pdf fails rendering.
Please list the steps you took to reproduce the issue:
- Create a new iOS project
- Drag the pdf(attachment named ***.pdf) in the xcasset
- Build
- Check the compile log
What did you expect to happen?
The pdf image renders as expected.
Attachment