Try Fabric for Unity first

スポンサーリンク

Fabric for Unity was announced yesterday.

setup Crashlytics using SDK for mobile from Twitter called “Fabric” ” was also introduced simply, if Fabric is introduced, distribution to testers will become very easy, or it will become easy to debug it in a development phase.

From the setup of Fabric for Unity in the project of Unity, I left the screen shot. Although there are many screen shots, the installation of “Fabric for Unity” was very easy.

00

Download of Fabric for Unity

log in to Fabric, and see “Download Plugins” on left-hand side, the package file for Unity is downloadable.

00a

Click on the icon of “Unity.”

00

There is easy explanation on a Web page. Click “Scroll to continue”

01

Click “Done!”

02

“Fabric.unitypackage” is downloaded.

03

Setup the Fabric package in a Unity project.

Since the project of Unity to install is opened, if “Fabric.unitypackage” is double-clicked, the “Import Unity Package” panel will open. Push “Import” and install Fabric in the project.

04

Then, since “Fabric” appears in a menu, “Prepare Fabric” is chosen and the Fabric panel is opened.

05

In a panel, input your Fabric account and log in.

06

“Crashlytics” and “Twitter” can be chosen. Here, “Crashlytics” is chosen.

07

push “Install”

08

Download starts and it installs a thing required for a project.

09

After download finishes, it will become the display “Waiting for import …”, and the inside of this panel will be in a suspended state. Even if it has been waiting for this, it is useless.

10

Since the “Import Unity Package” panel for importing Crashlytics by another panel is open, push “Import”

11

push “Apply”. Then, the Fabric panel also reacts and it progresses to the following step.

12

Tha is “You’re almost there…”. First, Open your first scene.

13

drag and drop the cube currently displayed on this panel to Hierarchy.

14

You can see “FabricInit” and “CrashlyticsInit” were added.

15

The Fabric panel is a suspended state with “Waiting for an app launch.” It is made to stand by as it is until it performs an application with the system.

15a

Now, it is build-time. Let’s choose “iOS”, set Target SDK to “Device SDK” and export it out. (It is necessary to build to the system behind)

16

push “Build” and save the Xcode project anywhere

11

If it finishes exporting out, start the Xcode project. The Fabric panel of Unity is standing by with the picture of a rocket. The project is installed in the real device (such as iPhone, are connected with Mac) by Xcode. (As for time, this building is heavy very much.)

14

When an application starts with the device safely, the inclusion work of a series of Fabric for Unity is an end.

19

Distribute the app to testers using Fabric.

If the Xcode project exported from Unity is built, the real Fabric will be called and it will start its panel.

09

However, since there is no archive which can still be distributed, I create the archive for distribution next.

15

Then, in the case of this project of mine, the error occurred.

22

It solved, when “Enable Bitcode” was set to “No” by BuildSettings.

It seemed to be the same contents as using Xcode7, “linker command failed with exit code 1 (use -v to see invocation)”.”

22

If the archive is created correctly, it will ask each time whether Fabric distributes it. push “Distribute” if this message comes out.

24

Since it is the first test in this application, a tester’s to invite to a test mail address is put in. Lets add yourself.

25

Next, write an easy release note (explanation of this build). The procedure of this is easy-to-use on the same level as the old TestFlight. The Apple version TestFlight has a troublesome procedure of this.

26

uploaed the Build and a letter of invitation reaches a tester. If the first person (device) to invite recognizes to that letter of invitation, he will return automatically the UDID information for installing in that system to this distribution person. it becomes take installable after incorporating the information building.

07

Above, a Unity project can be distributed now using Fabric.

(I will write about the tester’s letter of invitation after this)