rnx-kit/packages/tools-apple
renovate[bot] 57013d2191
fix(deps): update eslint (major) (#3394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2024-10-17 14:41:52 +00:00
..
src fix(cli): check Pods Manifest.lock earlier (#3374) 2024-10-02 08:55:46 +02:00
CHANGELOG.md RELEASING: Releasing 4 package(s) (#3369) 2024-10-07 09:32:52 +02:00
README.md fix(cli): check Pods Manifest.lock earlier (#3374) 2024-10-02 08:55:46 +02:00
eslint.config.js feat(tools-apple): introduce new package for Apple tools (#3110) 2024-04-26 16:45:33 +02:00
package.json fix(deps): update eslint (major) (#3394) 2024-10-17 14:41:52 +00:00
tsconfig.json feat(tools-apple): introduce new package for Apple tools (#3110) 2024-04-26 16:45:33 +02:00

README.md

@rnx-kit/tools-apple

Build npm version

@rnx-kit/tools-apple is a collection of functions for deploying apps on iOS or macOS.

Usage:

import * as tools from "@rnx-kit/tools-apple";
Category Function Description
cocoapods checkPodsManifestLock(xcworkspace) Returns whether the CocoaPods sandbox is in sync with its Podfile.lock.
ios bootSimulator(simulator) Boots the simulator with the specified UDID.
ios getAvailableSimulators(search) Returns a list of available iOS simulators.
ios getDevices() Returns a list of available iOS simulators and physical devices.
ios install(device, app) Installs the specified app bundle on specified simulator or physical device.
ios launch(device, app) Launches the specified app bundle on specified simulator or physical device.
ios selectDevice(deviceNameOrPlatformIdentifier, deviceType, logger) Returns the simulator or physical device with the specified name.
xcode getBuildSettings(xcworkspace, params) Returns build settings for specified Xcode workspace and the parameters used to build it.
xcode getDeveloperDirectory() Returns the path to the active developer directory.
xcode getDevicePlatformIdentifier(buildParams) Returns device platform identifier for specified platform and destination.
xcode parsePlist(app) Parses and returns the information property list of specified bundle.
xcode xcodebuild(xcworkspace, params, log) Builds the specified .xcworkspace.