Fastfile additions and changes

* Add new xDrip Widget Extension bundle ID
* Change bundle ID and target for Watch Complication Extension
* Change bundle ID and target for Watch App
* Change bundle ID and target for Widget Extension
* Resolve packages
* Update Testflight.md
This commit is contained in:
dnzxy 2024-03-24 20:07:12 +01:00
parent 8eed36ac4e
commit f8f46a76ea
6 changed files with 28 additions and 56 deletions

View File

@ -56,8 +56,9 @@ platform :ios do
git_basic_authorization: Base64.strict_encode64("#{GITHUB_REPOSITORY_OWNER}:#{GH_PAT}"),
app_identifier: [
"com.#{TEAMID}.xdripswift",
"com.#{TEAMID}.xdripswift.xDrip4iOS-Widget",
"com.#{TEAMID}.xdripswift.watchkitapp"
"com.#{TEAMID}.xdripswift.xDripWidget",
"com.#{TEAMID}.xdripswift.watchkitapp",
"com.#{TEAMID}.xdripswift.watchkitapp.xDripWatchComplication"
]
)
@ -86,16 +87,23 @@ platform :ios do
update_code_signing_settings(
path: "#{GITHUB_WORKSPACE}/xdrip.xcodeproj",
profile_name: mapping["com.#{TEAMID}.xdripswift.xDrip4iOS-Widget"],
profile_name: mapping["com.#{TEAMID}.xdripswift.xDripWidget"],
code_sign_identity: "iPhone Distribution",
targets: ["xDrip4iOS Widget"]
targets: ["xDrip Widget Extension"]
)
update_code_signing_settings(
path: "#{GITHUB_WORKSPACE}/xdrip.xcodeproj",
profile_name: mapping["com.#{TEAMID}.xdripswift.watchkitapp"],
code_sign_identity: "iPhone Distribution",
targets: ["Watch App"]
targets: ["xDrip Watch App"]
)
update_code_signing_settings(
path: "#{GITHUB_WORKSPACE}/xdrip.xcodeproj",
profile_name: mapping["com.#{TEAMID}.xdripswift.watchkitapp.xDripWatchComplication"],
code_sign_identity: "iPhone Distribution",
targets: ["xDrip Watch Complication Extension"]
)
gym(
@ -153,11 +161,15 @@ platform :ios do
Spaceship::ConnectAPI::BundleIdCapability::Type::NFC_TAG_READING
])
configure_bundle_id("xDrip4iOS Widget", "com.#{TEAMID}.xdripswift.xDrip4iOS-Widget", [
configure_bundle_id("xDrip Widget Extension", "com.#{TEAMID}.xdripswift.xDripWidget", [
Spaceship::ConnectAPI::BundleIdCapability::Type::APP_GROUPS
])
configure_bundle_id("Watch App", "com.#{TEAMID}.xdripswift.watchkitapp", [
configure_bundle_id("xDrip Watch App", "com.#{TEAMID}.xdripswift.watchkitapp", [
Spaceship::ConnectAPI::BundleIdCapability::Type::APP_GROUPS
])
configure_bundle_id("xDrip Watch Complication Extension", "com.#{TEAMID}.xdripswift.watchkitapp.xDripWatchComplication", [
Spaceship::ConnectAPI::BundleIdCapability::Type::APP_GROUPS
])
@ -181,8 +193,9 @@ platform :ios do
git_basic_authorization: Base64.strict_encode64("#{GITHUB_REPOSITORY_OWNER}:#{GH_PAT}"),
app_identifier: [
"com.#{TEAMID}.xdripswift",
"com.#{TEAMID}.xdripswift.xDrip4iOS-Widget",
"com.#{TEAMID}.xdripswift.watchkitapp"
"com.#{TEAMID}.xdripswift.xDripWidget",
"com.#{TEAMID}.xdripswift.watchkitapp",
"com.#{TEAMID}.xdripswift.watchkitapp.xDripWatchComplication"
]
)
end

View File

@ -133,8 +133,9 @@ Note 2 - Depending on your build history, you may find some of the Identifiers a
1. Go to [Certificates, Identifiers & Profiles](https://developer.apple.com/account/resources/identifiers/list) on the apple developer site.
1. For each of the following identifier names:
* xdripswift
* xdripswift xDrip4iOS-Widget
* Watch App
* xDrip Widget Extension
* xDrip Watch App
* xDrip Watch Complication Extension
1. Click on the identifier's name.
1. On the "App Groups" capabilies, click on the "Configure" button.
1. Select the "Loop App Group" _(yes, "Loop App Group" is correct)_

View File

@ -5428,7 +5428,7 @@
CODE_SIGN_STYLE = "$(XDRIP_CODE_SIGN_STYLE)";
CURRENT_PROJECT_VERSION = "$(CURRENT_PROJECT_VERSION)";
DEVELOPMENT_TEAM = "$(XDRIP_DEVELOPMENT_TEAM)";
INFOPLIST_FILE = "$(SRCROOT)/xdrip/Supporting Files/Info.plist";
INFOPLIST_FILE = "xdrip/Supporting Files/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 16.2;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
@ -5457,7 +5457,7 @@
CODE_SIGN_STYLE = "$(XDRIP_CODE_SIGN_STYLE)";
CURRENT_PROJECT_VERSION = "$(CURRENT_PROJECT_VERSION)";
DEVELOPMENT_TEAM = "$(XDRIP_DEVELOPMENT_TEAM)";
INFOPLIST_FILE = "$(SRCROOT)/xdrip/Supporting Files/Info.plist";
INFOPLIST_FILE = "xdrip/Supporting Files/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 16.2;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",

View File

@ -1,41 +0,0 @@
{
"pins" : [
{
"identity" : "actionclosurable",
"kind" : "remoteSourceControl",
"location" : "https://github.com/takasek/ActionClosurable.git",
"state" : {
"revision" : "a1a589cd4189768c0ac7a49da7296d95a7f4f914",
"version" : "2.1.0"
}
},
{
"identity" : "cryptoswift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/krzyzanowskim/CryptoSwift.git",
"state" : {
"revision" : "32f641cf24fc7abc1c591a2025e9f2f572648b0f",
"version" : "1.7.2"
}
},
{
"identity" : "piecharts",
"kind" : "remoteSourceControl",
"location" : "https://github.com/paulplant/PieCharts",
"state" : {
"branch" : "master",
"revision" : "15128eb4d1126dcdca4a5b665cece6be9f5dac91"
}
},
{
"identity" : "swiftcharts",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ivanschuetz/SwiftCharts",
"state" : {
"branch" : "master",
"revision" : "c354c1945bb35a1f01b665b22474f6db28cba4a2"
}
}
],
"version" : 2
}

View File

@ -1,5 +1,4 @@
{
"originHash" : "20a19467224593c1dcb0789843c73f4580a23d8227b26f5a2c54d6c62c75927e",
"pins" : [
{
"identity" : "actionclosurable",
@ -38,5 +37,5 @@
}
}
],
"version" : 3
"version" : 2
}