【iOS】使用SQLite3的时候Swift3.、XCode8报错:Unsupported architecture - 'arm/arch.h'file not found - Could not

来源:互联网 发布:网剧数据分析 编辑:程序博客网 时间:2024/06/05 23:07

【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 ‘…..’

snip20161202_80

snip20161202_82

解决方法:在自己编写的SQLiteManager文件里面不需要写import sqlite3这句话。。直接使用SQLite语句就行了


0 0
原创粉丝点击