Project settings updated

This commit is contained in:
Daniil Vinogradov
2024-04-09 20:32:57 +02:00
parent d2094dd03b
commit 43d0ef27c5
5 changed files with 18 additions and 51 deletions
@@ -82,25 +82,9 @@ struct ProgressWidgetLiveActivity: Widget {
}
}
private extension ProgressWidgetAttributes {
static var preview: ProgressWidgetAttributes {
ProgressWidgetAttributes(name: "World", hash: "")
}
}
private extension ProgressWidgetAttributes.ContentState {
static var smiley: ProgressWidgetAttributes.ContentState {
ProgressWidgetAttributes.ContentState(progress: 0.2, downSpeed: 2000, upSpeed: 1000, timeRemainig: "Осталось САСАТБ", timeStamp: .now)
}
static var starEyes: ProgressWidgetAttributes.ContentState {
ProgressWidgetAttributes.ContentState(progress: 0.7, downSpeed: 12000000, upSpeed: 1000000, timeRemainig: "Осталось САСАТБ", timeStamp: .now)
}
}
#Preview("Notification", as: .content, using: ProgressWidgetAttributes.preview) {
ProgressWidgetLiveActivity()
} contentStates: {
ProgressWidgetAttributes.ContentState.smiley
ProgressWidgetAttributes.ContentState.starEyes
}
//#Preview("Notification", as: .content, using: ProgressWidgetAttributes.preview) {
// ProgressWidgetLiveActivity()
//} contentStates: {
// ProgressWidgetAttributes.ContentState(progress: 0.2, downSpeed: 2000, upSpeed: 1000, timeRemainig: "Осталось САСАТБ", timeStamp: .now)
// ProgressWidgetAttributes.ContentState(progress: 0.7, downSpeed: 12000000, upSpeed: 1000000, timeRemainig: "Осталось САСАТБ", timeStamp: .now)
//}
+10 -7
View File
@@ -1069,7 +1069,7 @@
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1530;
LastUpgradeCheck = 1510;
LastUpgradeCheck = 1530;
TargetAttributes = {
7C5FBE3A2BC0ADC90069E5A0 = {
CreatedOnToolsVersion = 15.3;
@@ -1308,13 +1308,13 @@
INFOPLIST_FILE = ProgressWidget/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = ProgressWidget;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
IPHONEOS_DEPLOYMENT_TARGET = 16.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
MARKETING_VERSION = "2.0-alpha";
PRODUCT_BUNDLE_IDENTIFIER = com.xitrix.iTorrent2.ProgressWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
@@ -1338,13 +1338,13 @@
INFOPLIST_FILE = ProgressWidget/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = ProgressWidget;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
IPHONEOS_DEPLOYMENT_TARGET = 16.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
MARKETING_VERSION = "2.0-alpha";
PRODUCT_BUNDLE_IDENTIFIER = com.xitrix.iTorrent2.ProgressWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
@@ -1368,13 +1368,13 @@
INFOPLIST_FILE = ProgressWidget/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = ProgressWidget;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
IPHONEOS_DEPLOYMENT_TARGET = 16.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
MARKETING_VERSION = "2.0-alpha";
PRODUCT_BUNDLE_IDENTIFIER = com.xitrix.iTorrent2.ProgressWidget;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
@@ -1390,6 +1390,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
@@ -1454,6 +1455,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
@@ -1591,6 +1593,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1510"
LastUpgradeVersion = "1530"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
@@ -4,7 +4,6 @@
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22684"/>
<capability name="Image references" minToolsVersion="12.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
@@ -80,38 +79,19 @@
</label>
</subviews>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ebU-f0-7cN">
<rect key="frame" x="333" y="6.6666666666666679" width="44" height="44"/>
<constraints>
<constraint firstAttribute="width" constant="44" id="GGL-YK-p78"/>
<constraint firstAttribute="height" constant="44" id="nsg-V7-mjl"/>
</constraints>
<state key="normal">
<imageReference key="image" image="ellipsis.circle" catalog="system" symbolScale="large"/>
<preferredSymbolConfiguration key="preferredSymbolConfiguration" weight="medium"/>
</state>
</button>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="trailingMargin" secondItem="ebU-f0-7cN" secondAttribute="trailing" id="1ua-tu-J24"/>
<constraint firstItem="ebU-f0-7cN" firstAttribute="centerY" secondItem="6PN-eI-ZGF" secondAttribute="centerY" id="9cE-Fi-Ag3"/>
<constraint firstAttribute="trailingMargin" secondItem="sJk-R7-M4m" secondAttribute="trailing" id="J8S-eW-vLQ"/>
<constraint firstItem="sJk-R7-M4m" firstAttribute="leading" secondItem="6PN-eI-ZGF" secondAttribute="leadingMargin" id="erg-cA-8Us"/>
<constraint firstAttribute="bottom" secondItem="sJk-R7-M4m" secondAttribute="bottom" constant="8" id="iKh-BL-0Gh"/>
<constraint firstItem="sJk-R7-M4m" firstAttribute="top" secondItem="6PN-eI-ZGF" secondAttribute="top" constant="8" id="lwU-mg-dPX"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<variation key="default">
<mask key="subviews">
<exclude reference="ebU-f0-7cN"/>
</mask>
</variation>
<point key="canvasLocation" x="-306.1068702290076" y="283.45070422535213"/>
</view>
</objects>
<resources>
<image name="ellipsis.circle" catalog="system" width="128" height="123"/>
<image name="ic_rss" width="25" height="25"/>
<systemColor name="secondaryLabelColor">
<color red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>