Skip to content

Commit 8b1b167

Browse files
[v5] Resolve target membership issues after migrating to buildable folders (#3950)
1 parent 64239ea commit 8b1b167

33 files changed

Lines changed: 306 additions & 1396 deletions

File tree

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ Tests/
2727

2828
Use the closest folder’s patterns and conventions when editing.
2929

30+
### New files & target membership
31+
• When creating new source or resource files, add them to the correct Xcode target(s). Update the project (e.g. project.pbxproj) so each new file is included in the appropriate target’s “Compile Sources” (or “Copy Bundle Resources” for assets). Match the target(s) used by sibling files in the same directory (e.g. Sources/StreamChat/ → StreamChat target; Sources/StreamChatUI/ → StreamChatUI; Tests/StreamChatTests/ → StreamChatTests). Omitting target membership will cause build failures or unused files.
32+
3033
### Local setup (SPM)
3134
1. Open the repository root in Xcode (Package.swift is present), resolve packages.
3235
2. Select the intended scheme (see Schemes below), pick an iOS Simulator (e.g., iPhone 15), then Build.
@@ -121,6 +124,7 @@ Quick agent checklist (per commit)
121124
• Run swiftlint --strict
122125
• Update CHANGELOG and docs if public API changed
123126
• Add/adjust tests
127+
• Add correct target membership for any new files (project) when required
124128
• No new warnings
125129

126130
End of machine guidance. Edit this file to refine agent behavior over time; keep human-facing details in README.md and docs.

StreamChat.xcodeproj/project.pbxproj

Lines changed: 302 additions & 1396 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)