Demo project of DIM Client, just for study purpose.
Dependencies:
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
cd GitHub/dimchat/demo-ios/Sechat/
# install requirements
pod install --repo-update
after all pods installed, open GitHub/dimchat/demo-ios/Sechat/Sechat.xcworkspace
- 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.pyto 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