·您现在的位置: 云翼网络 >> 文章中心 >> 网站建设 >> app软件开发 >> IOS开发 >> Xcode7下问题汇总

Xcode7下问题汇总

作者:佚名      IOS开发编辑:admin      更新时间:2022-07-23

1.The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

  Xcode7 编译程序无法连接网络,是因为Xcode7下,Apple要求数据传输协议必须支持Https协议,否则将会默认无法连接网络。

目前网上已经给出临时解决办法:

1.在Info.plist中添加  NSAPPTransportSecurity 类型  Dictionary;
2.Dictionary 下添加  NSAllowsArbitraryLoads 类型为 Boolean ,值设为  YES。

2. fembed-bitcode is not supported on versions of iOS PRior to 6.0

  Xcode 7.0中, enable_bitcode选项是默认YES,导致所有的对象,静态库和用户框架中使用时必须包含bitcode,否则,编译发出错误。如果你使用了第三方提供的库或框架,需要更新包含bitcode的版本。

  如果不想打开enable_bitcode,可以设置成NO。

持续更新中...