Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
105 lines (75 sloc) 4.34 KB

If you want to start help developing ownCloud please follow the contribution guidelines and observe these instructions:

NOTE: To compile the code you need Xcode 10.2, iOS11, cocoa pods and swiftlint.

1. Fork and download ios-app/master repository:

  • Navigate to, click fork.
  • Clone your new repo: git clone
  • Move to the project folder with cd ios-app
  • Checkout remote develop branch: git checkout -b master remotes/origin/master
  • Pull changes from your develop branch: git pull origin master
  • Make official ownCloud repo known as upstream: git remote add upstream
  • Make sure to get the latest changes from official ios-issues/master branch: git pull upstream master

2. Add the ownCloud iOS SDK:

NOTE: This will connect with our ownCloud iOS Library repository at

  • Inside the folder ios:
    • Init the library submodule: git submodule init
    • Update the library submodule: git submodule update

3. Set up in your local

4. Create your own certificates

NOTE: You must use the same "extension" on the certificates of the extensions (ownCloudExtApp, ownCloudExtAppFileProvider, OC-Share-Sheet)

  • Login at as developer and there to to the Certificates section.
  • Create a Development Certificate for you (probably you got it one now)
  • Create an App Id for the main app. Ex: com.mywebpage.owncloud.ios
  • Create an AppGroup and add it too all the App Id. Must have the App Id than the main app but with the group. Ex:
  • Add the UDID of your device on the Devices section.
  • Create 4 Development Profiles. One for each App Id.

5. Create pull request:

NOTE: You must sign the Contributor Agreement or contribute your code under the MIT license before your changes can be accepted! See the iOS license exception for testing the ownCloud iOS app on Apple hardware.

  • Remove your own App Id from the project and set again the ownCloud ones:

    • Main app: com.owncloud.ios-app
  • Commit your changes locally: git commit -a

  • Push your changes to your Github repo: git push

  • Browse to and issue pull request

  • Click "Edit" and set "base:master"

  • Again, click "Edit" and set "compare:master"

  • Enter description and send pull request.

6. Create another pull request:

To make sure your new pull request does not contain commits which are already contained in previous PRs, create a new branch which is a clone of upstream/master.

  • git fetch upstream
  • git checkout -b my_new_master_branch upstream/master
  • If you want to rename that branch later: git checkout -b my_new_master_branch_with_new_name
  • Push branch to server: git push -u origin name_of_local_master_branch
  • Use Github to issue PR


Please submit translations via Transifex.

Local ownCloud server for testing

You can easily fire up an ownCloud server on your Mac using Docker.

  1. Install Docker
  2. Run this in to start ownCloud with Docker
docker run --rm -d \
  --name owncloud \
  -p 18080:8080 \
  -e ADMIN_USERNAME=admin \
  -e ADMIN_PASSWORD=admin \
  1. Access from local Mac browser or Simulator:
    user: admin
    password: admin
  2. To test the app on a iOS device in your local network, you can use the IP of your machine as the Server URL
  3. To remove the ownCloud Docker, just run docker kill owncloud

Here you can find more information about running ownCloud with Docker:

You can’t perform that action at this time.