fix: migrate ios identifiers to openclawfoundation · openclaw/openclaw@1ffda5d
joshavant
·
2026-06-16
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4,11 +4,11 @@
|
4 | 4 | OPENCLAW_CODE_SIGN_STYLE = Automatic |
5 | 5 | OPENCLAW_DEVELOPMENT_TEAM = YOUR_TEAM_ID |
6 | 6 | |
7 | | -OPENCLAW_APP_BUNDLE_ID = ai.openclaw.client |
8 | | -OPENCLAW_SHARE_BUNDLE_ID = ai.openclaw.client.share |
9 | | -OPENCLAW_ACTIVITY_WIDGET_BUNDLE_ID = ai.openclaw.client.activitywidget |
10 | | -OPENCLAW_WATCH_APP_BUNDLE_ID = ai.openclaw.client.watchkitapp |
11 | | -OPENCLAW_WATCH_EXTENSION_BUNDLE_ID = ai.openclaw.client.watchkitapp.extension |
| 7 | +OPENCLAW_APP_BUNDLE_ID = ai.openclawfoundation.app |
| 8 | +OPENCLAW_SHARE_BUNDLE_ID = ai.openclawfoundation.app.share |
| 9 | +OPENCLAW_ACTIVITY_WIDGET_BUNDLE_ID = ai.openclawfoundation.app.activitywidget |
| 10 | +OPENCLAW_WATCH_APP_BUNDLE_ID = ai.openclawfoundation.app.watchkitapp |
| 11 | +OPENCLAW_WATCH_EXTENSION_BUNDLE_ID = ai.openclawfoundation.app.watchkitapp.extension |
12 | 12 | |
13 | 13 | // Leave empty with automatic signing. |
14 | 14 | OPENCLAW_APP_PROFILE = |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -61,7 +61,7 @@ Prereqs:
|
61 | 61 | Release behavior: |
62 | 62 | |
63 | 63 | - Local development uses the canonical `ai.openclawfoundation.app*` bundle IDs when the OpenClaw team is available, and unique `ai.openclawfoundation.app.test.*` bundle IDs only for non-canonical fallback teams. |
64 | | -- Beta release uses canonical `ai.openclaw.client*` bundle IDs through a temporary generated xcconfig in `apps/ios/build/BetaRelease.xcconfig`. |
| 64 | +- Beta release uses canonical `ai.openclawfoundation.app*` bundle IDs through a temporary generated xcconfig in `apps/ios/build/BetaRelease.xcconfig`. |
65 | 65 | - Beta release also switches the app to `OpenClawPushTransport=relay`, `OpenClawPushDistribution=official`, and `OpenClawPushAPNsEnvironment=production`. |
66 | 66 | - The beta flow does not modify `apps/ios/.local-signing.xcconfig` or `apps/ios/LocalSigning.xcconfig`. |
67 | 67 | - `apps/ios/version.json` is the pinned iOS release version source. |
@@ -319,7 +319,7 @@ Automatic wake/reconnect hardening:
|
319 | 319 | 5. If network path is unclear: |
320 | 320 | - switch to manual host/port + TLS in Gateway Advanced settings |
321 | 321 | 6. In Xcode console, filter for subsystem/category signals: |
322 | | -- `ai.openclaw.ios` |
| 322 | +- `ai.openclawfoundation.app` |
323 | 323 | - `GatewayDiag` |
324 | 324 | - `APNs registration failed` |
325 | 325 | 7. Validate background expectations: |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -5,7 +5,7 @@ import OpenClawProtocol
|
5 | 5 | import OSLog |
6 | 6 | |
7 | 7 | struct IOSGatewayChatTransport: OpenClawChatTransport { |
8 | | -static let logger = Logger(subsystem: "ai.openclaw", category: "ios.chat.transport") |
| 8 | +static let logger = Logger(subsystem: "ai.openclawfoundation.app", category: "ios.chat.transport") |
9 | 9 | static let defaultChatSendTimeoutMs = 30000 |
10 | 10 | private let gateway: GatewayNodeSession |
11 | 11 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2,9 +2,9 @@ import Foundation
|
2 | 2 | import os |
3 | 3 | |
4 | 4 | enum GatewaySettingsStore { |
5 | | -private static let gatewayService = "ai.openclaw.gateway" |
6 | | -private static let nodeService = "ai.openclaw.node" |
7 | | -private static let talkService = "ai.openclaw.talk" |
| 5 | +private static let gatewayService = "ai.openclawfoundation.app.gateway" |
| 6 | +private static let nodeService = "ai.openclawfoundation.app.node" |
| 7 | +private static let talkService = "ai.openclawfoundation.app.talk" |
8 | 8 | |
9 | 9 | private static let instanceIdDefaultsKey = "node.instanceId" |
10 | 10 | private static let preferredGatewayStableIDDefaultsKey = "gateway.preferredStableID" |
@@ -444,7 +444,7 @@ enum GatewaySettingsStore {
|
444 | 444 | |
445 | 445 | enum GatewayDiagnostics { |
446 | 446 | private static let logger = Logger(subsystem: "ai.openclawfoundation.app", category: "GatewayDiag") |
447 | | -private static let queue = DispatchQueue(label: "ai.openclaw.gateway.diagnostics") |
| 447 | +private static let queue = DispatchQueue(label: "ai.openclawfoundation.app.gateway.diagnostics") |
448 | 448 | private static let maxLogBytes: Int64 = 512 * 1024 |
449 | 449 | private static let keepLogBytes: Int64 = 256 * 1024 |
450 | 450 | private static let logSizeCheckEveryWrites = 50 |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -13,7 +13,7 @@ private struct StoredPushRelayRegistrationState: Codable {
|
13 | 13 | } |
14 | 14 | |
15 | 15 | enum PushRelayRegistrationStore { |
16 | | -private static let service = "ai.openclaw.pushrelay" |
| 16 | +private static let service = "ai.openclawfoundation.app.pushrelay" |
17 | 17 | private static let registrationStateAccount = "registration-state" |
18 | 18 | private static let appAttestKeyIDAccount = "app-attest-key-id" |
19 | 19 | private static let appAttestedKeyIDAccount = "app-attested-key-id" |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -56,7 +56,7 @@ final class ScreenRecordService: @unchecked Sendable {
|
56 | 56 | outPath: outPath) |
57 | 57 | |
58 | 58 | let state = CaptureState() |
59 | | -let recordQueue = DispatchQueue(label: "ai.openclaw.screenrecord") |
| 59 | +let recordQueue = DispatchQueue(label: "ai.openclawfoundation.app.screenrecord") |
60 | 60 | |
61 | 61 | try await self.startCapture(state: state, config: config, recordQueue: recordQueue) |
62 | 62 | try await Task.sleep(nanoseconds: UInt64(config.durationMs) * 1_000_000) |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -26,7 +26,7 @@ private func sendReachableWatchMessage(_ payload: [String: Any], with session: W
|
26 | 26 | } |
27 | 27 | |
28 | 28 | final class WatchConnectivityTransport: NSObject, @unchecked Sendable { |
29 | | -private nonisolated static let logger = Logger(subsystem: "ai.openclaw", category: "watch.messaging") |
| 29 | +private nonisolated static let logger = Logger(subsystem: "ai.openclawfoundation.app", category: "watch.messaging") |
30 | 30 | |
31 | 31 | private let session: WCSession? |
32 | 32 | private let callbacksLock = NSLock() |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -121,7 +121,7 @@ final class RealtimeTalkRelaySession {
|
121 | 121 | private let gateway: GatewayNodeSession |
122 | 122 | private let options: Options |
123 | 123 | private let pcmPlayer: PCMStreamingAudioPlaying |
124 | | -private let logger = Logger(subsystem: "ai.openclaw", category: "RealtimeTalkRelay") |
| 124 | +private let logger = Logger(subsystem: "ai.openclawfoundation.app", category: "RealtimeTalkRelay") |
125 | 125 | private let onStatus: (String) -> Void |
126 | 126 | private let onIssue: (TalkRuntimeIssue) -> Void |
127 | 127 | private let onSpeakingChanged: (Bool) -> Void |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -170,7 +170,7 @@ final class TalkModeManager: NSObject {
|
170 | 170 | private var incrementalSpeechPrefetch: IncrementalSpeechPrefetchState? |
171 | 171 | private var incrementalSpeechPrefetchMonitorTask: Task<Void, Never>? |
172 | 172 | |
173 | | -private let logger = Logger(subsystem: "ai.openclaw", category: "TalkMode") |
| 173 | +private let logger = Logger(subsystem: "ai.openclawfoundation.app", category: "TalkMode") |
174 | 174 | |
175 | 175 | private static func nowSeconds() -> TimeInterval { |
176 | 176 | ProcessInfo.processInfo.systemUptime |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -17,7 +17,7 @@ protocol TalkRealtimeWebRTCSessionDelegate: AnyObject {
|
17 | 17 | |
18 | 18 | @MainActor |
19 | 19 | final class TalkRealtimeWebRTCSession: NSObject { |
20 | | -private static let logger = Logger(subsystem: "ai.openclaw", category: "TalkRealtimeWebRTC") |
| 20 | +private static let logger = Logger(subsystem: "ai.openclawfoundation.app", category: "TalkRealtimeWebRTC") |
21 | 21 | private static let consultToolName = "openclaw_agent_consult" |
22 | 22 | private static let controlToolName = "openclaw_agent_control" |
23 | 23 | private static let defaultOfferURL = "https://api.openai.com/v1/realtime/calls" |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。