/WordPress-iOS

WordPress for iOS - Official repository

Primary LanguageObjective-CGNU General Public License v2.0GPL-2.0

WordPress for iOS

Build Status

Resources

Developer blog & Handbook

Blog: http://make.wordpress.org/mobile

Handbook: http://make.wordpress.org/mobile/handbook/

Style guide

https://github.com/wordpress-mobile/WordPress-iOS/wiki/WordPress-for-iOS-Objective-C-Style-Guide

To report an issue

https://github.com/wordpress-mobile/WordPress-iOS/issues

Source Code

GitHub: https://github.com/wordpress-mobile/WordPress-iOS/

How to Contribute

http://make.wordpress.org/mobile/handbook/pathways/ios/how-to-contribute/

Building

Cocoapods

Starting with changeset 3633 version 3.2, WordPress for iOS uses Cocoapods (http://cocoapods.org/) to manage third party libraries. Trying to build the project by itself (WordPress.xcproj) after launching will result in an error, as the resources managed by cocoapods are not included.

Run pod install from the command line to install dependencies for the project.

Currently Cocoapods version 0.35 is required. Version 0.36 and newer is incompatible.

Xcode

Launch the workspace by either double clicking on WordPress.xcworkspace file, or launch Xcode and choose File > Open and browse to WordPress.xcworkspace.

WordPress for iOS requires Swift 1.1 and is incompatible with Swift 1.2 and Xcode 6.3 or newer. Previous versions of Xcode can be downloaded from Apple.

More information on building the project and the tools required can be found in the handbook.

Logging in

In order to login to a WordPress.com account, you will need to create an account over at https://developer.wordpress.com. The only account you will be able to login in with is the one affiliated with your developer account. Once you have an account and a corresponding app id and app secret, you will need to setup a ~/.wpcom_app_credentials file as detailed here. For more details see http://developer.wordpress.com/2014/07/04/authentication-improvements-for-testing-your-apps/.