Skip to content

Make libimobiledevice optional when native crash detection is off#94

Merged
V3RON merged 4 commits intocallstackincubator:mainfrom
hannojg:codex/make-libimobiledevice-optional
Apr 2, 2026
Merged

Make libimobiledevice optional when native crash detection is off#94
V3RON merged 4 commits intocallstackincubator:mainfrom
hannojg:codex/make-libimobiledevice-optional

Conversation

@hannojg
Copy link
Copy Markdown
Contributor

@hannojg hannojg commented Apr 1, 2026

Summary

  • only require libimobiledevice for physical iOS runs when native crash detection is enabled
  • keep the current behavior when crash monitoring is on

Why

AWS Device Farm iOS hosts rely on devicectl but do not ship libimobiledevice. Physical-device runs can still work there as long as Harness is not trying to start the native crash monitor.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 1, 2026

@hannojg is attempting to deploy a commit to the Callstack Team on Vercel.

A member of the Team first needs to authorize it.

@V3RON V3RON marked this pull request as ready for review April 2, 2026 08:23
const harnessConfigWithoutNativeCrashDetection = {
metroPort: DEFAULT_METRO_PORT,
detectNativeCrashes: false,
} as HarnessConfig;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
} as HarnessConfig;
} satisfies HarnessConfig;

…device-optional

# Conflicts:
#	packages/platform-ios/src/__tests__/instance.test.ts

const harnessConfig = {
metroPort: DEFAULT_METRO_PORT,
} as HarnessConfig;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably better to do satisfies here too but not relevant for this PR now since it's already being set differently in the original code

@V3RON V3RON merged commit 1881792 into callstackincubator:main Apr 2, 2026
1 of 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.

3 participants