暂无描述

cyberta 1c015dff41 prepare code for shared usage between containing app and extension 5 年之前
.github 5c80906752 update contribute docs 5 年之前
DeltaChatShare e002854bf9 set activation rules 5 年之前
Pods 9f7b494032 remove IQAudioRecorderController library 5 年之前
deltachat-ios 1c015dff41 prepare code for shared usage between containing app and extension 5 年之前
deltachat-ios.xcodeproj 1c015dff41 prepare code for shared usage between containing app and extension 5 年之前
deltachat-ios.xcworkspace 6524ebe154 Updated MessageKit and added SnapKit 6 年之前
deltachat-iosTests 85f190afb9 run 'swiftformat --rules indent *' 6 年之前
docs 7723bf3540 doc 5 年之前
images 022fbb7de1 Add app icon. 7 年之前
tools 6a89cb1ec7 update translations 5 年之前
.gitignore 9f77634bd5 no longer ignore Cocoapods build artifacts 7 年之前
.gitmodules 9a99d0c9e8 refactor: switch to rust-core 6 年之前
.swiftformat e51509ff03 adapt .swiftformat to default to 4 spaces for indentation 6 年之前
.swiftlint.yml 536c35e138 disable trailing_whitespaces for now 5 年之前
CHANGELOG.md 40390be25b bump version 5 年之前
Podfile 9f7b494032 remove IQAudioRecorderController library 5 年之前
Podfile.lock 9f7b494032 remove IQAudioRecorderController library 5 年之前
README.md d03695f01e Update Readme.md 5 年之前

README.md

deltachat-ios

Email-based instant messaging for iOS.

Screenshot Chat List Screenshot Chat View

Testing

Betas are distributed via Testflight. Just scan this QR code with the camera app of your iPhone/iPad

or open this link

https://testflight.apple.com/join/uEMc1NxS

on your iPhone or iPad to try Deltachat iOS Beta.

Check the Changelog (for TestFlight builds) at the bottom to see what's included.

How to build with Xcode

You need to install rustup with rust, as well as cargo-lipo.

$ git clone git@github.com:deltachat/deltachat-ios.git
$ cd deltachat-ios
$ git submodule update --init --recursive
# Make sure the correct rust version is installed
$ rustup toolchain install `cat deltachat-ios/libraries/deltachat-core-rust/rust-toolchain`
$ open deltachat-ios.xcworkspace # do not: open deltachat-ios.xcodeproj

This should open Xcode. Then make sure that at the top left in Xcode there is deltachat-ios selected as scheme (see screenshot below).

Screenshot

Now build and run - e.g. by pressing Cmd-r - or click on the triangle at the top:

Screenshot

If you're on MacOS Mojave and Xcode complains about missing header files (different mac versions may or may not install all headers), you can force-install them with the following command:

$ sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /

If you get an error about that file not existing, you probably simply don't have the Xcode command line tools installed which can be remedied simply as follows:

$ xcode-select --install

On MacOS Catalina the include paths changed, /usr/include doesn't exist anymore. You'll need to manually set the CPATH variable to specify the location of the header files:

export CPATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include

Note: the default terminal switched to zsh on MacOS Catalina. All your exported variables have to move to ~/.zshrc