JSQMessages with Parse - Installation issue - ios

I'm looking to implement JSQMessages into my existing Xcode project.
I tried using CocoaPods but was unable to fix all the errors. I got so far as to only having an error with the Parse-lib not being found but after having no luck getting rid of it (had to do with the debug-iphoneos) I gave up and uninstalled all of the CocoaPods and returned to having my project with only Parse.
I read on the github page that you can install it manually just by putting the folder for JSQMessage and JSQSystemSoundPlayer into your folder project but I have not been able to figure that one out. So my question to you guys is if anyone knows the exact procedure of doing it manually, because simply putting them in your project folder and importing them both into my bridging file wasn't successful and Xcode gave me an error that it wasn't able to find the headerfiles.

First, I would recommend you to look on this library for implementing chat
SlackTextViewController
It could be installed via cocoapods or by dragging source of the library to your project.
On my experience working with JSQMessages, it's too buggy when you have a lot of messages in the chat

Related

Getting rid of UIWebView in Bolts framework (Parse framework dependecy)

I recently started working with XCode on a project where we are using Parse framework to load data into MongoDB with Heroku.
So I have to release this new app (replica of an existing app with some mods) to App store but I get error email saying UIWebView needs to be replaced with WKWebView.
I searched for the other libraries using UIWebView and could replace them with other ones or a simple pod update worked.
But I am not sure about the Parse.freamework below.
Here is the project structure:
Now I think this is not the Cocoapod implementation. Since, I am fairly new to iOS development, I am not even sure how did these Parse.framework and Bolts.framework come here.
So can someone please help me understand or directly me to documentation that will direct me or help me with some search phrases at least so I can do the hard work of researching.
My questions are:
Why are these Frameworks here in the root folder of project? I don't think this is Pod's doing, is it? How is this implementation of framework done? What is it called?
How can I update the Bolts and/or Parse frameworks to get rid of UIWebView?
Thank you for your help.
So to re-iterate, #Wyetro suggested to install pods anyways. So removed the dependencies (from Frameworks, Libraries, and Embedded Content). Then I installed Parse and it installed Bolts since its dependency through pods. And it all worked perfectly fine!!!
Thank you Wyetro...

How to properly add missing libraries and frameworks to existing Xcode project

in the past I have developed some simple iOS apps and today I saw that "phyphox", an app I would like to customize, is open source. So I downloaded the project, however it relies on some third-party libraries. Picture of the error message. I tried to compile these libraries and added the .framework files to the framework folder of the Xcode project, but the error messages wouldn't go away. What am I doing wrong?
Thanks for your help!
It sounds like you need to create a podfile to download everything properly. this video explains it really well! I've never done it the .framework way before, but I believe that podfiles will solve your problem because it's installed through your terminal and becomes a large piece of your project. I hope this helps! :)

No such module found when importing SQLite in Xcode

I am trying to import SQLite into an app in Xcode. The version of this app was originally developed using SQLite from the following link (not SQLite3).
https://github.com/stephencelis/SQLite.swift
The library has worked in previous iterations, but now I get an error that says "No such module SQLite" when I try to import the library at the top of the file I want to use it.
I have followed the instructions on the gitHub page and still have trouble with the library. One thing that I notice is that in the file explorer the SQLite.framework files are highlighted in red. I believe this is the source of the problem however, I don't know how to fix this.
File Picture:
Import Error:
It looks like you want to include SQLite into your ReadySetFit project? If so, what you really need to do is to follow the instructions under the "Installation" section found on the GitHub repo's main page. I'm a fan of Cocoapods (because all you'd need to do then is add a Podfile to the folder containing your ReadySetFit project), but there's also SwiftPackageManager or Carthage.
Along with the instructions in the SQLite github repo main page (or README.md), here's a tutorial on how to add a Podfile to your project.
I hope this helps!

Cannot build kurento toolbox in swift , Receiving syntax issues?

Hello Everyone I'm trying to inject kurento client in my swift app through cocoapods
pod 'KurentoToolbox'
successfully installed and after disabling bitcode for target project and kurento framework the build got successful, but whenever i try to import KurentoToolbox following error shows up
Then I try to Kurento Framowork in Linked Framework and Libraries as well as embedded libraries, but still facing the error Kindly see the attached the screenshots.screen shot after adding the framework , now after compiling the project it throws the following the error.receiving this error
Kindly Check these screen shot which may help to better answer this question.
Add KurentoToolbox into your embedded libraries. Usually this solves the problem but still if it doesn't, then try to add both of them in Linked Framework and Libraries as well as embedded libraries.
Also quit your xcode and go to your derived data folder and deletes derived data files(also empty your trash).

New relic iOS framework, header not found

I am using New Relic in my iOS app. In my original xcode-project things work as expected. When I check out the project from Git on another computer (or the same computer at another location), I am unable to find NewRelic.h. I get the following error when I try to build:
'NewRelicAgent/NewRelic.h' file not found
The framework is added to Git, and I use several other third party frameworks that work without problem. If I remove the New Relic import the rest of the project work as expected. In the non-functioning version that I check out, I have even tried to remove New Relic and re-add the framework, but this produces the same error.
I have searched the project for any absolute search paths, but it seems like there are none. I would like some advice on how to make xcode find the file.
This actually looks like a problem with xcode. A few users found a very simple fix that's outlined here: Why are static library headers not found?
Should be as simple as renaming the folder that contains the .xcodeproject.
I had this error when following their install instructions and imported the framework in the precompiled header. When importing it in the app delegate (which they explicitly state you should NOT do with the new version) everything works. Might be something with XCode6.1. Don't know.

Resources