我已将Xcode更新为Xcode 7.3,并且sqlite.swift框架出现问题.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/module.modulemap:1:8: error: redeFinition of module 'Compression'module Compression [system] [extern_c] { ^/Applications/Xcode.app/Contents/Developer/Platforms/iPhonesimulator.platform/Developer/SDKs/iPhonesimulator9.3.sdk/usr/include/module.modulemap:1:8: note: prevIoUsly defined heremodule Compression [system] [extern_c] { ^/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/module.modulemap:6:8: error: redeFinition of module 'Darwin'module Darwin [system] [extern_c] { ^/Applications/Xcode.app/Contents/Developer/Platforms/iPhonesimulator.platform/Developer/SDKs/iPhonesimulator9.3.sdk/usr/include/module.modulemap:6:8: note: prevIoUsly defined heremodule Darwin [system] [extern_c] { ^/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/module.modulemap:1478:8: error: redeFinition of module 'os'module os [system] [extern_c] { ^/Applications/Xcode.app/Contents/Developer/Platforms/iPhonesimulator.platform/Developer/SDKs/iPhonesimulator9.3.sdk/usr/include/module.modulemap:1599:8: note: prevIoUsly defined heremodule os [system] [extern_c] { ^/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/module.modulemap:1494:8: error: redeFinition of module 'libkern'module libkern [system] [extern_c] { ^/Applications/Xcode.app/Contents/Developer/Platforms/iPhonesimulator.platform/Developer/SDKs/iPhonesimulator9.3.sdk/usr/include/module.modulemap:1615:8: note: prevIoUsly defined heremodule libkern [system] [extern_c] { ^<unkNown>:0: error: Could not build Objective-C module 'sqlite'
使用版本:pod’sqlite.swift’,’〜> 0.9.2′
我发现一个关闭池请求有同样的问题. https://github.com/stephencelis/SQLite.swift/issues/349
我尝试过使用以下分支:
pod 'sqlite.swift',git: 'https://github.com/stephencelis/sqlite.swift.git',branch: 'cocoapods-xcode-7-3'
但我无法解决这个问题.
等待真正的解决方案.
解决方法 不幸的是,另一个答案是不准确的.主版和最新版0.10.1( a couple days ago发布)与Xcode 7.3和CocoaPods 1.0.0 beta 6兼容.不过,这次Xcode升级过程遇到了一些障碍,在更新CocoaPods和pod之后,几个用户需要执行以下一个或多个步骤:
>如果您还没有,请更新到CocoaPods的最新测试版:
运行sudo gem update cocoapods –pre并重新运行pod install.>在重新构建之前,按住“选项”键并从Xcode的“产品”菜单运行“清理构建文件夹…”.>从项目目录中删除“Pods”文件夹,然后重新运行pod install.>如果所有其他方法都失败了,请从“Applications”文件夹中删除“Xcode.app”并重新安装(少数用户安装了错误的Xcode).
@H_301_0@ 总结以上是内存溢出为你收集整理的ios – Sqlite.swift无法使用Xcode 7.3全部内容,希望文章能够帮你解决ios – Sqlite.swift无法使用Xcode 7.3所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)