Instagram / IGListKit

A data-driven UICollectionView framework for building fast and flexible lists.
https://instagram.github.io/IGListKit/
MIT License
12.87k stars 1.54k forks source link

could not build Objective-C module 'IGListKit' #154

Closed dekelm8 closed 7 years ago

dekelm8 commented 7 years ago

Hi I'm handling weird problem, i have started new project in xcode8 swift3, and in the beginning every thing works good, but after several pod installs (was need to add other pods) I'm getting the error could not build Objective-C module 'IGListKit' And also error: 'IGListAdapter.h' file not found But after delete the import IGListKit line the errors disappear and project complied

There's someone have any idea what could cause this problem? I tried pod's version 1.0.0 & 1.1.0 xcode8 & xcode8.1 nothing help

rnystrom commented 7 years ago

Hey @dekelm8, bummer. I'm not totally sure what could be going wrong. Do you have an example project we could take a look at? What does your Podfile look like?

jessesquires commented 7 years ago

Latest CocoaPods is 1.1.1

dekelm8 commented 7 years ago

pod file: platform :ios, '9.0'

target 'exampleapp' do

use_frameworks!

pod 'Firebase/Core' pod 'Firebase/Database' pod 'Firebase/Messaging' pod 'Firebase/Auth' pod 'IGListKit' pod 'Alamofire', '~> 4.0'

end

dekelm8 commented 7 years ago

Ok so after install cocoapods 1.1.1 still not working, but after return back to 1.1.0 it's work weird (But at least its working now :) ) Thanks for the support

rnystrom commented 7 years ago

😕 weird. I'll go ahead and close this out for now and consider it an Xcode fluke. Will definitely keep an eye on these if they keep popping up.