This repository has been archived by the owner on Jan 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Duplicate symbols when installed via Homebrew #1
Comments
plu
pushed a commit
that referenced
this issue
Dec 1, 2016
Summary: `FBControlCore` has some provisional Framework Version build settings enabled and is the only of the 4 Objective-C Frameworks to do so. `XCTestBootstrap` does not have versioning, but is embedded in both `FBSimulatorControl` and `FBDeviceControl` just like `FBControlCore` is. This poses a problem when `FBSimulatorControl` and `FBDeviceControl` are both loaded into the same process: 1) `fbsimctl` loads `FBSimulatorControl`, `dyld` loads the Frameworks in `FBSimulatorControl.framework/Frameworks` of `FBControlCore` & `XCTestBootstrap`. 2) `fbsimctl` loads `FBDeviceControl`, `dyld` loads the the Frameworks in `FBDeviceControl.framework/Frameworks`. 3) `FBControlCore` is not loaded as it has the same Framework version as was loaded in #1 4) `XCTestBootstrap` is loaded *again* since it has no versioning information 5) `dyld` complains about duplicate symbols at runtime. Adding Versioning to `XCTestBootstrap` has the effect that `dyld` will be smart enough to not complain about duplicate symbols in `XCTestBootstrap`. This means that we can keep `FBSimulatorControl` as being completly (and independently) redistributable as a Framework as it will continue to bundle its dependencies, but also prevent runtime duplicate symbols. Reviewed By: marekcirkos Differential Revision: D3533943 fbshipit-source-id: bf9bc7562a1a4a6275d6d6089bf2da4825c9637e
plu
pushed a commit
that referenced
this issue
Dec 1, 2016
Summary: As I've been working on the e2e cli test suite, I've seen that there are issues with the way that the CLI Parses compound commands, which means that the parsing can terminate early and not parse the entire string. I think this highlights the folly in 'implicit' chaining of compound commands. For example, ``` list boot listen --http 1000 shutdown ``` Should result in the same parsed command as with dash-separated compound commands: ``` list -- boot -- listen --http 1000 -- shutdown ``` But it does not, as the dash separated style will bail out in parsing halfway through and provided a half-parsed result. I want to correct the existing behaviour, then remove 'implicit' parsing: 1) Introduce tests (and fixes) for dash-separated compound commands 2) Make parsing of compound commands 'strict'. This means that `list -- boot ThisIsABadArgument` should fail to parse instead of just parsing `list` and then continuing. This is important as this can result in very surprising behaviour otherwise. 3) Update any documentation and dependencies to use the new dash-separation of compound commands. 4) Remove the behaviour for implicit chaining of compound commands. Iinvert the tests so that dash-separation succeeds to parse, implicit chaining fails. This diff does #1 and #2 in unison, since only doing #1 without #2 results in a very confusing parser. Reviewed By: asm89 Differential Revision: D3592485 fbshipit-source-id: 00d3164c921082638d65076329b117c19ee57bf8
plu
pushed a commit
that referenced
this issue
Dec 1, 2016
Summary: There is one very subtle case that will cause the 'unclaimed' (read Xcode-launched) Application fetching will fail: 1) Boot a Simulator via conventional means like via Xcode or an alias to the `Simulator.app` 2) Boot another Simulator.app via `fbsimctl` 3) `fbsimctl shutdown` will properly kill the sim from #1 but not #2 This is because the booting of #2 overwrites the `NSUserDefaults` from #1 so the 'unclaimed' simulator container app doesn't correlate. The check for the UDID in the `NSUserDefaults` is unecessary since we can reasonably assume if there is one more Simulator app that is unclaimed this must be the sole remaining Simulator.app for the `launchd_sim`. Reviewed By: marekcirkos Differential Revision: D3811248 fbshipit-source-id: e9f0fb97c8370f5966f191eebbd246f61ec722b5
I'm still seeing this with pxctest, even when using |
I just installed using
and still seeing:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: