错误描述: EXC_BAD_ACCESS at lauch for EAGLContext renderbufferStorage: fromDrawable: in Cocos2d app ...

解决办法:

Looks like this is an issue on certain devices on iOS 8.3+. It works for me on almost all devices but the iPad mini 2 fails for me as well. The short of it is that there's nothing wrong with the call itself. Seems to be an Xcode bug with those devices for some reason. You can get around it (until Apple fixes it) by:

In Xcode, go to Product -> Scheme -> Edit Scheme ... And for the Run Debug configuration (on left side) choose "Options" (on right side) and configure "GPU Frame Capture" as Disabled.

For more information, check out this thread:

https://github.com/BradLarson/GPUImage/issues/2022#issuecomment-118943746

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 12,151评论 0 10
  • 乡下有许多难以忘怀的记忆,自从在长沙陪鸿儿读书以来,一次无意中与陪读妈妈分享糍粑和年糕,凡品尝过的人深深为之折服…...
    LD浅忆阅读 3,321评论 2 4
  • 豪峰自开基以来就建瓦厂瓦窑,烧制瓦片供族人思考使用。到明清乾隆末期民居建筑基本就绪,烧出的瓦片销售不出,烧瓦匠闲来...
    豪峰自然村阅读 2,958评论 0 0
  • 抓住在上海的日子,思想上转变悲悲切切不自信的想法,头脑要条理清楚。 生活上结交朋友,去尽可能多尽可能远的地方。
    逃之夭夭XYJ阅读 2,563评论 0 0
  • 读取csv文件: 这样操作,以后获取数据的时候,就要通过下表来获取数据。如果想要在获取数据的时候通过标题来获取。那...
    编程小王子AAA阅读 916评论 0 0