Skip to content

THIS PROJECT IS NOW CLOSED. WE HAVE MOVED TO A NEW ZOM 2.0 MATRIX CORE. FOLLOW THE LINK!

License

Notifications You must be signed in to change notification settings

zom/Zom-iOS-XMPP

Repository files navigation

Build Status

Zom is a whitelabel fork of ChatSecure

Getting Started

You'll need the most recent version of Xcode, CocoaPods, Zom whitelabeling, ChatSecure source code, and dependencies. Also don't forget to add your SSH public key to GitHub or you'll get errors during the submodule step.

 $ git clone https://github.com/zom/Zom-iOS.git
 $ cd Zom-iOS
 $ git submodule update --init --recursive
 $ carthage bootstrap --platform ios --project-directory ChatSecure # or carthage update --platform ios --project-directory ChatSecure
 $ bash ./ChatSecure/Submodules/CPAProxy/scripts/build-all.sh
 $ bash ./ChatSecure/Submodules/OTRKit/scripts/build-all.sh
 $ bash Zom/copy_podfile.sh
 $ carthage bootstrap --platform ios --project-directory Zom # or carthage update --platform ios --project-directory Zom
 $ gem install bundler
 $ bundler install
 $ bundler exec pod install --project-directory=ChatSecure
 $ bundler exec pod install --project-directory=Zom

Update licesing information

 $ bash Zom/update_licenses.sh    

Copy over the Secrets.plist template:

 $ cp ./Zom/OTRResources/Secrets-template.plist ./Zom/OTRResources/Secrets.plist

Now open up the workspace:

 $ open Zom/Zom.xcworkspace

Run the Zom target inside Xcode on the simulator or on your device.