swift2 – Swift 2.0,Xcode 7问题
我从这里使用RAMAnimatedTabBarController模块:
https://github.com/Ramotion/animated-tab-bar 我使用Xcode 6在swift 1.2中开发了我的整个应用程序,应用程序运行得很好.我想尝试使用带有swift 2.0的Xcode 7对我的应用程序进行“侧载”.我有太多的错误,我设法解决了大多数错误,但有三个. 1)来自该RAMAnimatedTabBarController模块的这行代码抛出一个错误,说明在Xcode 6中完美编译时无法激发该函数: var constranints = NSLayoutConstraint.constraintsWithVisualFormat(formatString,options:NSLayoutFormatOptions.DirectionRightToLeft,metrics: nil,views: containersDict as [NSObject : AnyObject]) 编译器错误是:
2)抛出另一个异常错误:
3)另一个:
我的项目究竟出了什么问题?它仍然设置为iOS 8.3. 解决方法
禁用BitCode
Build Settings -> BitCode (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |