'TwitterKitResources.bundle resources file not found. Please re-install TwitterKit with CocoaPods to ensure it is properly set-up

ios

#1

I am getting this error 'TwitterKitResources.bundle resources file not found. Please re-install TwitterKit with CocoaPods to ensure it is properly set-up. when i have reinstall it again but still this error again


#2

Actually, just shift + cmd + k (clean) and it would be ok. It works for me.


#3

I do see this like once a month too. Cleaning and building worked so far.


#4

Add bundles into Copy Bundle Resources section.


#5

Got the same problem when I use the new Build System on xCode9.


#6

Same problem on xCode9


#7

I found two ways to solve the problem.

  1. Install TwitterKit without cocoapods. But it will increase size of the repo. And it’s hard to update it.
  2. Add TwitterKitResources.bundle from Pods/Pods/TwitterKit/iOS/TwitterKit.framework to some folder in your project. Be sure that you UNCHECKED “copy items if needed”

I believe the problem is that TwitterKit is looking for resources in main (app’s) bundle, not TwitterKit.framework's bundle. Thats why everything work fine with manual TwitterKit install


#8

Same issue on XCode 9 :bug: