I’ve been using an old 1.x version of the Twitter sign-in framework for iOS. It was installed by hand: I had Fabric.framework and TwitterKit.framework directories under my project.
I’m trying to upgrade to the latest (2.4.0 it appears). I deleted my framework directories and updated my Podfile, which looks like this:
platform :ios, '8.0’
target ‘wyvern’ do
pod 'Google/SignIn’
pod 'CocoaAsyncSocket’
pod 'Fabric’
pod 'TwitterKit’
end
I did a ‘pod install’, added the Run Script to my build phases, Product->Clean and restarted XCode. I’ve done this on multiple machines (all with the same git repo), and I always get the same result. In TwitterKit.h, this line:
@import TwitterCore;
yields the error: Module ‘TwitterCore’ not found. It appears that cocoapods installed TwitterCore:
$ find . -name “TwitterCore*”
./Pods/Headers/Public/TwitterCore
./Pods/Headers/Public/TwitterCore/TwitterCore
./Pods/Headers/Public/TwitterCore/TwitterCore/TwitterCore.h
./Pods/TwitterCore
./Pods/TwitterCore/iOS/TwitterCore.framework
./Pods/TwitterCore/iOS/TwitterCore.framework/Headers/TwitterCore.h
./Pods/TwitterCore/iOS/TwitterCore.framework/TwitterCore
I’ve tried everything suggested on the few threads I could find, to no avail. This thread:
does not seem relevant to my situation. Any idea what I should try next?