MEGA for iOS
A fully-featured client to access your Secure Cloud Storage and Communication provided by MEGA.
Testing MEGA with TestFlight
If you want to be the first one to receive the updates, join the MEGA beta following this link: MEGA TestFlight
Build & Run the application
This document will guide you to build the application on a Mac machine with Xcode.
Prerequisites
In order to build MEGA for iOS locally, it is necessary to install Xcode on the local machine:
Configure the project - for public users
- Open the .gitmodules file and update the URL for the "karere" submodule to https://github.com/meganz/MEGAchat.git, and the URL for the "SDK" submodule to https://github.com/meganz/SDK.git.
- In the SPM dependencies, replace the current package with the URL https://code.developers.mega.co.nz/mobile/kmm/mobile-analytics-ios and instead use https://github.com/meganz/mobile-analytics-ios.git.
Run the project
- Use the terminal to execute
./configure.sh
- Open
iMEGA.xcworkspace
. - Make sure the
MEGA
target is selected. - Build and run (βR).
Build 3rdparty packages manually (Optional)
If you want to build the third party dependencies by yourself:
- Open a terminal in the directory
Modules/DataSource/MEGASDK/Sources/MEGASDK/bindings/ios/3rdparty
. - Run sh build-all.sh --enable-chat (Wait until the process ends, it will take some time, ~30 minutes).
- To build all third party dependencies, you need to have installed:
autoconf
,automake
,cmake
andlibtool
. - To build webrtc visit: https://webrtc.github.io/webrtc-org/native-code/ios/