码迷,mamicode.com
首页 > 移动开发 > 详细

B17-iOS9的适配相关

时间:2015-09-25 20:21:52      阅读:561      评论:0      收藏:0      [点我收藏+]

标签:

1、警告directory not found for option问题

      ld: warning: directory not found for option ‘-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks‘

      出现原因是因为Xcode7将framworks位置改变了,目前还没有方法解决。

 

2、控制台输出error问题,(不影响程序运行)
         Sep 22 13:48:43  openBridge[2525] <Error>: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
         Sep 22 13:48:43  openBridge[2525] <Error>: CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
         Sep 22 13:48:43  openBridge[2525] <Error>: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

         解决方法:info.plist内的View controller-based status bar appearance键值对,改为YES或者删掉即可。

 

3、iOS9适配参考文章

   http://www.cocoachina.com/ios/20150703/12392.html

B17-iOS9的适配相关

标签:

原文地址:http://www.cnblogs.com/yaann/p/4829582.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!