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

Build error when trying to use IGListKit with Texture via Carthage install #265

Closed
rainypixels opened this issue May 13, 2017 · 1 comment

Comments

@rainypixels
Copy link
Contributor

There seems to be another report of this here that was closed because the reporter didn't provide an example project.

I'm installing Texture and IGListKit (release branches) via Carthage. Xcode bails before it can build the Texture framework because it can't find AsyncDisplayKit/IGListAdapter+AsyncDisplayKit.h:

<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/AsyncDisplayKit.h"
        ^
/Users/n/Desktop/IGListKitASDK/Carthage/Build/iOS/AsyncDisplayKit.framework/Headers/AsyncDisplayKit.h:50:9: error: 'AsyncDisplayKit/IGListAdapter+AsyncDisplayKit.h' file not found
#import <AsyncDisplayKit/IGListAdapter+AsyncDisplayKit.h>
        ^
/Users/n/Desktop/IGListKitASDK/IGListKitASDK/ViewController.swift:2:8: error: could not build Objective-C module 'AsyncDisplayKit'
import AsyncDisplayKit

I've verified that if I pull IGListKit from my project, clean it, and leave only Texture, the build succeeds (presumably because this code never gets executed in AsyncDisplayKit.h):

#if AS_IG_LIST_KIT
#import <AsyncDisplayKit/IGListAdapter+AsyncDisplayKit.h>
#import <AsyncDisplayKit/AsyncDisplayKit+IGListKitMethods.h>
#endif

I've attached an example project to repro. Be sure to run carthage update before running it (I deleted the carthage checkout and build folders in the zip to get you a lightweight file).

Thanks, and let me know how I can help! 😃

IGListKitASDK.zip

@rainypixels
Copy link
Contributor Author

Looks like this might be a dupe of #254.

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

1 participant