BradLarson / GPUImage2

GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing.
BSD 3-Clause "New" or "Revised" License
4.88k stars 611 forks source link

exc_bad_access occurs when build with xcode11.4 in release mode #316

Open sh4wn opened 4 years ago

sh4wn commented 4 years ago

https://github.com/BradLarson/GPUImage2/blob/3a2275e48716a6ebdab0d4098bd7d90321ef4143/framework/Source/Apple/PictureInput.swift#L119

I believe the variable 'imageData' occurred the error

sh4wn commented 4 years ago

The problem exists in xcode 11.5 also.

maxwell212 commented 4 years ago

@sh4wn Did you find a solution for this?

sh4wn commented 4 years ago

@sh4wn Did you find a solution for this?

I have created a cocoapod called "XYGPUImage2" that fix this problem. I don't know if it's the perfect way to do so.

maxwell212 commented 4 years ago

Thanks that fixed it for me.

jsonwang commented 3 years ago

please help me i got it