BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.22k stars 4.62k forks source link

SimpleVideoFilter example project does not run #2520

Closed ldt116 closed 6 years ago

ldt116 commented 6 years ago

I tried to run the project in SimpleVideoFilter. But it ran into an exception as below

2017-10-25 16:22:29.448465+0700 SimpleVideoFilter[1978:429271] [DYMTLInitPlatform] platform initialization successful
2017-10-25 16:22:30.444220+0700 SimpleVideoFilter[1978:429093] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x135d03370> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.'
*** First throw call stack:
(0x182acfd38 0x181fe4528 0x182acfa00 0x1833db780 0x18c4670bc 0x1829dd118 0x18c465ab0 0x18c46d64c 0x18c148758 0x18bf4ecdc 0x18c1475c0 0x18c3d5454 0x18c6a51f0 0x18c3d50b8 0x18c3d5928 0x18cb3e6e8 0x18cb3e58c 0x18c8ba9c0 0x18ca4ffc8 0x18c8ba870 0x18c6a4850 0x18c145e28 0x18c5496ec 0x185171768 0x18517a070 0x1015a945c 0x1015b5b74 0x1851a5a04 0x1851a56a8 0x1851a5c44 0x182a78358 0x182a782d8 0x182a77b60 0x182a75738 0x1829962d8 0x184827f84 0x18bf43880 0x100cdb3ec 0x1824ba56c)
libc++abi.dylib: terminating with uncaught exception of type NSException

Any suggestion?

ldt116 commented 6 years ago

It turns out the old project structure. You can create new project with storyboard, add the old code and it works well.