Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fastlane-plugin-rearchive

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastlane-plugin-rearchive

  • 1.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

rearchive plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-rearchive, add it to your project by running:

fastlane add_plugin rearchive

About rearchive

Modify files inside ipa/xcarchive for publishing multiple configurations without rearchiving.

Example

Check out the example Fastfile to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins and bundle exec fastlane test.

Usage

The resign is required after executing the following actions.

Modify the application Info.plist.

plist_value(
  archive_path: "example/Example.xcarchive",
  plist_values: {
    ":CustomApplicationKey" => "Replaced!"
  }
)

Execute commands for the application Info.plist.

plist_command(
  archive_path: "example/Example.xcarchive",
  plist_commands: [
    "Delete :DebugApplicationKey"
  ]
)

Replace icons of the application.

iconset(
  archive_path: "example/Example.xcarchive",
  iconset_path: "example/Blue.appiconset"
)

Modify a different application plist

plist_value(
  archive_path: "example/Example.xcarchive",
  plist_path: "GoogleService-Info.plist",
  plist_values: {
    ":TRACKING_ID" => "UA-22222222-22"
  }
)

Prefixing with a / allows you to target any plist in the archive.

plist_value(
  archive_path: "example/Example.xcarchive",
  plist_path: "/Info.plist",
  plist_values: {
    ":TRACKING_ID" => "UA-22222222-22"
  }
)

Replace a file with a local one (files only - asset catalog items are not supported)

replace_file(
  archive_path: "example/Example.ipa",
  files: {
    "GoogleService-Info.plist" => "example/New-GoogleService-Info.plist"
  }
)

Remove a file (files only - asset catalog items are not supported)

remove_file(
  archive_path: "example/Example.ipa",
  files: [
    "GoogleService-Info.plist"
  ]
)

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.

FAQs

Package last updated on 05 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc