Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project won't build when importing LocoKit #56

Open
djibouti33 opened this issue Apr 30, 2019 · 2 comments
Open

Project won't build when importing LocoKit #56

djibouti33 opened this issue Apr 30, 2019 · 2 comments

Comments

@djibouti33
Copy link

djibouti33 commented Apr 30, 2019

Hi Matt,

First off, amazing open source contribution. Thank you so much, this is really helping our idea get off the ground.

I'm having a hard time including LocoKit into my app. I'm using Xcode 10.2.1 (10E1001).

I was also having difficulty building the demo app, until I started browsing the Closed Issues and learned that I need to be working off the develop branch.

My pod file has this:

pod 'LocoKit', :git => 'https://github.com/sobri909/LocoKit.git', :branch => 'develop'
pod 'LocoKit/Timelines', :git => 'https://github.com/sobri909/LocoKit.git', :branch => 'develop'
pod 'LocoKitCore', :git => 'https://github.com/sobri909/LocoKit.git', :branch => 'develop'

I also ran through these steps, as posted in Issue #10:

On Xcode, cleaned the project and its build folder
pod cache clean --all
rm -r Pods/
pod update
pod install

I'm getting the following errors from the LocoKit framework:

.../Pods.build/Production Debug-iphoneos/GRDB.swift.build/module.modulemap:11:12: Header 'GRDB-Swift.h' not found
.../Pods/LocoKit/LocoKit/Timelines/ActivityTypes/ActivityType.swift:9:8: Could not build Objective-C module 'GRDB'

Any idea what I'm doing wrong?

@sobri909
Copy link
Owner

sobri909 commented May 3, 2019

Sorry for slow reply!

I really have no idea why this would be happening. GRDB is a dependency of LocoKit, used for the SQLite database layer. The error you're seeing is not one I've seen before. The Demo App definitely builds and runs properly in Xcode 10.2.1 for me, with that Podfile configuration.

The only thing I can think to try is to "Clean build folder", and perhaps also delete derived data in Xcode. It looks to me like Xcode is confused somehow.

@keyhan76
Copy link

I had the same problem.
Fixing the warnings of the LocoKit would solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants