forked from facebook/buck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from SDMMobileDevice to FBSimulatorControl for iOS device inst…
…allation Summary: We currently use a third party helper program, SDMMobileDevice to handle the actual loading of the .app file to an iOS device. This has bit-rotted a bit and has issues with the latest MacOS and iOS versions. Switch to FBSimulatorControl (which also supports devices, despite the name). This is owned by us and actively maintained, unlike the former. Test Plan: With a wildcard provisioning profile installed, and a device connected: ``` ant test -Dtest.class=InstallCommandIntegrationTest ``` `DemoApp` should be built and installed on the device without any errors. Reviewed By: Coneko fbshipit-source-id: c3d7ff2
- Loading branch information
1 parent
8828f0e
commit d9fe768
Showing
17 changed files
with
35 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test/com/facebook/buck/cli/testdata/apple_app_bundle/.buckconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[cxx] | ||
default_platform = iphonesimulator-x86_64 | ||
[apple] | ||
device_helper_path = iOSConsole/iOSConsole | ||
device_helper_path = fbsimctl/fbsimctl |
16 changes: 16 additions & 0 deletions
16
test/com/facebook/buck/cli/testdata/apple_app_bundle/fbsimctl/README
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
README for fbsimctl | ||
===================== | ||
|
||
This test depends on having the fbsimctl binary and its supporting frameworks | ||
present in this directory. | ||
|
||
(We may eventually include this as source and build it with Xcode | ||
or Buck, but it would add a few minutes to every build.) | ||
|
||
Tested with: | ||
Project URL: https://github.com/facebook/FBSimulatorControl | ||
License: BSD | ||
Upstream Revision: 05dabaabef3c3f27ed792db328fcb62daa20d9d5 | ||
Built with Xcode 8.2.1 (8C1002) | ||
Built With: `build.sh fbsimctl build` |
12 changes: 0 additions & 12 deletions
12
test/com/facebook/buck/cli/testdata/apple_app_bundle/iOSConsole/LICENSE
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
test/com/facebook/buck/cli/testdata/apple_app_bundle/iOSConsole/README
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-329 KB
test/com/facebook/buck/cli/testdata/apple_app_bundle/iOSConsole/iOSConsole
Binary file not shown.
4 changes: 0 additions & 4 deletions
4
.../com/facebook/buck/cli/testdata/apple_app_bundle_with_device_helper_as_target/.buckconfig
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
...om/facebook/buck/cli/testdata/apple_app_bundle_with_device_helper_as_target/AppDelegate.m
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
...ook/buck/cli/testdata/apple_app_bundle_with_device_helper_as_target/AppViewController.xib
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
...com/facebook/buck/cli/testdata/apple_app_bundle_with_device_helper_as_target/BUCK.fixture
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
test/com/facebook/buck/cli/testdata/apple_app_bundle_with_device_helper_as_target/Info.plist
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...cebook/buck/cli/testdata/apple_app_bundle_with_device_helper_as_target/iOSConsole/LICENSE
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...acebook/buck/cli/testdata/apple_app_bundle_with_device_helper_as_target/iOSConsole/README
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-329 KB
...ook/buck/cli/testdata/apple_app_bundle_with_device_helper_as_target/iOSConsole/iOSConsole
Binary file not shown.