刚升级了Xcode7之后,使用iOS9 SDK,启动app的时候一直报此错[AppName] was compiled with optimization - stepping may behave oddly; variables may not be available.手机上调试一启动就会出现...
分类:
移动开发 时间:
2015-09-22 08:52:22
阅读次数:
748
1.以前版本导入第三方框架都是dylib后缀结尾,到Xcode7.0以后都已tbd结尾;2,另外url地址如果是以明文形式运行,Xcode7.0会提示不能运行,如下:添加以下代码就可以了NSAppTransportSecurity 字典NSAllowsArbitraryLoads 布尔 YES
分类:
其他好文 时间:
2015-09-22 01:19:50
阅读次数:
170
消除 Xcode7 中 directory not found for option 'xxxx' 警告升级Xcode7之后,你会遇到一些警告信息,诸如以下一条:ld: warning: directory not found for option '-F/Applications/Xcode-be...
分类:
其他好文 时间:
2015-09-21 21:15:29
阅读次数:
238
从xcode7开始,程序里面所有的其他网络连接都得添加在白名单里面,不然是无法响应的!解决方案:在plist文件中里面添加一个key为“LSApplicationQueriesSchemes”数组值,里面添加包括string型的“scheme”,其他的可根据需求依次添加。如:需要qq登录也分享添加:...
分类:
移动开发 时间:
2015-09-21 19:23:11
阅读次数:
489
The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
分类:
其他好文 时间:
2015-09-21 19:14:30
阅读次数:
112
1.iOS9里的静态库后缀名改为tbd.2.Build Settings -> Enable Bitcode 默认为yes,老代码用xcode7编译,需改为NO3.iOS9里网络请求为https,http请求不被允许,在info.plist文件中,添加一个字典NSAppTransportSecuri...
分类:
移动开发 时间:
2015-09-21 17:38:01
阅读次数:
163
(1) 新装的Xcode7 编译程序 出现: #warning: 获取app配置信息失败: The resource could not be loaded because the App Transport Security ,这是苹果加大安全的管控,将以往HTTP协议强制改为HTTPS协议,以后...
分类:
其他好文 时间:
2015-09-21 17:21:01
阅读次数:
180
Unable to open liblaunch_sim.dylib. Try reinstalling Xcode or the simulator解决办法一、找到目标文件/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimu...
分类:
移动开发 时间:
2015-09-21 17:15:32
阅读次数:
228
1.bitcode默认值YES改为NO---》build setting搜索bitcode,Enable Bitcode->NO2.info.plist需要加一个属性,以保证可继续用http,,,而不是默认的httpsNSAppTransportSecurity NSAllowsArbitrary....
分类:
其他好文 时间:
2015-09-20 22:10:51
阅读次数:
221