Grdb.swift: [XCode 8.3] Could not build Objective-C module 'SQLiteiPhoneSimulator', SQLiteiPhoneOS

Created on 28 Mar 2017  路  8Comments  路  Source: groue/GRDB.swift

I updated Xcode to the latest version 8.3, then GRDB can not work :[
When I select simulator, I got two errors

  1. Module 'Drawin' was built in directory /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/usr/include/sqlite3.h:35:2: Module 'Darwin' was built in directory '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/usr/include' but now resides in directory '/Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/usr/include'. in sqlite3.h

2.Could not build Objective-C module 'SQLiteiPhoneSimulator'. in 'Configuration.swift' file

Please check it out, thanks very much.

support

Most helpful comment

Can you please explain to me how to specifically target that branch in my Podfile?

Edit: Just seem to have found how to do this:
pod 'GRDB.swift', :git => "https://github.com/groue/GRDB.swift", :branch => "modulemapRefactor"

All 8 comments

Hello @ibadcool

Please tell which installation method you picked (Carthage, CocoaPods, manual, SQLCipher, or custom SQLite build).

Hi,
I've got the same problem since 8.3 update last night. Manual installation, latest build (103).

hi, @groue , thanks for your reply.
I use CocoaPods. I change to xcode8.3beta branch , and it fixed. 馃憤 both simulator and device can build success.

Reopening since latest version 0.103.0 does not build on Xcode 8.3.

Xcode 8.3 users should use the modulemapRefactor branch until the next GRDB release.

Can you please explain to me how to specifically target that branch in my Podfile?

Edit: Just seem to have found how to do this:
pod 'GRDB.swift', :git => "https://github.com/groue/GRDB.swift", :branch => "modulemapRefactor"

Superseded by #194

Support for Xcode 8.3 has shipped in v0.104.0

Was this page helpful?
0 / 5 - 0 ratings