New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tifastlane

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tifastlane

iOS Continuos Deployment support for Titanium using fastlane.tools. With TiFastlane you'll be able to fully optimize the way you submit your app updates and maintain your certificates and provisioning profiles on the App Store.

  • 0.3.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-90.74%
Maintainers
1
Weekly downloads
 
Created
Source

TiFastlane

Building apps for iOS it's all great until you have to deal with Certificates, Provisioning Profiles and sending iTunes Connect. Then came fastlane.tools a collection of 9 tools that enable Continuous Deployment of iOS Apps.

TiFastlane it's a way to use those tools for Titanium development. Now you'll be able to do real continous deployment of your Titanium app. Sending your app for review will be a breeze:

tifast send

With TiFastlane you'll be able to fully optimize the way you submit your app updates and maintain your certificates and provisioning profiles.

Install npm version

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

xcode-select --install

Then we need to download and install the Fastlane toolset that TiFastlane uses for all the magic.

sudo gem install fastlane

Finally we can install the TiFastlane CLI.

[sudo] npm install -g tifastlane

Usage

tifastlane or tifast must be executed from your Titanium App directory. It will automatically read your tiapp.xml to determine your App configuration for all the tools.

Setup TiFastlane

First we need to setup how TiFastlane will work on your app, run:

tifast setup

This will take you to a list of simple prompts to configure language, Apple ID and CLI to use when building your app. At the end of the process a tifastlane.cfg file will be created in your app project directory.

Initializing Your App

TiFastlane needs to initialize the configuration files needed to keep iTunes Connect updated with the correct information. If the app it's not in iTunes Connect then run to start fresh settings:

tifast init

If your app is already on iTunes Connect, then run the wizard which will automatically download all your current metadata and screenshots:

tifast init -s

Status

You can view the current settings that would be used by running:

tifast status

You will see something like this:

Apple ID Username: contact@universopositivo.com.br
Name: Easy Ticket
AppId: br.com.universopositivo.easyTicket
Version: 1.0.0
CFBundleVersion: 107
GUID: "32cc538e-4fd3-4d6e-9999-870ce50ab039"
SKU: "xxxxxxxxxxxxxx"

Register

Register your Titanium App ID on the Apple Developer Program and iTunes Connect, and then generate the Provisioning Profiles for App Store, Ad Hoc and Development.

tifast register

Everything is done behind the scenes using produce and sigh. If the App ID already exists on the Developer Program or iTunes Connect it will be safely skipped.

For default provisiong profiles will be generated for all platforms, but if you wish you can target a single platform: appstore, adhoc or development.

tifast register <platform>

Send

When you have a new version of your App that you wish to push to iTunes Connect, all you have to do is:

tifast send

TiFastalane will get Appcelerator to build the ipa. It will build it as AdHoc so we get an ipa, so make sure to select your App Store certificate so it works when sending it to iTunes Connect.

Updating only metadata

You might want to update only the metadata and/or screenshots of your App without having to submit a new version or binary. To do so use:

tifast send -m

This will login to iTunes Connect and update your app information based on your configuration, as well as uploading all the App screenshots.

After the build, then using deliver TiFastlane will login to iTunes Connect. It will automatically read the new version of your ipa and create a new version if necessary, upload the metadata, screenshots and finally your binary.

TestFlight

If you want to upload an Beta version of your app, you can do it by using:

tifast send -t

It will use pilot to communicate with iTunes Connect and upload your App, already sending it to beta internal test and notifying your testers.

Push Notification Profiles (PEM)

Generate or rewnew your push certificates by using:

tifast pem [password]

For default certificates will be created for distribution using the password you define, if you want to target the development certificates then use:

tifast pem -d [password]

CLI Usage

Each of TiFastlane's commands has it's own set of arguments you can use to further control. You can easily look at each avaiable argument with -h, for example:

tifast setup -h

Configuration Files

All metadata and screenshots are easily maintained from the TiFLDelivery\APPID directory, here you will find the following files:

Deliveryfile

You can configure Price, Copyright, Developer Notes, etc. You can read the full documentation here.

./metadata/[LANG]/*.txt

In this directory you will see several text files with the contents of the metadata that is language dependant. By default it's only created with the EN_US language, but if you run the wizard and you support more language, you'll see them listed here.

./screenshots/[LANG]/.

As with metadata, screenshots support multi language. Based on the dimension of the images they will be correctly set to the appropiate device. The images are ordered alphabetically, so make sure to name them correctly to control the right display order.

TODO

  • Check sudo issue to have the fastlane gem installed automatically when installing TiFastlane
  • Finalize and document snapshot
  • Allow configuration of team id, team name, and specification of the default certificate to use

Collaborators

Thanks

  • Felix Krause for creating the awesome fastlane.tools
  • Jason Kneen for creating some awesome CLI tools from which I'm basing this one

Changelog

  • 0.3.3 Update app version on send
  • 0.3.2 Correct functionality of tifast register [platform]
  • 0.3.1 You can now setup TiFastlane from the command line and you can choose which CLI to use. More documentation.
  • 0.3.0 Added new tools snapshot, PEM, Pilot
  • 0.2.3 Removed SKU delivery, automatic one will be generated by produce.
  • 0.2.1 Send version on produce. Update SKU generator
  • 0.2.0 Now you can upload your app update.
  • 0.1.0 Now you can update your iTunes Connect metadata and screenshots (deliver)
  • 0.0.3 Added register - Register App (produce + sigh)
  • 0.0.1 Initial Commit

License

Copyright 2015 Uriel Lizama

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Keywords

FAQs

Package last updated on 25 Sep 2015

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