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

TwitterCore/TWTRDefines.h file not found #97

Open
SharvinShah opened this issue Sep 20, 2018 · 2 comments
Open

TwitterCore/TWTRDefines.h file not found #97

SharvinShah opened this issue Sep 20, 2018 · 2 comments

Comments

@SharvinShah
Copy link

Lexical or Preprocessor issue
TwitterCore/TWTRDefines.h file not found
Error in TwitterKit-Prefix.pch

Expected behavior

It should create the archive without any issue.

Actual behavior

It is giving the above mentioned error instead of creating a archive.

Steps to reproduce the behavior

  1. Download the latest zip code for twitter-kit-ios
  2. Replace the Config.xcconfig.example with Config.xcconfig and add the appropriate key and secret
  3. Use the new bundle id in the DemoApp target and build selecting the "Generic iOS Device", it builds successfully
  4. Now try to create the archive instead of the build and this is where it fails.
    archive error
  5. Apart from this i have added the TwitterCore/TwitterKit project in my workspace of other project. I am trying to create the archive of that main project and it was failing to create an archive so i checked the original source which it self is failing to create the archive.
@SalmanAhmedDev
Copy link

i am also facing this issue, Please solve ASAP

@SharvinShah
Copy link
Author

I was not able to solved the file not found problem but the alternate solution that I used is to use the Twitter core and twitter kit framework directly in my app. So first I used the demo app which this project provides and did some customisation in api calling which I wanted and then build that DemoApp so the Twitterkit and Twittercore framework will be ready in the products folder along with my changes saved. You just have to copy those framework in your app and now if you try to archive then it will create the archive. But make sure the framework that you added are for device and not for simulator.

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