How To Install Cocoa Library On Mac
Mac find library folder. By default, the User Library folder is hidden in Mac OS 10.7 and above.
This is how we compile otclient on Mac OS X, we use XQuartz to compile and run otclient, which is an X11 implementation for Mac OS, we do not use the native Cocoa API. This means that users will need XQuartz installed too to run the client. You will need to know the basics of how using the terminal in Mac OS to follow this tutorial.
- CocoaPods manages library dependencies for your Xcode projects. The dependencies for your projects are specified in a single text file called a Podfile. CocoaPods will resolve dependencies between libraries, fetch the resulting source code, then link it together in an Xcode workspace to build your project.
- Haskell for Mac is an easy-to-use integrated programming environment for Haskell on OS X. It is a one-click install of a complete Haskell system, including Haskell compiler, editor, many libraries, and a novel form of interactive Haskell playgrounds. Haskell playgrounds support exploration and experimentation with code.
May 22, 2014 Installing and using Cocoa Pods on mac Cocoa pod is dependency management system, It manages the versioning and updating of external libraries added to your Xcode project. It runs on Ruby platform, which is pre-installed in Macs systems. PryvApiKit is an OS X framework and an iOS static library. It handles all networking and interactions with Pryv API for your Objective-C based applications. Install with cocoapds.
Requirements
- Mac OS X 10.6 or higher
- Command Line Tools for Xcode (install them inside the XCode menu)
Jan 12, 2020 With either the desktop or a Finder window as the frontmost application, hold down the option key and select the Go menu. The Library folder will be listed as one of the items in the Go menu. Select Library and a Finder window will open showing the contents of the Library folder. PryvApiKit is an OS X framework and an iOS static library. It handles all networking and interactions with Pryv API for your Objective-C based applications. Install with cocoapds.
You should install all those requirements first, in order, I will not cover how to install them in this tutorial.
Installing needed libraries
We use brew to install most of the required libraries by using the following commands:
Cloning and compiling
You may need to change the included directory of your installed version of OpenSSL. Check your installed version with brew info openssl
. If it is not version 1.0.2.n, change the version in the cmake
command below.
Now you can run, the otclient output binary should be in the same directory.