Skip to content

Commit bfc083e

Browse files
fix(mobile): build the terminal pod for arm64 simulators only
libghostty ships no x86_64 simulator slice. EAS builds the simulator client for the generic iOS Simulator destination, every architecture, and failed to resolve GhosttyKit. Local builds already pass ARCHS=arm64. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent acbc061 commit bfc083e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎apps/mobile/modules/t3-terminal/T3TerminalNative.podspec‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Pod::Spec.new do |s|
1414
s.source = { :path => '.' }
1515
s.source_files = 'ios/**/*.{h,m,mm,swift}'
1616
s.vendored_frameworks = 'Vendor/libghostty/GhosttyKit.xcframework'
17+
# libghostty has no x86_64 simulator slice, so a simulator build for every
18+
# architecture (EAS's generic destination) fails to resolve GhosttyKit.
19+
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
20+
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
1721
s.frameworks = 'IOSurface', 'Metal', 'MetalKit', 'QuartzCore', 'UIKit'
1822
s.libraries = 'c++', 'z'
1923
s.swift_version = '5.9'

0 commit comments

Comments
 (0)