【iOS】使用SQLite3的时候Swift3.、XCode8报错:Unsupported architecture - 'arm/arch.h'file not found - Could not
2016-12-03 19:22
731 查看
【iOS】使用SQLite3的时候Swift3.、XCode8报错:Unsupported architecture - 'arm/arch.h'file not found - Could not build module 'Darwin' - Could not build module 'sqlite3' - Failed to import bridging header '…..'
如果出现了找不到模块的错误,并且有如下报错:
Unsupported architecture
‘arm/arch.h’file not found
Could not build module ‘Darwin’
Could not build module ‘sqlite3’
Failed to import bridging header ‘…..’
![](http://www.liuchuo.net/wp-content/uploads/2016/12/Snip20161202_80-1.png)
![](http://www.liuchuo.net/wp-content/uploads/2016/12/Snip20161202_82-1024x617.png)
解决方法:在自己编写的SQLiteManager文件里面不需要写import sqlite3这句话。。直接使用SQLite语句就行了
如果出现了找不到模块的错误,并且有如下报错:
Unsupported architecture
‘arm/arch.h’file not found
Could not build module ‘Darwin’
Could not build module ‘sqlite3’
Failed to import bridging header ‘…..’
![](http://www.liuchuo.net/wp-content/uploads/2016/12/Snip20161202_80-1.png)
![](http://www.liuchuo.net/wp-content/uploads/2016/12/Snip20161202_82-1024x617.png)
解决方法:在自己编写的SQLiteManager文件里面不需要写import sqlite3这句话。。直接使用SQLite语句就行了
相关文章推荐
- IOS异步图片加载SDWebImage的使用时遇到file not found和Symbol Not Found: _objc_storeStrong
- Error: file not found: arch/arm/boot/compressed/piggy.lzo
- ios react native 手动配置 realm 使用cocoapods 会编译报错 fatal error: 'React/RCTBridge.h' file not found
- IOS异步图片加载SDWebImage的使用时遇到file not found和Symbol Not Found: _objc_storeStrong
- 使用HttpHanlder处理404: File not found
- 使用VC6.0编译C++代码的时候报错:fatal error C1071: unexpected end of file found in comment(Mark ZZ)
- 双系统启动Ubuntu的时候出现 error: file '/boot/grub/i386-pc/normal.mod' not found.grub rescue>
- 使用JDK的javaagent机制时候,遇到的蛋疼无比的ClassNotFoundException
- tftp在put上传的时候显示File not found的解决办法
- Objective-C ,ios,iphone开发基础:使用GDataXML解析XML文档,(libxml/tree.h not found 错误解决方案)
- 使用HttpURLConnection下载文件时出现 java.io.FileNotFoundException彻底解决办法
- 使用Ant编译出现如下问题 java.io.FileNotFoundException: bin\classes.dex
- Android开发中,使用线程下载apk文件,出现FileNotFound的问题,解决办法
- ios 中的file not found的解决方法
- 在编译的时候会提示 File not found:'*.dcu'解决办法
- VC中使用sqlite3_open生成的文件,提示“file is encrypted or is not a database ”
- 使用HttpHanlder处理404: File not found
- IOS libxml/tree.h file not found 解决方案
- 使用 EasyBCD 安装Ubuntu 14.04 Error 15: file not found错误的解决方法
- android使用apktool反编译出现Input file (d:\t) was not found or was not readable