[ios] enable bitcode for framework

https://stackoverflow.com/questions/32868297/compiling-ios-library-with-bitcode-enabled

Advertisements

[ios] opengl es

Apple document

Book

[iOS] Crashed, GPUImageContext presentBufferForDisplay

Symptom

symptom : Crashed when power button pressed app was running.

스크린샷 2016-12-01 오후 2.22.58.png

Solution

OpenGL ES processingQueue를 사용하고 비활성화 될 때 끄도록 설정함.

//AppDelegate
func applicationWillResignActive(_ application: UIApplication) {
    runSynchronouslyOnVideoProcessingQueue {
        glFinish()
    }
}

References