0

I'm new to Xcode. I'm using twitter-kit-ios, and I wanna use it fixing its bug. We can download the source code from https://github.com/twitter/twitter-kit-ios/releases , but I cannot build it into TwitterKit.framework in Xcode.

I tried opening the TwitterKit.xcodeproj and building it, but nothing is created.

How to create TwitterKit.framework from the source code?

enter image description hereenter image description here

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Taichi
  • 2,297
  • 6
  • 25
  • 47

1 Answers1

1

I checked it and it builds the framework fine, it's located in <DerivedData Folder> -> TwitterKit-xxx -> Build -> Products -> <Configuration>-<platform> -> TwitterKit.framework

mag_zbc
  • 6,801
  • 14
  • 40
  • 62
  • Thank you! I got the TwitterKit.framework, but I cannot build it into my app. – Taichi Aug 17 '18 at 08:57
  • All thing I have to do is adding `TwitterKit.framework` directory directly into my project, link it and build app? – Taichi Aug 17 '18 at 08:58
  • Added 2 pics in my question. I fetched `TwitterKit.framework` directory into my app project. – Taichi Aug 17 '18 at 09:02
  • `Project Settings > Build Phases > Link Binary With Libraries` and `Project Settings > Build Phases > Embed Frameworks` – mag_zbc Aug 17 '18 at 09:07
  • **Both** of `Link Binary With Libraries` and `Embed Frameworks` is needed? – Taichi Aug 17 '18 at 09:09