Files
purchases-ios/Tests/TestingApps/PurchaseTesterSwiftUI/fastlane
NachoSoto 432b704dc7 Purchase Tester: added companion watchOS app (#2140)
I added this in order to debug #2132.

### Changes:
- Extracted `Core` framework to be used by both apps
- Added new `watchOS` target
- Changed `fastlane match` to also create profiles for this new target
- Added a simple view in the watch app that displays a text if an
entitlement is active, or a `restore` purchases button otherwise

This is just a starting point, we can add more to it in the future.

#### Note:
_Unfortunately I haven't been able to test this because of an Apple bug
(`FB11873951`):_


![incoming-722CC7FA-D970-4E23-AB88-50167248D98D](https://user-images.githubusercontent.com/685609/207672762-23abe3e7-6052-4b16-bdf2-7b1e502ffd81.PNG)
2022-12-21 07:31:58 -08:00
..

fastlane documentation

Installation

Make sure you have the latest version of the Xcode command line tools installed:

xcode-select --install

For fastlane installation instructions, see Installing fastlane

Available Actions

check_pods

[bundle exec] fastlane check_pods

iOS

ios bump

[bundle exec] fastlane ios bump

Bump version, update swift header, edit changelog, and create pull request

ios automatic_bump

[bundle exec] fastlane ios automatic_bump

Automatically bumps version, update swift header, edit changelog, and create pull request

ios github_release

[bundle exec] fastlane ios github_release

Make github release

ios prepare_next_version

[bundle exec] fastlane ios prepare_next_version

Creates PR changing version to next minor adding a -SNAPSHOT suffix

ios setup_dev

[bundle exec] fastlane ios setup_dev

Setup development environment

ios test_ios

[bundle exec] fastlane ios test_ios

Runs all the iOS tests

ios test_tvos

[bundle exec] fastlane ios test_tvos

Runs all the tvOS tests

ios release_checks

[bundle exec] fastlane ios release_checks

Release checks

ios build_tv_watch_mac

[bundle exec] fastlane ios build_tv_watch_mac

build tvOS, watchOS, macOS

ios build_mac

[bundle exec] fastlane ios build_mac

macOS build

ios carthage_archive

[bundle exec] fastlane ios carthage_archive

Run the carthage archive steps to prepare for carthage distribution

ios archive

[bundle exec] fastlane ios archive

archive

ios archive_all_platforms

[bundle exec] fastlane ios archive_all_platforms

archive all platforms

ios build_swift_api_tester

[bundle exec] fastlane ios build_swift_api_tester

build Swift API tester

ios build_objc_api_tester

[bundle exec] fastlane ios build_objc_api_tester

build ObjC API tester

ios replace_api_key_integration_tests

[bundle exec] fastlane ios replace_api_key_integration_tests

replace API KEY for installation and integration tests

ios release

[bundle exec] fastlane ios release

Release to CocoaPods, create Carthage archive, export XCFramework, and create GitHub release

ios tag_current_branch

[bundle exec] fastlane ios tag_current_branch

Tag current branch with current version number

ios compile_autogenerated_header

[bundle exec] fastlane ios compile_autogenerated_header

Creates RevenueCat-Swift.h for a new release

ios export_xcframework

[bundle exec] fastlane ios export_xcframework

Export XCFramework

ios backend_integration_tests

[bundle exec] fastlane ios backend_integration_tests

Run BackendIntegrationTests

ios update_swift_package_commit

[bundle exec] fastlane ios update_swift_package_commit

Update swift package commit

ios preview_docs

[bundle exec] fastlane ios preview_docs

Preview docs

ios generate_docs

[bundle exec] fastlane ios generate_docs

Generate docs

ios deploy_purchase_tester

[bundle exec] fastlane ios deploy_purchase_tester

Build and deploy PurchaseTesterSwiftUI

ios sandbox_testers

[bundle exec] fastlane ios sandbox_testers

Create or delete sandbox testers


This README.md is auto-generated and will be re-generated every time fastlane is run.

More information about fastlane can be found on fastlane.tools.

The documentation of fastlane can be found on docs.fastlane.tools.