From a09c5f646148893c757d421ac25e44572732841e Mon Sep 17 00:00:00 2001 From: jack Date: Tue, 22 Jul 2025 11:43:43 +0200 Subject: [PATCH] Remove CONSOLE_WARNINGS.md --- CONSOLE_WARNINGS.md | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 CONSOLE_WARNINGS.md diff --git a/CONSOLE_WARNINGS.md b/CONSOLE_WARNINGS.md deleted file mode 100644 index c3d04fc0..00000000 --- a/CONSOLE_WARNINGS.md +++ /dev/null @@ -1,41 +0,0 @@ -# Console Warnings Explanation - -## Benign System Warnings - -When running BitChat, you may see these warnings in the console. They are **harmless** and don't indicate any problems: - -### 1. CFPrefsPlistSource Warning - -``` -Couldn't read values in CFPrefsPlistSource<0x...> (Domain: group.chat.bitchat, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd -``` - -**What it means**: This is a known Apple framework issue when using `UserDefaults` with app groups. The warning appears when the app shares data between the main app and the share extension. - -**Impact**: None. App groups work correctly despite this warning. - -**Can it be fixed?**: No. This is an Apple bug that has existed since iOS 8 and affects many production apps. - -### 2. Failed to get or decode unavailable reasons - -``` -Failed to get or decode unavailable reasons -``` - -**What it means**: CoreBluetooth is checking why Bluetooth might be unavailable (airplane mode, Bluetooth off, etc.). - -**Impact**: None. This is normal CoreBluetooth behavior. - -**Can it be fixed?**: No. This is standard system behavior. - -## Reducing Console Noise - -If these warnings bother you during development: - -1. In Xcode, edit your scheme -2. Add environment variable: `OS_ACTIVITY_MODE = disable` -3. Note: This will hide ALL system messages, not just these warnings - -## Summary - -These warnings are cosmetic issues in Apple's frameworks and don't affect the app's functionality. Many production iOS apps display similar warnings when using app groups or Bluetooth. \ No newline at end of file