You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Mega app is great! This issue covers how to debug and run the Mega iOS app on your own device. Anyone who is interested in customizing their own version of the Mega app can find this helpful.
1. Apple developer program
Firstly, you need an apple developer program, not the free version, but the paid one that include iCloud, push notifications, and other capabilities available only in the paid program.
How do we integrate the sdk in already created project. It seems your sdk requires a lot of steps. Also I realised all your services (chat, calling, file storage) are all incorporated in one sdk rather than segregating them (Let me know if I'm wrong). I only need file storage.
Why don't we add your sdk via package manager or pod file.
Check pCloud on GitHub their full documentation: SDK
and this docs
1. Apple developer program
Firstly, you need an apple developer program, not the free version, but the paid one that include iCloud, push notifications, and other capabilities available only in the paid program.
2. Install Xcode and CMake
sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install
3. Clone the repo
Repo link: https://github.com/meganz/iOS
4. Update submodule
.gitmodules
file under repo root directory, and change the URL:5. Download 3rdparty packages
webrtc
,include
andlib
intoiMEGA/Vendor/sdk/bindings/ios/3rdparty
.6. Modify Xcode project
iMEGA.xcworkspace
in Xcode, wait Swift Package to update.com.xxx
, and choose Automatically manage signing with your own account.group.mega.ios
to your own namegroup.com.xxx
, iCloud Containers make the same changeiCloud.com.xxx
.7. Modify source code
MEGANotifications.entitlements
, delete this line:com.apple.developer.usernotifications.filtering
.MEGAConstants.m
change value of MEGAGroupIdentifier to your own group id:group.com.xxx
.AppGroupContainer.swift
change value of identifier to your own group id:group.com.xxx
.iMEGA/Extensions/MEGAPickerFileProvider/Info.plist
change NSExtensionFileProviderDocumentGroup to your own group id:group.com.xxx
.8. Run the project with real iPhone device but not the simulator
Running in the simulator will crash when app launch.
The text was updated successfully, but these errors were encountered: