Giter VIP home page Giter VIP logo

demo-ios's Introduction

Secure Chat (iOS version)

Demo project of DIM Client, just for study purpose.

Dependencies:

Getting started

0. Download source codes and requirements

cd GitHub/
mkdir dimchat; cd dimchat/

# demo source codes
git clone https://github.com/dimchat/demo-ios.git

# requirements
git clone https://github.com/dimchat/demo-objc.git

cd ..; mkdir moky; cd moky/
git clone https://github.com/moky/StarGate.git

1. Test in simulators

cd GitHub/dimchat/demo-ios/Sechat/

# install requirements
pod install --repo-update

after all pods installed, open GitHub/dimchat/demo-ios/Sechat/Sechat.xcworkspace

2. Test in iOS devices

  • Download source codes of Tencent/mars:
cd GitHub/
mkdir Tencent; cd Tencent/

git clone https://github.com/Tencent/mars.git
  • Edit building script build_ios.py to enable bitcode for iOS devices:
cd GitHub/Tencent/mars/mars

vi build_ios.py
#
# search 'ENABLE_BITCODE=0', modify it to 'ENABLE_BITCODE=1'
#

python build_ios.py
#
# choose '1. Clean && build mars.'
# after building mars successfully,
#     copy 'Tencent/mars/mars/cmake_build/iOS/Darwin.out/mars.framework'
#     to replace 'moky/StarGate/MarsGate/mars.framework'
#

then open GitHub/dimchat/demo-ios/Sechat/Sechat.xcworkspace

-- Edited by Alber Moky @ 2023-3-25

demo-ios's People

Contributors

cryptofcc avatar moky avatar moonfunjohn avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

ceezy

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.