Skip to content

raspberry-hu/walletiOS

Repository files navigation

MEGA for iOS

Download on the App Store

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 the following tools on the local machine:

Clone the project

If you are the general public user, please open .gitmodules file and:

  1. Change url for karere submodule, use this one
  2. Change url for SDK submodule, use this one

Update submodule

git submodule update --init --recursive

Download 3rdparty packages

  1. Download the prebuilt third party dependencies from this link: https://mega.nz/file/EYECGBDQ#2iFuoLVTqzXA2ARoNJr3tgM0eAlXoT_ce0skKycEF98
  2. Uncompress that file and move the folders webrtc , include and lib into iMEGA/Vendor/sdk/bindings/ios/3rdparty.

Install Pods

Open the terminal and run pod install

M1 SOC Macs specific

  1. You may have to install CMake by manually building it using make install; refer to Linux, UNIX section of above CMake link, and run commands locally.
  2. Right click Xcode icon and choose Get Info, and then tick Open using Rosetta, which can help us solve incompatible issues.

Open and Run the project

  1. Open iMEGA.xcworkspace.
  2. Make sure the MEGA target is selected.
  3. Build and run (⌘R).

Troubleshooting

  • if you encouter cmake command not found issue, refer to CMake page, there are multiple way to install it.

Build 3rdparty packages manually

If you want to build the third party dependencies by yourself:

  1. Open a terminal in the directory iMEGA/sdk/bindings/ios/3rdparty.
  2. Run sh build-all.sh --enable-chat (Wait until the process ends, it will take some time, ~30 minutes).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published