@@ -56,8 +56,9 @@ platform :ios do
56
56
git_basic_authorization : Base64 . strict_encode64 ( "#{ GITHUB_REPOSITORY_OWNER } :#{ GH_PAT } " ) ,
57
57
app_identifier : [
58
58
"com.#{ TEAMID } .xdripswift" ,
59
- "com.#{ TEAMID } .xdripswift.xDrip4iOS-Widget" ,
60
- "com.#{ TEAMID } .xdripswift.watchkitapp"
59
+ "com.#{ TEAMID } .xdripswift.xDripWidget" ,
60
+ "com.#{ TEAMID } .xdripswift.watchkitapp" ,
61
+ "com.#{ TEAMID } .xdripswift.watchkitapp.xDripWatchComplication"
61
62
]
62
63
)
63
64
@@ -86,16 +87,23 @@ platform :ios do
86
87
87
88
update_code_signing_settings (
88
89
path : "#{ GITHUB_WORKSPACE } /xdrip.xcodeproj" ,
89
- profile_name : mapping [ "com.#{ TEAMID } .xdripswift.xDrip4iOS-Widget " ] ,
90
+ profile_name : mapping [ "com.#{ TEAMID } .xdripswift.xDripWidget " ] ,
90
91
code_sign_identity : "iPhone Distribution" ,
91
- targets : [ "xDrip4iOS Widget" ]
92
+ targets : [ "xDrip Widget Extension " ]
92
93
)
93
94
94
95
update_code_signing_settings (
95
96
path : "#{ GITHUB_WORKSPACE } /xdrip.xcodeproj" ,
96
97
profile_name : mapping [ "com.#{ TEAMID } .xdripswift.watchkitapp" ] ,
97
98
code_sign_identity : "iPhone Distribution" ,
98
- targets : [ "Watch App" ]
99
+ targets : [ "xDrip Watch App" ]
100
+ )
101
+
102
+ update_code_signing_settings (
103
+ path : "#{ GITHUB_WORKSPACE } /xdrip.xcodeproj" ,
104
+ profile_name : mapping [ "com.#{ TEAMID } .xdripswift.watchkitapp.xDripWatchComplication" ] ,
105
+ code_sign_identity : "iPhone Distribution" ,
106
+ targets : [ "xDrip Watch Complication Extension" ]
99
107
)
100
108
101
109
gym (
@@ -153,11 +161,15 @@ platform :ios do
153
161
Spaceship ::ConnectAPI ::BundleIdCapability ::Type ::NFC_TAG_READING
154
162
] )
155
163
156
- configure_bundle_id ( "xDrip4iOS Widget" , "com.#{ TEAMID } .xdripswift.xDrip4iOS-Widget" , [
164
+ configure_bundle_id ( "xDrip Widget Extension" , "com.#{ TEAMID } .xdripswift.xDripWidget" , [
165
+ Spaceship ::ConnectAPI ::BundleIdCapability ::Type ::APP_GROUPS
166
+ ] )
167
+
168
+ configure_bundle_id ( "xDrip Watch App" , "com.#{ TEAMID } .xdripswift.watchkitapp" , [
157
169
Spaceship ::ConnectAPI ::BundleIdCapability ::Type ::APP_GROUPS
158
170
] )
159
171
160
- configure_bundle_id ( "Watch App " , "com.#{ TEAMID } .xdripswift.watchkitapp" , [
172
+ configure_bundle_id ( "xDrip Watch Complication Extension " , "com.#{ TEAMID } .xdripswift.watchkitapp.xDripWatchComplication " , [
161
173
Spaceship ::ConnectAPI ::BundleIdCapability ::Type ::APP_GROUPS
162
174
] )
163
175
@@ -181,8 +193,9 @@ platform :ios do
181
193
git_basic_authorization : Base64 . strict_encode64 ( "#{ GITHUB_REPOSITORY_OWNER } :#{ GH_PAT } " ) ,
182
194
app_identifier : [
183
195
"com.#{ TEAMID } .xdripswift" ,
184
- "com.#{ TEAMID } .xdripswift.xDrip4iOS-Widget" ,
185
- "com.#{ TEAMID } .xdripswift.watchkitapp"
196
+ "com.#{ TEAMID } .xdripswift.xDripWidget" ,
197
+ "com.#{ TEAMID } .xdripswift.watchkitapp" ,
198
+ "com.#{ TEAMID } .xdripswift.watchkitapp.xDripWatchComplication"
186
199
]
187
200
)
188
201
end
0 commit comments