Skip to content

Conversation

@alex-taffe
Copy link

@alex-taffe alex-taffe commented Nov 4, 2025

Motivation

I was receiving the following compile failure on FBControlCore in Xcode. This queue parameter is not used by the implementation at all, so I just removed the doc string

In file included from ./idb/FBControlCore/Applications/FBBundleDescriptor+Application.m:10:
./idb/FBControlCore/Utility/FBArchiveOperations.h:112:9: error: parameter 'queue' not found in the function declaration [-Werror,-Wdocumentation]
  112 |  @param queue the queue to do work on
      |         ^~~~~
1 error generated.

Test Plan

Open the FBSimulatorControl.xcodeproj and attempt to build FBControlCore.

Related PRs

N/A

@meta-cla
Copy link

meta-cla bot commented Nov 4, 2025

Hi @alex-taffe!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@alex-taffe
Copy link
Author

CLA signed

@meta-cla
Copy link

meta-cla bot commented Nov 4, 2025

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@meta-cla meta-cla bot added the CLA Signed label Nov 4, 2025
amilich added a commit to amilich/idb that referenced this pull request Dec 14, 2025
Two key fixes for idb_companion on macOS 12.1+:

1. FBSimulatorVideoStream.m: Don't require hardware-accelerated encoding for JPEG
   - The original code unconditionally required hardware acceleration on macOS 12.1+
   - JPEG encoding may not have hardware encoder support on all systems
   - This caused VTCompressionSessionCreate to fail with -12902 (kVTParameterErr)
   - Now only H.264 requires hardware acceleration; JPEG prefers but doesn't require it

2. FBXcodeConfiguration.m: Fall back to xcode-select -p for developer directory
   - The symlink at /var/db/xcode_select_link no longer exists on modern macOS
   - Now tries the symlink first, then falls back to running xcode-select -p

3. FBSimulatorControl.xcodeproj: Mark required headers as Public
   - FBSimulatorApplicationCommands.h and FBSimulatorFileCommands.h need to be public
   - Required for idb_companion to build against the framework

4. Applied fixes from upstream PRs facebook#889 and facebook#895 for compilation issues

These fixes enable MJPEG video streaming at ~30 FPS without requiring the
simulator window to be visible on screen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant