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

Demo Project : Missing Dependency #26

Closed
wm-j-ray opened this issue Dec 8, 2015 · 3 comments
Closed

Demo Project : Missing Dependency #26

wm-j-ray opened this issue Dec 8, 2015 · 3 comments

Comments

@wm-j-ray
Copy link

wm-j-ray commented Dec 8, 2015

John,

I got a 'Missing dependency target GCDKit. error when trying to run your example. Just a heads up.

I dragged and dropped in the original source of GCDKit project to get up and running. Tried to run the demo under xCode 7.1.1, IOS 9.1. She builds, LaunchScreen.xib comes up and the demo crashes. I have the simulator location set to 'Apple.'

Fixed it.

OK, this what I did (I hate cocoa pods). So I don't use it and prefer Carthage. I commented out the

//#if USE_FRAMEWORKS
    import GCDKit
#endif

in CoreStore.swift and the demo runs

@JohnEstropia
Copy link
Owner

@wm-j-ray Thanks for the feedback! The demo app builds CoreStore as a framework, which means that GCDKit should also be built as a framework. If you just dragged and dropped the source then it won't be built as a framework, which is why commenting out the import statement makes it work for you.

You can clone CoreStore including GCDKit using

git clone --recursive https://github.com/JohnEstropia/CoreStore.git

I'm pretty sure Carthage should manage submodules for you though so I'm not sure why GCDKit was not in your folder in the first place..

@wm-j-ray
Copy link
Author

wm-j-ray commented Dec 8, 2015

Thanks for the help.

On Tue, Dec 8, 2015 at 2:52 AM, John Estropia notifications@github.com
wrote:

@wm-j-ray Thanks for the feedback! The demo app builds CoreStore as a framework, which means that GCDKit should also be built as a framework. If you just dragged and dropped the source then it won't be built as a framework, which is why commenting out the import statement makes it work for you.
You can clone CoreStore including GCDKit using

git clone --recursive https://github.com/JohnEstropia/CoreStore.git

I'm pretty sure Carthage should manage submodules for you though so I'm not sure why GCDKit was not in your folder in the first place..

Reply to this email directly or view it on GitHub:
#26 (comment)

@JohnEstropia
Copy link
Owner

I'll close this for now but feel free to reopen the issue if you still have other problems.
You can also try the workaround discussed here #27

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

2 participants