8000 GitHub - l3dlp-sandbox/iOS: MEGA for iOS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

l3dlp-sandbox/iOS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MEGA for iOS

Download on the App Store

A fully 8000 -featured iOS client for accessing your secure cloud storage and communication tools, powered by MEGA.


🚀 Join MEGA Beta via TestFlight

Get early access to updates and new features by joining our beta program:

👉 Join MEGA TestFlight


🛠️ Building & Running the Application

This guide will help you build the MEGA iOS application using Xcode on macOS.

Prerequisites


🔧 Configuration Steps (Public Users)

  1. Update .gitmodules:

    • Update:
      • Modules/DataSource/MEGAChatSDK/Sources/MEGAChatSDKhttps://github.com/meganz/MEGAchat.git
      • SDKhttps://github.com/meganz/SDK.git
  2. Remove submodules:

    • iosTransifex
    • Modules/MEGASharedRepo
  3. Replace Shared Repo:

  4. Install CMake:

    • Navigate to the scripts folder and run:
      ./install-cmake.sh
    • Alternatively, public users may run from the root folder:
      ./config.sh
      and ignore any non-critical errors.
  5. Synchronize Git Submodules:

    git add .gitmodules
    git rm --cached Modules/MEGASharedRepo
    git rm --cached iosTransifex
    git submodule sync
    git submodule update --init --recursive
  6. Manually Pull Code if Needed:

    • For folders that failed to fetch:
      • Modules/DataSource/MEGAChatSDK/Sources/MEGAChatSDK
      • Modules/DataSource/MEGASDK/Sources/MEGASDK
      • iMEGA/Vendor/SVProgressHUD
      • iMEGA/Vendor/LTHPasscodeViewController

    Run:

    git checkout <latest-commit>
    git branch -D master
    git checkout -b master
    • For SVProgressHUD (use custom-MEGA branch) and LTHPasscodeViewController (use custom_mega branch):
      git checkout <latest-commit>
      git branch -D master
      git checkout -b <branch_name>
  7. Download and Unzip Required Dependencies: Place these under: Modules/DataSource/MEGAChatSDK/Sources/MEGAChatSDK/bindings/Objective-C/3rdparty

  8. Generate the DB Schema: Navigate to:

    Modules/DataSource/MEGAChatSDK/Sources/MEGAChatSDK/src

    and run:

    cmake -P genDbSchema.cmake
  9. Update Swift Package Dependency: Replace:


🧪 Running the Project (MEGA Engineers)

  1. In the terminal, run:
    ./configure.sh
  2. Open the Xcode workspace:
    open iMEGA.xcworkspace
  3. Select the MEGA target.
  4. Build and run using ⌘R.

🧱 Building 3rd-Party Packages (Optional)

To build third-party dependencies manually:

  1. Open a terminal at:

    Modules/DataSource/MEGASDK/Sources/MEGASDK/bindings/ios/3rdparty
  2. Run:

    sh build-all.sh --enable-chat

    ⚠️ This may take ~30 minutes.

Required Tools

  • autoconf
  • automake
  • cmake
  • libtool

WebRTC Build Guide

Refer to the official documentation:
👉 WebRTC for iOS

Packages

No packages published

Languages

  • Swift 84.3%
  • Objective-C 15.0%
  • Groovy 0.3%
  • Ruby 0.3%
  • Shell 0.1%
  • Perl 0.0%
0