Warning: Could not load any Objective-C class information using PaintCode's code
I work at PixelCut, we make PaintCode.
After you sent us the project I was able to confirm this issue by running on iPhone 5s. Unfortunatelly, you are pushing PaintCode, Xcode and iOS to their functional limits by trying to use drawing method with 53 thousand lines of code. This single method takes 9 MB in the binary (arm64 only, -Onone
) and uses almost 1000 variables of pointer type. My best guess it that the app reaches some limits of stack memory size and is terminated by system.
We have seen StyleKits with more than 10 thousand lines before, but none of them had a single method this large. I would recommend to split your drawing into several canvases and compose them using Symbols, but I’m afraid that working with such huge drawing may be painfully slow.