-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTemplateInfo.plist
85 lines (85 loc) · 2.53 KB
/
TemplateInfo.plist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kind</key> <!--States the template type-->
<string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
<!--States if the template is a standalone template or a part
of template used in a diffrent template. In this case it will
be hidden from the template wizzard-->
<key>Concrete</key>
<false/>
<key>Identifier</key> <!--Template ID in the "template space"-->
<string>com.goodrequest.Firebase</string>
<key>Definitions</key> <!--Template variables-->
<dict>
<key>Application/Google/GoogleService-Info.plist</key>
<dict>
<key>Path</key>
<string>Google/GoogleService-Info.plist</string>
<key>Group</key>
<array>
<string>Application</string>
<string>Google</string>
</array>
</dict>
</dict>
<key>Options</key> <!--"USER INPUT" options-->
<array>
<dict>
<key>Identifier</key> <!--Option ID-->
<string>firebase</string>
<key>Name</key> <!--Field title-->
<string>Firebase</string>
<key>Description</key> <!--Field tooltip-->
<string>Integrate firebase</string>
<key>SortOrder</key> <!--Sorting priority-->
<integer>250</integer>
<key>Type</key> <!--Field type-->
<string>checkbox</string>
<key>Default</key> <!--Default value-->
<string>true</string>
<key>Units</key> <!--Field outcome-->
<dict>
<key>true</key>
<array>
<dict>
<key>Nodes</key>
<array>
<string>Application/Google/GoogleService-Info.plist</string>
</array>
<key>Targets</key>
<array>
<dict>
<key>TargetIdentifier</key>
<string>com.apple.dt.cocoaTouchApplicationTarget</string>
<key>BuildPhases</key>
<array>
<dict>
<key>Name</key>
<string>🔥 Run Firebase SDK</string>
<key>SortOrder</key>
<string>1</string>
<key>Class</key>
<string>ShellScript</string>
<key>ShellPath</key>
<string>/bin/sh</string>
<key>ShellScript</key>
<string>#FIRE_BASE="${PODS_ROOT}/FirebaseCrashlytics/run"
#REMOVE COMMENTED LINE AFTER YOU GOOGLE.plist file is valid in place
if test -f "${FIRE_BASE}"; then
"${FIRE_BASE}"
else
echo "warning: FireBase not installed, download from https://github.com/firebase/firebase-ios-sdk 😭😩🤦♂️"
fi</string>
</dict>
</array>
</dict>
</array>
</dict>
</array>
</dict>
</dict>
</array>
</dict>
</plist>