我正在使用Xcode 9.2
1)我已将SQLite.xcodeproj文件复制到我的项目中。
2)在ViewController中,我使用了以下
导入SQLite
Problem:
when I do the achive ( Product>Archive) , there is a compile error message:
No such module 'SQLite'
If I do normal compile : CMB + B, no issue.
请帮忙。我需要做什么?
Update:
I followed these approaches but all failed. Where went wrong?
1) Shift+Alt+Command+K
after this, then CMD + B to. compile Same error msg as above.
2) As of Xcode 9 you'll be able to access the Derived Data folder by navigating to
File -> Project Settings
press the arrow to go to the DerivedData folder
I removed it to trash
after this, then CMD + B to. compile Same error msg as above.
3)Open terminal and past the following:
rm -rf ~/Library/Developer/Xcode/DerivedData
after this, then CMD + B to. compile Same error msg as above.
Update:
I realized the SQLite is older version before I upgraded to Xcode9.2.
To solve the problem:
Delete the old one, and install the the New SQLite for Xcode 9