分享

rollout.io Installation

 没原创_去搜索 2015-12-01

http://support./docs/rolloutio-installation





A collection of users' frequently asked questions on the installation process.
Updated 2015-09-29


HOW DO I INSTALL THE SDK ON MY IOS APP?


HOW LONG DOES IT TAKE TO INSTALL THE SDK?

From start to finish, it's about 3 minutes of mostly automatic installation.

You will need to enter a couple lines of code yourself to your AppDelegate. The Installer will guide you “when the time is right”. Other than that, the installation doesn't require deep technical know-how.


WHAT IS THE SDK SIZE?

The SDK size is less than 15KB.

    RolloutOptions *options = [[RolloutOptions alloc] init];
    options.rolloutDisabled = YES;
    [Rollout setupWithDebug:NO options:options];

DO I NEED TO INSTALL THE SDK FOR EACH VERSION? EACH APP?

The SDK is installed per app, not per version. Install it once and continue working as usual. When there is a new SDK available with additional features, we'll let you know in an email and/or in the dashboard.


HOW DO I DISABLE ROLLOUT.IO SDK?

  • Starting from SDK version 0.9.0:
    Initiate the SDK with the rolloutDisabled option on:

You can also enable and disable the SDK at any time using [Rollout setRolloutDisabled:] method.

  • Before SDK version 0.9.0:
    Simply remove or comment-out the setup code from AppDelegate DidFinishLaunchingWithOptions:.

HOW DO I UPDATE TO A NEW VERSION OF THE SDK?

If you use CocoaPods, then you can just run pod install (you might need to update your Podfile).

If you use Rollout.io per-app installers, then in your dashboard, go to Settings > Your App > SDK Installer and download the latest version of it. Run it and select your Xcode project (for that particular app). The Installer will then update the SDK in your app.

See our easy step-by-step How to upgrade the SDK guide or contacts us for support.


WHAT DID THE INSTALLATION DO TO MY CODE?

The installation (either per-app Rollout.io installer, or configure_pod script in case of CocoaPods installation) doesn’t touch your code, but it does save you some footwork on the project file.

Here are the steps that the installation takes:

  • Unzips Rollout.io under your project directory (or under Pods/ in case of CocoaPods installation)
  • Adds The Rollout.io Framework to your project settings
  • Adds RolloutDynamic.m (a dynamic part of the SDK) to your project files
  • Adds a run script named “Rollout Code analyzer” to your build phases - this script reads your code structure and produces valuable information for Rollout.io SDK

CAN YOU SUGGEST WHAT TO INCLUDE IN .GITIGNORE?

  • (Only if you installed Rollout.io using our per-app installer) Add the following to .gitignore:
    • Rollout-ios-SDK/.cache/
  • Rollout-ios-SDK/.structures/archive/ dir contains the structures of your archived builds. The structure files must be uploaded to Rollout.io in order to create hotfixes. They are normally uploaded during the build, but in case something went wrong with the automatic uploading, you will have to upload them manually before you create a hot-fix. You can consider these files similar to .dsym files. The .dsym files are saved inside archives but, since they are outside of you project dir, they are usually not committed. We recommend to commit the structure files to be on the safe side.
  • Files under Rollout-ios-SDK/auto_generated_code should NOT be ignored. (These files contain the code added to your app by Rollout.io.)

WHAT ARE THE FILES UNDER AUTO_GENERATED_CODE?

These files contain dynamic code that was added to your app by Rollout.io. They are created during the SDK installation. Your application gets shipped with this code so you should not gitignore them. You will see these files changing when Rollout.io finds a new method signature in your application, so just commit the new changes along with your own code.


WHEN I DEBUG MY APP, WHY DOES IT STOPS IN ROLLOUT METHODS (BREAKPOINT)?

This means an internal Rollout exception occurred (you will only see it if you have "all exceptions" breakpoint set). This should not usually happen and it means there's some issue with the SDK. Please type "bt" in the debugger console (while stopped at the breakpoint) and send us the output (support@). As a workaround, you can disable the "all exceptions" breakpoint (but please send us the info because the issue means Rollout might not be working for you).


HOW DO I UNINSTALL THE SDK?

If you wish to disable the functionality of Rollout.io, it is enough to remove the setup lines in your AppDelegate function.

If you wish to completely uninstall it, follow these steps: 

If you installed Rollout.io using CocoaPods:

  • Run the uninstaller:
    Pods/Rollout.io/install/uninstall.sh <path-to-your-xcodeproj-dir>
    
  • Remove Rollout.io from your Podfile
  • Run:
    pod install
    
  • Remove the Rollout-ios-SDK directory

If you installed Rollout.io using the installer app

  • Run the uninstaller:
    Rollout-ios-SDK/install/uninstall.sh <project-xcodeproj-dir>
    
  • Remove the Rollout-ios-SDK directory

HOW DO I DELETE MY ROLLOUT ACCOUNT?

If you wish to delete your account completely, follow these steps:

  • Go to your dashboard at https://app..
  • On the top-right side, click your name, and then select Settings.
  • In the Settings menu, go to Account Settings > My Account.
  • Select Delete Account and follow the few remaining steps.

 Before deleting your account

Deleting your account will erase all of your user data and any hot-patches that you've made. It may also affect your users directly (if there are hot-patches in production).

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多