Install
openclaw skills install iosBuild, test, and ship iOS apps with Swift, Xcode, and App Store best practices.
openclaw skills install iosxcodebuild -showsdks lists available SDKs — useful when builds fail with "SDK not found"@State for view-local data, @StateObject for owned ObservableObjects, @ObservedObject for passed-in objects — mixing them wrong causes crashes or lost stateList with id: \.self on non-Hashable types causes silent failures — always use explicit id parameter with stable identifierstask modifier cancels automatically on view disappear — no manual cancellation needed, but check Task.isCancelled in loops@Environment values are nil in previews unless explicitly provided — wrap previews in container with environment setITSAppUsesNonExemptEncryption = NO avoids export compliance questions for most apps — add it to skip the daily annoyanceLSApplicationQueriesSchemes must list URL schemes before canOpenURL works — iOS 9+ security requirementUIRequiresFullScreen = YES on iPad opts out of multitasking — use only if your app truly can't support split viewInstruments > Time Profiler reveals actual bottlenecks — don't guess, measure@MainActor annotation ensures UI updates happen on main thread — missing it causes random crashes under load[weak self] in escaping closures that reference selfList with thousands of items is fast, ForEach in ScrollView is not — List uses cell reuse, ScrollView loads everythingpo in LLDB prints object description, p prints raw value — use po for most debugging-com.apple.CoreData.SQLDebug 1 in launch arguments shows all Core Data queries — essential for debugging fetch performance