What is @expo/apple-utils?
@expo/apple-utils is a utility library designed to interact with Apple's App Store Connect and other Apple services. It provides a set of tools to manage various aspects of iOS app development and distribution, such as managing app metadata, handling provisioning profiles, and more.
What are @expo/apple-utils's main functionalities?
Manage App Metadata
This feature allows you to fetch and manage metadata for your iOS apps. The code sample demonstrates how to retrieve app metadata using the App.findAsync method.
const { App } = require('@expo/apple-utils');
async function getAppMetadata(appId) {
const app = await App.findAsync(appId);
console.log(app.attributes);
}
getAppMetadata('your-app-id');
Handle Provisioning Profiles
This feature enables you to manage provisioning profiles. The code sample shows how to list all provisioning profiles using the Profile.getAllAsync method.
const { Profile } = require('@expo/apple-utils');
async function listProvisioningProfiles() {
const profiles = await Profile.getAllAsync();
profiles.forEach(profile => console.log(profile.attributes));
}
listProvisioningProfiles();
Manage Certificates
This feature allows you to manage certificates. The code sample demonstrates how to list all certificates using the Certificate.getAllAsync method.
const { Certificate } = require('@expo/apple-utils');
async function listCertificates() {
const certificates = await Certificate.getAllAsync();
certificates.forEach(cert => console.log(cert.attributes));
}
listCertificates();
Other packages similar to @expo/apple-utils
fastlane
Fastlane is a popular open-source tool aimed at simplifying Android and iOS deployment. It offers a wide range of functionalities similar to @expo/apple-utils, such as managing app metadata, handling provisioning profiles, and automating the release process. Fastlane is more comprehensive and supports both iOS and Android platforms.