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])
编译器错误是:
Cannot invoke ‘constraintsWithVisualFormat’ with an argument list of
type ‘(String,options: NSLayoutFormatOptions,views:
[NSObject : AnyObject])’
linker command Failed with exit code 1 (use -v to see invocation)
3)另一个:
(null): error: cannot parse the debug map for
“/Users/Rakshith/Library/Developer/Xcode/DerivedData/Blubot-heabwwmhqxxvctaabxkwcpgzsadx/Build/Intermediates/SwiftMigration/Blubot/Products/Debug-iphonesimulator/Blubottests.xctest/Blubottests”:
No such file or directory
我的项目究竟出了什么问题?它仍然设置为iOS 8.3.
解决方法
Build Settings -> BitCode
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。