Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.

Manual twitterkit installation instructions are wrong #110

Open
guylando opened this issue Mar 2, 2019 · 3 comments
Open

Manual twitterkit installation instructions are wrong #110

guylando opened this issue Mar 2, 2019 · 3 comments

Comments

@guylando
Copy link

guylando commented Mar 2, 2019

The instructions are wrong: https://github.com/twitter/twitter-kit-ios/wiki/Installation#install-twitter-kit-manually
The correct installation is to add TwitterKit and TwitterKitCore to embedded binaries and add TwitterKit to linked libraries.
For cordova this can be done using this code: https://github.com/guylando/twitterkit3-plugin/blob/master/plugin.xml#L61

Explanation:

  1. TwitterKit.framework and TwitterCore.framework must be embedded or otherwise there is a runtime dyld missing library error
  2. Must not link TwitterCore.framework or otherwise will get the runtime warnings discribed here: Class warnings "implemented in both" #91, Errors like: Class TWTRScribeService is implemented in both ... #18
@tolgahan-arikan
Copy link

thanks, this works!

@tolgahan-arikan
Copy link

Ahh, actually this didn't help with one of the errors on CI, private submodule 'TwitterCore.Private' in private module map, expected top-level module. Sorry for bothering but do you know anything about this error @guylando?

@guylando
Copy link
Author

And this error prevents your oauth from working? My oauth works well after the fix inside cordova app (android + ios)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants