twilio / twilio-chat-demo-ios

Twilio Programmable Chat Demo Application for iOS
28 stars 16 forks source link

Compile Error #27

Closed Mani101991 closed 7 years ago

Mani101991 commented 7 years ago

Hello Twillo Team,

The Demo App is not running. So many errors came in the demo application. Please fix this ASAP

rbeiter commented 7 years ago

Hello @Mani101991,

Have you run pod install if you are using CocoaPods or followed the instructions here if integrating manually? The project is building fine for me.

Thank you, Randy

Mani101991 commented 7 years ago

Hello Randy,

I was already installed frameworks via pod. But Error Came. Please check it once again.

rbeiter commented 7 years ago

Hi Mani,

I just pulled the project, install the pods and compiled the project. The only error that appeared for me is the #error directive we have in the project where you are expected to put in your auth token.

Can you please post a log of the errors you are seeing so we can look into them?

Thank you, Randy

Mani101991 commented 7 years ago

Hello Randy, Semantic issue and ARC Semantic issues is Appear. screen shot 2017-11-02 at 5 08 51 pm

Xcode 8.1 i am using. Please check

Mani101991 commented 7 years ago

Hello Randy,

From Github kindly download the source instead of pulling the source and check. Please fix this ASAP

rbeiter commented 7 years ago

Hi Mani,

Since it's only the media related methods causing an error, it seems like Chat 2.0.0 is not being used but an earlier version (1.x). Have you run pod repo update and pod install to ensure the pods are up to date? Is it possible you updated the chat demo application from a previous version of the demo without running pod install again? Your Podfile.lock should indicate the version of the framework in use, it should be at least 2.0.0 if you are using the master branch of the demo application.

Thank you, Randy

rbeiter commented 7 years ago

From Github kindly download the source instead of pulling the source and check. Please fix this ASAP

The test I performed within the last hour was to:

This worked as expected. Have you also tried to a brand new folder not used previously?

Mani101991 commented 7 years ago

Hi Randy,

I have downloaded the project using you mentioned that link, and unzip the link to put it the new directory to project, and open the terminal, just entered pod install. But this error came below. Please check and reply, I have attached screenshots.

screen shot 2017-11-02 at 5 53 07 pm

Mani101991 commented 7 years ago

HI Randy,

Are you checked it above comments?. Please reply

rbeiter commented 7 years ago

Hi Mani,

Given the error in the screenshot above, it looks like TwilioAccessManager is not known to cococapods on your system. Can you try running pod repo update then pod install again to see if it helps the issue?

Thank you, Randy

Mani101991 commented 7 years ago

ok thank you so much rbeiter. i will check and let you know.

rbeiter commented 7 years ago

Hi Mani,

Just reaching out to see if this solved the errors you were seeing?

Thank you, Randy

Mani101991 commented 7 years ago

Hi Randy, The Source is successfully running. i created a token, when i use the token it show as

error received: Error Domain=signal.sdk.domain.error Code=102 "Error validating token." UserInfo={kTCHErrorMsgKey=Error validating token., NSLocalizedDescription=Error validating token.}

Please reply me randy

rbeiter commented 7 years ago

Hi Mani,

I'm glad the demo project is working for you now! For token related issues, it will be helpful to be able to link your inquiry with your account so we can help you better. May I ask you reach out to Twilio support on this page so we can help you further? https://www.twilio.com/help/contact

Thank you, Randy

rbeiter commented 7 years ago

Going to close this issue, please reach out if we can help you further.