diff --git a/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/Contents.json b/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/Contents.json new file mode 100644 index 000000000..073f106ae --- /dev/null +++ b/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "ico.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "ico2.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "ico1.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/ico.png b/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/ico.png new file mode 100644 index 000000000..324f01d9e Binary files /dev/null and b/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/ico.png differ diff --git a/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/ico1.png b/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/ico1.png new file mode 100644 index 000000000..324f01d9e Binary files /dev/null and b/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/ico1.png differ diff --git a/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/ico2.png b/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/ico2.png new file mode 100644 index 000000000..324f01d9e Binary files /dev/null and b/DarockBili Watch App/Assets.xcassets/AppIconImage.imageset/ico2.png differ diff --git a/DarockBili Watch App/Localizable.xcstrings b/DarockBili Watch App/Localizable.xcstrings index cd9c48bbc..8e4cd69b7 100644 --- a/DarockBili Watch App/Localizable.xcstrings +++ b/DarockBili Watch App/Localizable.xcstrings @@ -13,6 +13,9 @@ }, " / %lld" : { + }, + "_uuid_Gen" : { + }, "-- And You --" : { @@ -36,9 +39,6 @@ } } } - }, - "“喵哩喵哩”" : { - }, "#%lld" : { "extractionState" : "stale", @@ -188,6 +188,9 @@ } } } + }, + "activeBdUrl" : { + }, "Apple Watch 目前无法连接到互联网" : { @@ -220,6 +223,12 @@ } } } + }, + "buvid_fpTest" : { + + }, + "buvid3_4_actived" : { + }, "Close Debug Controls" : { @@ -237,6 +246,12 @@ } } } + }, + "Current Global Buvid3: %@" : { + + }, + "Current Global Buvid4: %@" : { + }, "Darock API" : { @@ -292,7 +307,13 @@ "Debug Search" : { }, - "Debug Version. DO NOT Release!!" : { + "fp" : { + + }, + "Gen" : { + + }, + "Get new & active" : { }, "Hello, world!" : { @@ -305,6 +326,9 @@ } } } + }, + "Hello, World!" : { + }, "Jst Placeholder" : { "localizations" : { @@ -344,9 +368,6 @@ }, "Show Debug Controls" : { - }, - "ThreeManager785" : { - }, "time" : { @@ -379,6 +400,9 @@ } } } + }, + "下载并安装" : { + }, "下载视频" : { @@ -430,6 +454,7 @@ }, "人机验证已完成" : { + "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : { @@ -468,15 +493,6 @@ }, "低电量模式" : { - }, - "你好,欢迎使用我的app。" : { - - }, - "使用本app,您需要将iPhone关机。\n(在iPhone关机后)\n打开Apple Watch的设置,打开并连接Wi-Fi或者蜂窝。" : { - - }, - "使用本app,您需要将iPhone关机。(在iPhone关机后)打开Apple Watch的设置,打开并连接Wi-Fi或者蜂窝" : { - }, "关于" : { "localizations" : { @@ -726,6 +742,9 @@ }, "喵哩喵哩在上次运行时出现了一些问题" : { + }, + "喵哩喵哩已是最新版本" : { + }, "喵哩喵哩新版本(v%@ Build %@)已发布!现可更新" : { "localizations" : { @@ -737,10 +756,7 @@ } } }, - "国际冠字码" : { - - }, - "在使用本 App 前,您需要先知晓以下信息:\n· 本 App 由第三方开发者以及部分社区用户贡献,与哔哩哔哩无合作关系。\n· 本 App 并不是哔哩哔哩的替代品,我们建议您在能够使用官方客户端时尽量使用官方客户端。\n· 本 App 均使用来源于网络的公开信息进行开发。" : { + "在使用本 App 前,您需要先知晓以下信息:\n· 本 App 由第三方开发者以及部分社区用户贡献,与哔哩哔哩无合作关系,哔哩哔哩是上海宽娱数码科技有限公司的商标。\n· 本 App 并不是哔哩哔哩的替代品,我们建议您在能够使用官方客户端时尽量使用官方客户端。\n· 本 App 均使用来源于网络的公开信息进行开发。\n· 本 App 中和B站相关的功能完全免费\n· 本 App 中所呈现的B站内容来自哔哩哔哩官方。\n· 本 App 的开发者、负责人和实际责任人是%@\n 联系QQ:3245146430" : { }, "在右上角显示占用(仅本次启动)" : { @@ -761,6 +777,9 @@ } } } + }, + "如果无法正常访问网络,请尝试在设置中关闭 iPhone 的 WiFi 和蓝牙开关" : { + }, "官方" : { @@ -823,7 +842,7 @@ } } }, - "开始使用" : { + "开发者" : { }, "开始播放时" : { @@ -855,6 +874,9 @@ } } } + }, + "您可于 iPhone 上的 TestFlight 更新 App" : { + }, "您可以将此信息发送至 Darock 以帮助我们改进喵哩喵哩" : { @@ -903,9 +925,6 @@ }, "手势" : { - }, - "手机号" : { - }, "扫码登录" : { "localizations" : { @@ -988,18 +1007,6 @@ }, "更多" : { - }, - "本app是非官方的B站客户端,哔哩哔哩是上海宽娱数码科技有限公司的商标。本app强烈建议您登录账号,以便B站官方可以正常收获网络流量,并且鼓励您尽可能使用官方app。本app中和B站相关的功能完全免费,请您再次确认本app与B站官方没有任何合作关系,认可并且尊重本app中所呈现的B站内容来自哔哩哔哩官方。" : { - - }, - "本app的名字叫%@" : { - - }, - "本app的开发者、负责人和实际责任人是%@\n联系QQ:3245146430" : { - - }, - "本旋转功能目前还不完善" : { - }, "来自 %@ 的消息:欢迎加群 248036605 获取最新消息谢谢喵!" : { "localizations" : { @@ -1048,6 +1055,9 @@ } } } + }, + "检查更新时出错" : { + }, "检查网络或稍后重试" : { @@ -1077,6 +1087,9 @@ }, "正在检查..." : { + }, + "正在检查更新..." : { + }, "正在解压..." : { @@ -1109,9 +1122,6 @@ }, "注册 Darock 通行证" : { - }, - "注意" : { - }, "注意!" : { @@ -1324,9 +1334,6 @@ } } } - }, - "获取验证码" : { - }, "解析失败或无法播放视频时可尝试更换" : { @@ -1394,6 +1401,9 @@ }, "跳转到..." : { + }, + "软件更新" : { + }, "轻点问题以查看详细信息" : { @@ -1428,6 +1438,7 @@ }, "进行人机验证" : { + "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : { @@ -1531,4 +1542,4 @@ } }, "version" : "1.0" -} +} \ No newline at end of file diff --git a/DarockBili Watch App/Others/SettingsView.swift b/DarockBili Watch App/Others/SettingsView.swift index af6969c5d..fec514107 100644 --- a/DarockBili Watch App/Others/SettingsView.swift +++ b/DarockBili Watch App/Others/SettingsView.swift @@ -19,6 +19,8 @@ import Charts import SwiftUI import WatchKit import SwiftDate +import DarockKit +import AuthenticationServices struct SettingsView: View { var body: some View { @@ -125,6 +127,9 @@ struct SettingsView: View { NavigationLink(destination: {AboutView()}, label: { Text("关于") }) + NavigationLink(destination: {SoftwareUpdateView()}, label: { + Text("软件更新") + }) NavigationLink(destination: {PlayerSettingsView()}, label: { Text("播放设置") }) @@ -168,7 +173,100 @@ struct SettingsView: View { } .navigationTitle("通用") } - + + struct SoftwareUpdateView: View { + @State var shouldUpdate = false + @State var isLoading = true + @State var isFailed = false + @State var latestVer = "" + @State var latestBuild = "" + @State var releaseNote = "" + var body: some View { + ScrollView { + VStack { + if !isLoading { + if shouldUpdate { + HStack { + Spacer() + .frame(width: 10) + Image("AppIconImage") + .resizable() + .frame(width: 40, height: 40) + .cornerRadius(8) + Spacer() + .frame(width: 10) + VStack { + Text("v\(latestVer) Build \(latestBuild)") + .font(.system(size: 14, weight: .medium)) + HStack { + Text("Darock Studio") + .font(.system(size: 13)) + .foregroundColor(.gray) + Spacer() + } + } + } + Divider() + Text(releaseNote) + if (Bundle.main.infoDictionary?["CFBundleIdentifier"] as! String) != "com.darock.DarockBili.watchkitapp" { + Button(action: { + let session = ASWebAuthenticationSession(url: URL(string: "https://cd.darock.top:32767/meowbili/install.html")!, callbackURLScheme: "mlhd") { _, _ in + return + } + session.prefersEphemeralWebBrowserSession = true + session.start() + }, label: { + Text("下载并安装") + }) + } else { + Spacer() + .frame(height: 10) + Text("您可于 iPhone 上的 TestFlight 更新 App") + .bold() + } + } else if isFailed { + Text("检查更新时出错") + } else { + Text("喵哩喵哩已是最新版本") + } + } else { + HStack { + Text("正在检查更新...") + .lineLimit(1) + .multilineTextAlignment(.leading) + .frame(width: 130) + Spacer() + .frame(maxWidth: .infinity) + ProgressView() + } + } + } + } + .onAppear { + DarockKit.Network.shared.requestString("https://api.darock.top/bili/newver") { respStr, isSuccess in + if isSuccess && respStr.apiFixed().contains("|") { + latestVer = String(respStr.apiFixed().split(separator: "|")[0]) + latestBuild = String(respStr.apiFixed().split(separator: "|")[1]) + let nowMajorVer = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as! String + let nowBuildVer = Bundle.main.infoDictionary?["CFBundleVersion"] as! String + if nowMajorVer != latestVer || Int(nowBuildVer)! < Int(latestBuild)! { + shouldUpdate = true + } + DarockKit.Network.shared.requestString("https://api.darock.top/bili/newver/note") { respStr, isSuccess in + if isSuccess { + releaseNote = respStr.apiFixed() + isLoading = false + } else { + isFailed = true + } + } + } else { + isFailed = true + } + } + } + } + } struct PlayerSettingsView: View { @AppStorage("IsPlayerAutoRotating") var isPlayerAutoRotating = true @AppStorage("RecordHistoryTime") var recordHistoryTime = "into" @@ -399,6 +497,8 @@ struct SettingsView: View { struct SettingsView_Previews: PreviewProvider { static var previews: some View { - SettingsView() + NavigationStack { + SettingsView() + } } } diff --git a/DarockBili.xcodeproj/project.pbxproj b/DarockBili.xcodeproj/project.pbxproj index cd9eb5a1e..420a00651 100644 --- a/DarockBili.xcodeproj/project.pbxproj +++ b/DarockBili.xcodeproj/project.pbxproj @@ -40,8 +40,6 @@ B4468A4E2B4FC24A002CCEB2 /* VideoDetailView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4468A102B4FC24A002CCEB2 /* VideoDetailView.swift */; }; B4468A4F2B4FC24A002CCEB2 /* AudioPlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4468A112B4FC24A002CCEB2 /* AudioPlayerView.swift */; }; B4468A502B4FC24A002CCEB2 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B4468A132B4FC24A002CCEB2 /* Preview Assets.xcassets */; }; - B4468A512B4FC24A002CCEB2 /* Dynamic_Feed_All.json in Resources */ = {isa = PBXBuildFile; fileRef = B4468A152B4FC24A002CCEB2 /* Dynamic_Feed_All.json */; }; - B4468A522B4FC24A002CCEB2 /* Search_With_UP_V2.json in Resources */ = {isa = PBXBuildFile; fileRef = B4468A162B4FC24A002CCEB2 /* Search_With_UP_V2.json */; }; B4468A532B4FC24A002CCEB2 /* AboutView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4468A182B4FC24A002CCEB2 /* AboutView.swift */; }; B4468A542B4FC24A002CCEB2 /* FirstUsingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4468A192B4FC24A002CCEB2 /* FirstUsingView.swift */; }; B4468A552B4FC24A002CCEB2 /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4468A1A2B4FC24A002CCEB2 /* SettingsView.swift */; }; @@ -62,7 +60,6 @@ B4468A642B4FC24A002CCEB2 /* HistoryView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4468A2F2B4FC24A002CCEB2 /* HistoryView.swift */; }; B4468A652B4FC24A002CCEB2 /* WatchLaterView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4468A302B4FC24A002CCEB2 /* WatchLaterView.swift */; }; B4468A672B4FC286002CCEB2 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B4468A662B4FC286002CCEB2 /* Assets.xcassets */; }; - B4468A6A2B4FC2A4002CCEB2 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B4468A692B4FC2A4002CCEB2 /* Preview Assets.xcassets */; }; B4468A6D2B4FC2C8002CCEB2 /* Alamofire in Frameworks */ = {isa = PBXBuildFile; productRef = B4468A6C2B4FC2C8002CCEB2 /* Alamofire */; }; B4468A702B4FC5E7002CCEB2 /* Marquee in Frameworks */ = {isa = PBXBuildFile; productRef = B4468A6F2B4FC5E7002CCEB2 /* Marquee */; }; B4468A732B4FC5F2002CCEB2 /* SwiftDate in Frameworks */ = {isa = PBXBuildFile; productRef = B4468A722B4FC5F1002CCEB2 /* SwiftDate */; }; @@ -171,7 +168,6 @@ B4468A2F2B4FC24A002CCEB2 /* HistoryView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HistoryView.swift; sourceTree = ""; }; B4468A302B4FC24A002CCEB2 /* WatchLaterView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WatchLaterView.swift; sourceTree = ""; }; B4468A662B4FC286002CCEB2 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - B4468A692B4FC2A4002CCEB2 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; B4C5E9562B4FD60600E2605B /* DarockBili-Watch-App-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = "DarockBili-Watch-App-Info.plist"; sourceTree = SOURCE_ROOT; }; E2565AF22B52BFDF000E01ED /* BangumiDetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BangumiDetailView.swift; sourceTree = ""; }; E2565AF42B52C017000E01ED /* BangumiDownloadView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BangumiDownloadView.swift; sourceTree = ""; }; @@ -210,6 +206,7 @@ B44689C32B4FC15A002CCEB2 = { isa = PBXGroup; children = ( + B4468A142B4FC24A002CCEB2 /* JSONReturnExamples */, B44689D42B4FC15A002CCEB2 /* DarockBili Watch App */, B44689CB2B4FC15A002CCEB2 /* Products */, B4468A902B4FC8B7002CCEB2 /* Frameworks */, @@ -228,36 +225,26 @@ B44689D42B4FC15A002CCEB2 /* DarockBili Watch App */ = { isa = PBXGroup; children = ( + B4468A082B4FC249002CCEB2 /* Localizable.xcstrings */, B4C5E9562B4FD60600E2605B /* DarockBili-Watch-App-Info.plist */, - B4468A682B4FC2A4002CCEB2 /* Preview Content */, - B4468A662B4FC286002CCEB2 /* Assets.xcassets */, B4468A042B4FC249002CCEB2 /* DarockBili-Bridging-Header.h */, B44689FF2B4FC249002CCEB2 /* DarockBiliApp.swift */, E2565AF12B52BF0F000E01ED /* Bangumi */, B44689E72B4FC249002CCEB2 /* Errors */, B44689F62B4FC249002CCEB2 /* Extension */, B4468A002B4FC249002CCEB2 /* InMain */, - B4468A142B4FC24A002CCEB2 /* JSONReturnExamples */, B44689FD2B4FC249002CCEB2 /* Live */, - B4468A082B4FC249002CCEB2 /* Localizable.xcstrings */, B4468A092B4FC249002CCEB2 /* Offline */, B4468A172B4FC24A002CCEB2 /* Others */, B4468A262B4FC24A002CCEB2 /* PersonalCenter */, - B4468A122B4FC24A002CCEB2 /* Preview Content */, B4468A052B4FC249002CCEB2 /* UserDynamic */, B4468A0B2B4FC24A002CCEB2 /* Video */, - B44689DB2B4FC15B002CCEB2 /* Preview Content */, + B4468A122B4FC24A002CCEB2 /* Preview Content */, + B4468A662B4FC286002CCEB2 /* Assets.xcassets */, ); path = "DarockBili Watch App"; sourceTree = ""; }; - B44689DB2B4FC15B002CCEB2 /* Preview Content */ = { - isa = PBXGroup; - children = ( - ); - path = "Preview Content"; - sourceTree = ""; - }; B44689E72B4FC249002CCEB2 /* Errors */ = { isa = PBXGroup; children = ( @@ -382,13 +369,13 @@ B4468A172B4FC24A002CCEB2 /* Others */ = { isa = PBXGroup; children = ( + B4468A212B4FC24A002CCEB2 /* CCodes */, + B4468A1C2B4FC24A002CCEB2 /* Skins */, B4468A182B4FC24A002CCEB2 /* AboutView.swift */, B4468A192B4FC24A002CCEB2 /* FirstUsingView.swift */, B4468A1A2B4FC24A002CCEB2 /* SettingsView.swift */, B4468A1B2B4FC24A002CCEB2 /* LoginView.swift */, - B4468A1C2B4FC24A002CCEB2 /* Skins */, B4468A202B4FC24A002CCEB2 /* NoticeView.swift */, - B4468A212B4FC24A002CCEB2 /* CCodes */, ); path = Others; sourceTree = ""; @@ -417,8 +404,8 @@ B4468A262B4FC24A002CCEB2 /* PersonalCenter */ = { isa = PBXGroup; children = ( - B4468A272B4FC24A002CCEB2 /* DownloadsView.swift */, B4468A282B4FC24A002CCEB2 /* bMessage */, + B4468A272B4FC24A002CCEB2 /* DownloadsView.swift */, B4468A2A2B4FC24A002CCEB2 /* PersonAccountView.swift */, B4468A2B2B4FC24A002CCEB2 /* FavoriteView.swift */, B4468A2C2B4FC24A002CCEB2 /* FollowListView.swift */, @@ -438,14 +425,6 @@ path = bMessage; sourceTree = ""; }; - B4468A682B4FC2A4002CCEB2 /* Preview Content */ = { - isa = PBXGroup; - children = ( - B4468A692B4FC2A4002CCEB2 /* Preview Assets.xcassets */, - ); - path = "Preview Content"; - sourceTree = ""; - }; B4468A902B4FC8B7002CCEB2 /* Frameworks */ = { isa = PBXGroup; children = ( @@ -586,12 +565,9 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - B4468A522B4FC24A002CCEB2 /* Search_With_UP_V2.json in Resources */, B4468A502B4FC24A002CCEB2 /* Preview Assets.xcassets in Resources */, B4468A482B4FC24A002CCEB2 /* Localizable.xcstrings in Resources */, B4468A672B4FC286002CCEB2 /* Assets.xcassets in Resources */, - B4468A6A2B4FC2A4002CCEB2 /* Preview Assets.xcassets in Resources */, - B4468A512B4FC24A002CCEB2 /* Dynamic_Feed_All.json in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -675,6 +651,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"; @@ -704,6 +681,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; @@ -737,6 +715,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"; @@ -766,6 +745,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -798,9 +778,9 @@ ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "DarockBili-Watch-App-Info.plist"; + INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; INFOPLIST_KEY_WKWatchOnly = YES; - INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -830,9 +810,9 @@ ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = "DarockBili-Watch-App-Info.plist"; + INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; INFOPLIST_KEY_WKWatchOnly = YES; - INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/DarockBili.xcodeproj/xcshareddata/IDETemplateMacros.plist b/DarockBili.xcodeproj/xcshareddata/IDETemplateMacros.plist new file mode 100644 index 000000000..86913a093 --- /dev/null +++ b/DarockBili.xcodeproj/xcshareddata/IDETemplateMacros.plist @@ -0,0 +1,24 @@ + + + + + FILEHEADER + +// +// __FILENAME__ +// __TARGETNAME__ +// +// Created by __USERNAME__ on __DATE__. +// +//===----------------------------------------------------------------------===// +// +// This source file is part of the MeowBili open source project +// +// Copyright (c) 2023 Darock Studio and the MeowBili project authors +// Licensed under GNU General Public License v3 +// +// See https://darock.top/LICENSE.txt for license information +// +//===----------------------------------------------------------------------===// + + diff --git a/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili Watch App (Notification).xcscheme b/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili Watch App (Notification).xcscheme index 440689624..8bd39b8dc 100644 --- a/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili Watch App (Notification).xcscheme +++ b/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili Watch App (Notification).xcscheme @@ -1,6 +1,6 @@ @@ -28,7 +28,7 @@ buildForAnalyzing = "YES"> @@ -82,8 +82,8 @@ runnableDebuggingMode = "0"> @@ -100,8 +100,8 @@ runnableDebuggingMode = "0"> diff --git a/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili Watch App.xcscheme b/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili Watch App.xcscheme index fe3085c38..4f7f82569 100644 --- a/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili Watch App.xcscheme +++ b/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili Watch App.xcscheme @@ -1,6 +1,6 @@ @@ -28,7 +28,7 @@ buildForAnalyzing = "YES"> @@ -98,8 +98,8 @@ runnableDebuggingMode = "0"> @@ -115,8 +115,8 @@ runnableDebuggingMode = "0"> diff --git a/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili.xcscheme b/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili.xcscheme index 142c480e3..4c9164424 100644 --- a/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili.xcscheme +++ b/DarockBili.xcodeproj/xcshareddata/xcschemes/DarockBili.xcscheme @@ -1,6 +1,6 @@ @@ -43,7 +43,7 @@ runnableDebuggingMode = "0"> @@ -60,7 +60,7 @@ runnableDebuggingMode = "0"> diff --git a/DarockBili Watch App/JSONReturnExamples/Dynamic_Feed_All.json b/JSONReturnExamples/Dynamic_Feed_All.json similarity index 100% rename from DarockBili Watch App/JSONReturnExamples/Dynamic_Feed_All.json rename to JSONReturnExamples/Dynamic_Feed_All.json diff --git a/DarockBili Watch App/JSONReturnExamples/Search_With_UP_V2.json b/JSONReturnExamples/Search_With_UP_V2.json similarity index 100% rename from DarockBili Watch App/JSONReturnExamples/Search_With_UP_V2.json rename to JSONReturnExamples/Search_With_UP_V2.json