Coder Social home page Coder Social logo

Comments (2)

simonsmiley64 avatar simonsmiley64 commented on May 16, 2024

Hi @danielmogilny,

We are currently in the process of updating our tutorials, I have just made modifications to the "adding Chat SDK to your project" tutorial

I will give you a brief overview here.

  1. The Chat SDK is changing slightly as we make improvements, the basic structure stays the same although the folders might change slightly, this means although a video might not be identical to what your are reading it still have the same idea.
  2. Download and add the Chat SDK to your project as normal - I have updated the tutorial. I would recommend just changing the folder name to ChatSDK and adding the entire project
  3. Now you need to create a direct link from your project podfile to the podspecs. They are contained in the ChatSDK folder and then in each of the ChatSDKCore, ChatSDKCoreData etc. See below image:

screen shot 2017-05-09 at 15 53 30

  1. Remember to use ../ to go out of a folder and the folder name to go into one.

  2. For example check out the example project below:

screen shot 2017-05-09 at 15 54 45

We want to do the following:

  • Go out of our project folder: ../
  • Go into our ChatSDK folder: ChatSDK/
  • Go into the next ChatSDK folder: ChatSDK/
  • Go into the appropriate module folder: ChatSDKCore/
  • We have now found our podspec

This means the podfile should look like this:

  pod "ChatSDKCore", :path => "../ChatSDK/ChatSDK/ChatSDKCore"
  pod "ChatSDKUI", :path => "../ChatSDK/ChatSDK/ChatSDKUI"
  pod "ChatSDKCoreData", :path => "../ChatSDK/ChatSDK/ChatSDKCoreData"
  pod "ChatSDKFirebaseAdapter", :path => "../ChatSDK/ChatSDK/ChatSDKFirebaseAdapter"

You can see the path is showing the podfile the correct directions to the podspec.

I will be putting together a video to show this but hopefully this should give you a better idea.

We recommend using the master version of the code even if it takes a bit more time to get your head round.

Let me know if you have any further questions/issues and I'll do my best to help you out,

Simon

from chat-sdk-ios.

simonsmiley64 avatar simonsmiley64 commented on May 16, 2024

I have also written a tutorial for solving this issue here

This should solve the problem

from chat-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.