{"id":20358675,"url":"https://github.com/meganz/ios","last_synced_at":"2026-05-22T01:04:05.221Z","repository":{"id":25796414,"uuid":"29235133","full_name":"meganz/iOS","owner":"meganz","description":"MEGA for iOS","archived":false,"fork":false,"pushed_at":"2026-02-16T03:05:48.000Z","size":806171,"stargazers_count":484,"open_issues_count":23,"forks_count":131,"subscribers_count":38,"default_branch":"master","last_synced_at":"2026-02-16T09:53:38.580Z","etag":null,"topics":["cloud","end-to-end-encryption","ios","mega","objective-c","privacy","swift","webrtc","xcode"],"latest_commit_sha":null,"homepage":"https://apps.apple.com/app/mega/id706857885?mt=8","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meganz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-01-14T08:43:02.000Z","updated_at":"2026-02-16T03:06:02.000Z","dependencies_parsed_at":"2026-02-16T05:04:09.808Z","dependency_job_id":null,"html_url":"https://github.com/meganz/iOS","commit_stats":null,"previous_names":[],"tags_count":305,"template":false,"template_full_name":null,"purl":"pkg:github/meganz/iOS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meganz%2FiOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meganz%2FiOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meganz%2FiOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meganz%2FiOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meganz","download_url":"https://codeload.github.com/meganz/iOS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meganz%2FiOS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30557939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T23:30:23.986Z","status":"ssl_error","status_checked_at":"2026-03-15T23:28:43.564Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","end-to-end-encryption","ios","mega","objective-c","privacy","swift","webrtc","xcode"],"created_at":"2024-11-14T23:28:17.826Z","updated_at":"2026-03-16T01:26:33.322Z","avatar_url":"https://github.com/meganz.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# MEGA for iOS\n\n[Download on the App Store](https://apps.apple.com/app/mega/id706857885)\n\nA fully-featured iOS client for accessing your secure cloud storage and communication tools, powered by [MEGA](https://mega.io).\n\n---\n\n## 🛠️ Building \u0026 Running the Application\n\nThis guide will help you build the MEGA iOS application using Xcode on macOS.\n\n### Prerequisites\n\n- [Xcode](https://itunes.apple.com/app/xcode/id497799835?mt=12)\n\n---\n\n### 🔧 Configuration Steps (Public Users)\n\n1. **Update `.gitmodules`**:\n   - Update:\n     - `Modules/DataSource/MEGAChatSDK/Sources/MEGAChatSDK` → `https://github.com/meganz/MEGAchat.git`\n     - `SDK` → `https://github.com/meganz/SDK.git`\n\n2. **Remove submodules**:\n   - `iosTransifex`\n   - `Modules/MEGASharedRepo`\n\n3. **Replace Shared Repo**:\n   - [Download MEGASharedRepo](https://mega.nz/folder/TqBmgDyI#USMnXad535FoQtIkHPEb9g/file/myZRBRaa)\n   - Replace the old one in the `/Modules` directory.\n\n4. **Install CMake**:\n   - Navigate to the `scripts` folder and run:\n     ```bash\n     ./install-cmake.sh\n     ```\n   - Alternatively, public users may run from the root folder:\n     ```bash\n     ./config.sh\n     ```\n     and ignore any non-critical errors.\n\n5. **Synchronize Git Submodules**:\n   ```bash\n   git add .gitmodules\n   git rm --cached Modules/MEGASharedRepo\n   git rm --cached iosTransifex\n   git submodule sync\n   git submodule update --init --recursive\n   ```\n\n6. **Manually Pull Code if Needed**:\n   - For folders that failed to fetch:\n     - `Modules/DataSource/MEGAChatSDK/Sources/MEGAChatSDK`\n     - `Modules/DataSource/MEGASDK/Sources/MEGASDK`\n     - `iMEGA/Vendor/SVProgressHUD`\n     - `iMEGA/Vendor/LTHPasscodeViewController`\n\n   Run:\n   ```bash\n   git checkout \u003clatest-commit\u003e\n   git branch -D master\n   git checkout -b master\n   ```\n\n   - For **SVProgressHUD** (use `custom_mega` branch) and **LTHPasscodeViewController** (use `custom-MEGA` branch):\n     ```bash\n     git checkout \u003clatest-commit\u003e\n     git branch -D master\n     git checkout -b \u003cbranch_name\u003e\n     ```\n\n7. **Download and Unzip Required Dependencies**:\n   Place these under:\n   `Modules/DataSource/MEGAChatSDK/Sources/MEGAChatSDK/bindings/Objective-C/3rdparty`\n   - [include.zip](https://mega.nz/folder/TqBmgDyI#USMnXad535FoQtIkHPEb9g/file/SuxFjAjJ)\n   - [webrtc.zip](https://mega.nz/folder/TqBmgDyI#USMnXad535FoQtIkHPEb9g/file/f7pBWQCY)\n\n8. **Generate the DB Schema**:\n   Navigate to:\n   ```bash\n   Modules/DataSource/MEGAChatSDK/Sources/MEGAChatSDK/src\n   ```\n   and run:\n   ```bash\n   cmake -P genDbSchema.cmake\n   ```\n\n9. **Update Swift Package Dependency**:\n   Replace:\n   - `https://code.developers.mega.co.nz/mobile/kmm/mobile-analytics-ios`\n   with:\n   - [`https://github.com/meganz/mobile-analytics-ios.git`](https://github.com/meganz/mobile-analytics-ios.git)\n\n---\n\n### 🧪 Running the Project (MEGA Engineers)\n\n1. In the terminal, run:\n   ```bash\n   ./configure.sh\n   ```\n2. Open the Xcode workspace:\n   ```bash\n   open iMEGA.xcworkspace\n   ```\n3. Select the `MEGA` target.\n4. Build and run using ⌘R.\n\n---\n\n## 🧱 Building 3rd-Party Packages (Optional)\n\nTo build third-party dependencies manually:\n\n1. Open a terminal at:\n   ```bash\n   Modules/DataSource/MEGASDK/Sources/MEGASDK/bindings/ios/3rdparty\n   ```\n\n2. Run:\n   ```bash\n   sh build-all.sh --enable-chat\n   ```\n   \u003e ⚠️ This may take ~30 minutes.\n\n### Required Tools\n\n- `autoconf`\n- `automake`\n- `cmake`\n- `libtool`\n\n### WebRTC Build Guide\n\nRefer to the official documentation:  \n👉 [WebRTC for iOS](https://webrtc.github.io/webrtc-org/native-code/ios/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeganz%2Fios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeganz%2Fios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeganz%2Fios/lists"}