WooCommerce iOS app
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
A Jetpack-powered companion app for WooCommerce.
At the moment WooCommerce for iOS uses Swift 5.7 and requires Xcode 14 or newer. Previous versions of Xcode can be downloaded from Apple.
2. Install Ruby. We recommend using rbenv to install it. Please refer to the .ruby-version file for the required Ruby version.
We use Ruby to manage the third party dependencies and other tools and automation.
2. Clone project in the folder of your preference
4. Install the third party dependencies and tools required to run the project.
This command installs the required build tools and dependencies.查看完整 README ↗Download Xcode
At the moment WooCommerce for iOS uses Swift 5.7 and requires Xcode 14 or newer. Previous versions of Xcode can be downloaded from Apple.
Install Ruby. We recommend using rbenv to install it. Please refer to the .ruby-version file for the required Ruby version.
We use Ruby to manage the third party dependencies and other tools and automation.
Clone project in the folder of your preference
git clone https://github.com/woocommerce/woocommerce-ios.git
Enter the project directory
cd woocommerce-ios
Install the third party dependencies and tools required to run the project.
brew install xz && bundle install && bundle exec rake dependencies
This command installs the required build tools and dependencies.
Automattic contributors should first install and set up a8c-secrets; the command above then decrypts the project secrets.
Re-run it, or a8c-secrets decrypt, whenever the secrets are rotated.
Open the project by double clicking on WooCommerce.xcworkspace file, or launching Xcode and choose File > Open and browse to WooCommerce.xcworkspace
In order to login to WordPress.com using the app:
http://www.wordpress.com, "Redirect URLs" = https://localhost, "Javascript Origins" = https://localhost and "Type" = Native and click Create. On the next page, click Update.WooCommerce/Credentials/Templates/ApiCredentials-Template.swift.dotcomAppId with the Client ID.dotcomSecret with the Client Secret.The build phase copies this template into each target's derived sources directory on every build, so your edits persist across clean builds.
Please, remember to not add this information on your commits and PRs.
Read our Contributing Guide to learn about reporting issues, contributing code, and more ways to contribute.
The woocommerce-ios project uses Peril to enforce Pull Request guidelines.
The woocommerce-ios project uses Circle CI for continuous integration.
If you happen to find a security vulnerability, we would appreciate you letting us know at https://hackerone.com/automattic and allowing us to respond before disclosing the issue publicly.
You can find the WooCommerce usage docs here: docs.woocommerce.com
General usage and development questions:
WooCommerce for iOS is an Open Source project covered by the GNU General Public License version 2.