Skip to content

Clear Xcode DerivedData in setup-ios.sh#65

Merged
jappeace merged 2 commits intojappeace:masterfrom
jappeace-sloth:refactor/setup-ios-delete-emulator
Apr 18, 2026
Merged

Clear Xcode DerivedData in setup-ios.sh#65
jappeace merged 2 commits intojappeace:masterfrom
jappeace-sloth:refactor/setup-ios-delete-emulator

Conversation

@jappeace-sloth
Copy link
Copy Markdown

Summary

  • Clear Xcode's DerivedData cache for Hatter before regenerating the project
  • Fixes stale linker flags (like -lffi) persisting after hatter pin updates

Test plan

  • bash -n setup-ios.sh passes
  • Re-run setup-ios.sh → open Xcode → build for device → no "library 'ffi' not found"

🤖 Generated with Claude Code

jappeace-sloth and others added 2 commits April 18, 2026 21:52
Picks up the libffi static bundling fix (jappeace/hatter#206) which
resolves "library 'ffi' not found" when building for iOS device in
Xcode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Xcode caches build settings (including linker flags) in DerivedData.
When the project is regenerated with updated hatter, the stale cache
can still feed old flags like -lffi to the linker. Remove DerivedData
for Hatter before regenerating.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jappeace-sloth jappeace-sloth force-pushed the refactor/setup-ios-delete-emulator branch from c0b6642 to 5254570 Compare April 18, 2026 21:52
@jappeace jappeace merged commit 36da048 into jappeace:master Apr 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants