[SERVER-28004] Add SCons support for targeting iOS, tvOS, and associated simulators Created: 14/Feb/17 Updated: 27/Feb/18 Resolved: 15/Feb/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.4 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Platforms 2017-03-06 | ||||||||
| Participants: | |||||||||
| Description |
|
It should be possible for us to target not just macOS, but the other Darwin variants like iOS, tvOS, and the associated simulators. |
| Comments |
| Comment by Githook User [ 15/Feb/17 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: Use a SCons invocation like the following to attach to the correct SDK // macOS native build: // iOS Cross: // iOS Simulator Cross: // tvOS Cross: // tvOS Simulator Cross: To run the resulting binaries under the simulator, boot a particular > xcrun simctl boot 'Apple TV 1080p' Find the ID of the instance that was booted: > xcrun simctl list | grep 'Apple TV 1080p' And then spawn the intended binary inside the simulator with that ID: > xcrun simctl spawn CEEC6346-6D21-4092-A091-E5A3862A357F build/opt/mongo/mongod --dbpath=tmp |