twitter-kit-ios icon indicating copy to clipboard operation
twitter-kit-ios copied to clipboard

Umbrella header for module 'TwitterCore' does not include header 'TWTRColorUtil.h'

Open dmcgloin opened this issue 6 years ago • 8 comments

When building a Swift app that includes latest via CocoaPods: Twitter Kit 3.4.0 and Twitter Core 3.2.0, I get the following warning (which is new):

/Users/<me>/Documents/GitHub/<myapp>/<module-includes>:1:1: Umbrella header for module 'TwitterCore' does not include header 'TWTRColorUtil.h'

dmcgloin avatar Jul 19 '18 00:07 dmcgloin

same issue here

shroff-kandarp avatar Sep 01 '18 04:09 shroff-kandarp

Any resolution to this? Getting same error

ericfurspan avatar Sep 14 '18 20:09 ericfurspan

Feels like the time has come to remove Twitter support - at least from our app.

dmcgloin avatar Sep 15 '18 01:09 dmcgloin

Has anyone managed to obtain a version of TwitterKit v3.4.0 that is error free? I have checked many forks and branches and cannot see any versions which compile and run error-free / produce no issues. If it is not this header issue it is

Private submodule 'TwitterCore.Private' in private module map, expected top-level module Rename 'TwitterCore.Private' to ensure it can be found by name

AlexGingell avatar Sep 15 '18 14:09 AlexGingell

Got some working solution. It fixed all TwitterCore related warnings for me. https://gist.github.com/npu3pak/108d8332a774289c08472d6fd85a1bbb

npu3pak avatar Nov 28 '18 13:11 npu3pak

I'm getting the same issue only on a specific mac computer. on my laptop it's working fine. Any final solution? @npu3pak suggestion didn't work for me

oliverbytes avatar Feb 15 '19 03:02 oliverbytes

I'm getting the same issue only on a specific mac computer. on my laptop it's working fine. Any final solution? @npu3pak suggestion didn't work for me

You can try to fix module.private.modulemap and TwitterCore.h manually and then use some script on build phase to automate the process.

npu3pak avatar Feb 15 '19 05:02 npu3pak

Yes, npu3pak's fix for ColorUtil works nice. Now if I can just fix the rest of the depreciated problems is the SBSDKSharKit it'll be nice.

I'm wondering if anyone - the original repo builder? is even still working on this?

RobertChalmers avatar Apr 07 '19 11:04 RobertChalmers