From 3d194035399d7f8314be5ff917b6976e62c47830 Mon Sep 17 00:00:00 2001 From: CodeST <694468528@qq.com> Date: Mon, 9 Feb 2026 14:24:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CustomKeyboard/View/Chat/KBChatPanelView.m | 1 + .../CoreSimulator.com.apple.dt.xcodebuild.log | 42 ++++++++++++++++ ...-5595-43EC-B207-003BAB7870CE.xcactivitylog | Bin 783 -> 0 bytes ...-30E2-4820-98AE-0559FF9CB504.xcactivitylog | Bin 0 -> 664 bytes ...-0143-4FD7-90C7-C8F37E9F59D6.xcactivitylog | Bin 0 -> 760 bytes .../Logs/Package/LogStoreManifest.plist | 46 ++++++++++++++++-- .../AiTalk/V/PopView/KBAIPersonaSidebarView.m | 28 +++++++++++ 7 files changed, 112 insertions(+), 5 deletions(-) create mode 100644 Library/Logs/CoreSimulator/CoreSimulator.com.apple.dt.xcodebuild.log delete mode 100644 _DerivedData/Logs/Package/800731DD-5595-43EC-B207-003BAB7870CE.xcactivitylog create mode 100644 _DerivedData/Logs/Package/8E255990-30E2-4820-98AE-0559FF9CB504.xcactivitylog create mode 100644 _DerivedData/Logs/Package/C9B2536F-0143-4FD7-90C7-C8F37E9F59D6.xcactivitylog diff --git a/CustomKeyboard/View/Chat/KBChatPanelView.m b/CustomKeyboard/View/Chat/KBChatPanelView.m index a44d077..faf8fb2 100644 --- a/CustomKeyboard/View/Chat/KBChatPanelView.m +++ b/CustomKeyboard/View/Chat/KBChatPanelView.m @@ -318,6 +318,7 @@ static const NSUInteger kKBChatMessageLimit = 10; - (UILabel *)titleLabel { if (!_titleLabel) { _titleLabel = [[UILabel alloc] init]; + _titleLabel.hidden = true; _titleLabel.font = [UIFont systemFontOfSize:13 weight:UIFontWeightMedium]; _titleLabel.textColor = [UIColor kb_dynamicColorWithLightColor:[UIColor colorWithHex:0x1B1F1A] diff --git a/Library/Logs/CoreSimulator/CoreSimulator.com.apple.dt.xcodebuild.log b/Library/Logs/CoreSimulator/CoreSimulator.com.apple.dt.xcodebuild.log new file mode 100644 index 0000000..85f9f82 --- /dev/null +++ b/Library/Logs/CoreSimulator/CoreSimulator.com.apple.dt.xcodebuild.log @@ -0,0 +1,42 @@ +Feb 5 20:30:09 macbookpro com.apple.dt.xcodebuild[56551] : Unable to deliver request ({ + "developer_dir" = "/Applications/Xcode.app/Contents/Developer"; + request = "set_developer_dir"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:30:22 macbookpro com.apple.dt.xcodebuild[56567] : Unable to deliver request ({ + "developer_dir" = "/Applications/Xcode.app/Contents/Developer"; + request = "set_developer_dir"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Unable to deliver request ({ + "developer_dir" = "/Applications/Xcode.app/Contents/Developer"; + request = "set_developer_dir"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Unable to discover any Simulator runtimes. Developer Directory is /Applications/Xcode.app/Contents/Developer. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Could not kickstart simdiskimaged; SimDiskImageManager services will not be available: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply from CoreSimulatorService: Connection invalid} +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : simdiskimaged returned error (invalid), marking disconnected. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Could not get list of trusted mount directories: Error Domain=com.apple.CoreSimulator.SimError Code=410 "The service used to manage runtime disk images (simdiskimaged) crashed or is not responding" UserInfo={NSLocalizedDescription=The service used to manage runtime disk images (simdiskimaged) crashed or is not responding} +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : simdiskimaged returned error (invalid), marking disconnected. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Unable to deliver request ({ + request = "notification_subscription"; + "set_path" = "/Users/mac/Library/Developer/CoreSimulator/Devices"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:06 macbookpro com.apple.dt.xcodebuild[56684] : Unable to deliver request ({ + request = "notification_subscription"; + "set_path" = "/Users/mac/Library/Developer/CoreSimulator/Devices"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Unable to deliver request ({ + "developer_dir" = "/Applications/Xcode.app/Contents/Developer"; + request = "set_developer_dir"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Unable to discover any Simulator runtimes. Developer Directory is /Applications/Xcode.app/Contents/Developer. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Could not kickstart simdiskimaged; SimDiskImageManager services will not be available: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply from CoreSimulatorService: Connection invalid} +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : simdiskimaged returned error (invalid), marking disconnected. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Could not get list of trusted mount directories: Error Domain=com.apple.CoreSimulator.SimError Code=410 "The service used to manage runtime disk images (simdiskimaged) crashed or is not responding" UserInfo={NSLocalizedDescription=The service used to manage runtime disk images (simdiskimaged) crashed or is not responding} +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : simdiskimaged returned error (invalid), marking disconnected. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Unable to deliver request ({ + request = "notification_subscription"; + "set_path" = "/Users/mac/Library/Developer/CoreSimulator/Devices"; + }) because we are not connected to CoreSimulatorService. +Feb 5 20:31:55 macbookpro com.apple.dt.xcodebuild[56806] : Unable to deliver request ({ + request = "notification_subscription"; + "set_path" = "/Users/mac/Library/Developer/CoreSimulator/Devices"; + }) because we are not connected to CoreSimulatorService. diff --git a/_DerivedData/Logs/Package/800731DD-5595-43EC-B207-003BAB7870CE.xcactivitylog b/_DerivedData/Logs/Package/800731DD-5595-43EC-B207-003BAB7870CE.xcactivitylog deleted file mode 100644 index 9a843475c9fc4f4b71499e711e3792abe3284db2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 783 zcmV+q1MvJGiwFP!000006V+8qj@w2MJwfi!(7@0v++=^*Y^_H8C@?$$3{L`Nm7vvZ zN)1zNf*%<=fY&~NSKbF%#|JVD-y%(oY)CU6cm}o+gan9Uv8(FUdj;0j)!++>9lI+-l&k25XTJ6es+ttM5VPC~_sN|iWOoDI1 z06({?S>NSn0x?RDAW3}#BRQw>4U7l=p43~X)rj^0nqH7I&L0kXzK@R3WMO)}w)F~> zt=oWg-#6VX3|F>a56eKiO{kitGGX`9mOa$2s;=vHfj{z%;qg)v8Xapxk)g$r144+- z#@ib-nlOoo%qWF~W(cx;k-wXkc_2>#tW2Zdr~-?guivB?ZS=H;iX-+s@;XIT?Km}*Ux4XYFC$b zHMILN1GWRT>w(hRbe&yR2Doz35#Neti4x!<)au_pknX|N5Wsso5n?wMF>nl^a@ZKJCcx za~A7gZqiViD(liTfMZt+)RX*G&z=dvyP@E}%OLN)Zhkz4tGP@MG^XsK#&hv+ zT9W8e`(W!OY4)6GyInwN|1dSrQVHdKMP|Vd07@V6?IVPMY2tI9$>{C6zOLQ2em7zx zvemvuq7kWJsm+d*-fqAX8wiGw5*iOiw@|(z#?`@=IHxzxmYulJfU%2RH$0`K4Z5n_ zmaYTP8n*N{)9I@NI`H245n0!IUIA$xZtNPruxgywen%Fzf)V-DfY)82QAA7dXJuQ| zKvTsP8o*_bXGt1x(W6wb=xS>hEx}H1FrO#Wj+Ii@>mCdkM*AX+ zNa!M|aaDEOS|J`rg%Vs8aY1=H&1s@|PP2(%H0R?B&XYW4l3}*9SSHcnYXBbxD{Tfd zJMZ=|aDLgpNqhTlRs*zdVVCRuo^HHti8cnSVmlw4zd^R%ww*7pNoVG~>WoDnoFLJGeswvjA_D)37$EX)12k8N)%&p5#KC2Sd~qM ylu9ugv#Fp-h9^~J7gNd*EebWxB}-zqzu`N*2X{OvG~N*pT8N+(b6!t}W9RfBZZ0OBl*vM5pjLnvsuZ9S3#DbPs?|N4z~BimS8PC9 zX0kMh6ISg3_I89wgg&d)!v6XB`;Sjw?TZgzEB*VL^PXi{YaThPSup@j*-F-)ZX+n@-S1F#ZvbM|6xlij)pj(_l&%NhHv$YO zqG4dvzEgDEioV|j!`P?3i_AQTND4`kxG*Bffdo-EO=%qC;d(Oc?~3UVd#;~C2NBah q(e0mfP;94on~A+S4mRmFsJ{S?Ts(T}2mk11 logs - 800731DD-5595-43EC-B207-003BAB7870CE + 8E255990-30E2-4820-98AE-0559FF9CB504 className IDECommandLineBuildLog @@ -15,7 +15,7 @@ domainType Xcode.IDEActivityLogDomainType.BuildLog fileName - 800731DD-5595-43EC-B207-003BAB7870CE.xcactivitylog + 8E255990-30E2-4820-98AE-0559FF9CB504.xcactivitylog hasPrimaryLog primaryObservable @@ -34,13 +34,49 @@ signature Resolve Packages timeStartedRecording - 788359220.39837599 + 791987515.57282996 timeStoppedRecording - 788359220.51885402 + 791987515.86043 title Resolve Packages uniqueIdentifier - 800731DD-5595-43EC-B207-003BAB7870CE + 8E255990-30E2-4820-98AE-0559FF9CB504 + + C9B2536F-0143-4FD7-90C7-C8F37E9F59D6 + + className + IDECommandLineBuildLog + documentTypeString + <nil> + domainType + Xcode.IDEActivityLogDomainType.BuildLog + fileName + C9B2536F-0143-4FD7-90C7-C8F37E9F59D6.xcactivitylog + hasPrimaryLog + + primaryObservable + + highLevelStatus + E + totalNumberOfAnalyzerIssues + 0 + totalNumberOfErrors + 1 + totalNumberOfTestFailures + 0 + totalNumberOfWarnings + 3 + + signature + Resolve Packages + timeStartedRecording + 791987467.25816 + timeStoppedRecording + 791987467.36928797 + title + Resolve Packages + uniqueIdentifier + C9B2536F-0143-4FD7-90C7-C8F37E9F59D6 diff --git a/keyBoard/Class/AiTalk/V/PopView/KBAIPersonaSidebarView.m b/keyBoard/Class/AiTalk/V/PopView/KBAIPersonaSidebarView.m index aff8f43..0f7c62c 100644 --- a/keyBoard/Class/AiTalk/V/PopView/KBAIPersonaSidebarView.m +++ b/keyBoard/Class/AiTalk/V/PopView/KBAIPersonaSidebarView.m @@ -317,6 +317,34 @@ [self.tableView.mj_footer resetNoMoreData]; } +#pragma mark - UIView + +- (void)setHidden:(BOOL)hidden { + [super setHidden:hidden]; + if (hidden) { + [self kb_resetSearchState]; + } +} + +- (void)didMoveToWindow { + [super didMoveToWindow]; + if (self.window == nil) { + [self kb_resetSearchState]; + } +} + +#pragma mark - Private + +- (void)kb_resetSearchState { + if (self.searchField.text.length == 0 && !self.isShowingSearchResults) { + [self endEditing:YES]; + return; + } + self.searchField.text = @""; + [self endEditing:YES]; + [self hideSearchResults]; +} + #pragma mark - Search - (void)searchFieldChanged:(UITextField *)textField {