Граф коммитов

83 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge be8fcfb902
[system-dependencies] Unset 'IGNORE' variables when provisioning specific things. (#5829)
This makes it possible to pass '--ignore-all --provision-sharpie' to provision a single dependency.
2019-04-03 11:44:11 +02:00
Rolf Bjarne Kvinge 1a3a3fbade
Add tool to download and install simulators, and use it to provision the iOS 10.3 simulator if needed. Fixes maccore#1442. (#5645)
* [siminstaller] Added tool to install simulators from the command line.

* Auto-provision the iOS 10.3 simulator.
2019-02-22 10:39:16 +01:00
Vincent Dondain 2174ec41a2 Merge branch 'xcode10' 2018-09-18 14:12:39 -04:00
Rolf Bjarne Kvinge 0159abd45b
[system-dependencies] Use 'xcodebuild -runFirstLaunch' to install first-launch packages instead of manually installing each package. (#4707)
This is more future-proof, since the list of packages may change, or there may
be other tasks that need doing in addition to installing packages.

Fixes https://github.com/xamarin/maccore/issues/952.

This is a backport of the PRs #4662 and #4681.
2018-08-28 15:19:24 +02:00
Rolf Bjarne Kvinge 6c8847b863
[system-dependencies] Remove any cached files by xcodebuild before checking if first launch task needs executing. (#4681)
This is an additional fix for https://github.com/xamarin/maccore/issues/952.
2018-08-23 15:06:38 +02:00
Sebastien Pouliot d99be7a03e
Merge d15-8 into xcode 10 2018-08-21 09:29:35 -04:00
Rolf Bjarne Kvinge f9a3be16da
[system-dependencies] Use 'xcodebuild -runFirstLaunch' to install first-launch packages instead of manually installing each package. (#4662)
This is more future-proof, since the list of packages may change, or there may
be other tasks that need doing in addition to installing packages.

This might help/fix https://github.com/xamarin/maccore/issues/952.
2018-08-21 15:21:29 +02:00
Vincent Dondain eec95e881c Merge branch 'd15-8' into xcode10-rebase-15.8 2018-08-13 21:04:56 -04:00
Rolf Bjarne Kvinge fa39181181
[system-dependencies] Explain/document how to skip failing dependency checks by setting certain environment variables. (#4311) 2018-06-21 15:40:49 +02:00
Rolf Bjarne Kvinge e7125ac952 [system-dependencies] Fix Xcode provisioning. 2018-06-12 18:29:27 +02:00
Rolf Bjarne Kvinge b177455c99 [system-dependencies] Fix lookup of Xcode package in ~/Downloads. 2018-06-12 18:18:11 +02:00
Sebastien Pouliot 2d6ce7459d
Bump to use Xcode 10 beta 1 (#4179)
* Bump to use Xcode 10 beta 1

* Update Versions.plist

* Add a dependency on Xcode 9.4.

* [msbuild] Fix build with Xcode 10 beta 1. (#4182)

Many years ago (in Xcode 7 according to code comment)
Developer/Platforms/iPhoneOS.platform/Developer/usr disappeared, and we coped
by looking at Developer/usr instead (and also the subsequent code to locate
the bin directory was based on the location of the usr directory).

Developer/Platforms/iPhoneOS.platform/Developer/usr reappeared in Xcode 10
beta 1, but it seems useless (for one it doesn't contain a bin directory), so
in order to try to keep things sane don't look for this directory in Xcode 10
and instead go directly for Developer/usr (which is what we've been using as
the usr directory for years anyway).

Fixes this problem when building apps with Xcode 10 beta 1:

      /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(626,3): error : Could not locate SDK bin directory [/Users/rolf/Projects/TestApp/test-app.csproj]

* [runtime] Build 32-bit mac executables using Xcode 9.4.

* [mtouch] Work around broken tvOS headers in Xcode 10 beta 1.

* [mtouch] Work around build problem with Apple's simd headers in Objective-C++ mode.

* Use version-agnostic paths to sdk directories.

* [tests][xtro] Add todo files (from unclassified) and adjust ignore files to avoid errors

* [macos][security] Re-enable SSL[Get|Set]AlpnProtocols. Fixes #4001 (#4022)

* [macos][security] Re-enable SSL[Get}Set]AlpnProtocols. Fixes #4001

This was fixed in macOS 10.13.4

https://github.com/xamarin/xamarin-macios/issues/4001

* [tests][monotouch-tests] Disable a few test cases (one crasher, other failures). Causes to be verified later

* [xharness] Fix permission dialog suppression in Xcode 10.

* [xharness] Ignore 32-bit macOS tests by default.

* [tests] Execute mmp regression tests with Xcode 9.4 since many of them are 32-bit and needs porting to 64-bit.

* [mmptest] Ignore 32-bit XM tests if we don't have a 32-bit-capable Xcode.

* [registrar] Add workaround for broken headers in Xcode 10 beta 1 (radar 40824697).

* [mtouch] Restrict another workaround for an Xcode 10 beta 1 bug to a specific Xcode version to remove it asap.

* [tests] Fix some protocol changes (public or not) find by introspection tests

* [tests][intro] Fix DefaultCtorAllowed failures

* [Intents] Obsolete several Intents classes in watchOS.

Several existing Intents classes have been marked as unavailable in watchOS in
the headers in Xcode 10 beta 1, and corresponding tests are now failing.

So obsolete the managed wrapper types, and fix tests accordingly.

* Fix xtro wrt previous Ietents/intro changes

* [tests] Minor adjustments to mtouch tests to work with Xcode 10.

* [msbuild] Update tests to cope with additional files produced by the Core ML compiler.

* [msbuild] Xcode 10 doesn't support building watchOS 1 apps, so show a clear error message explaining it.

Also update tests accordingly.

* [coreimage] Stub new filters and exclude ?removed? ones from tests

* Update GameplayKit and SpriteKit NSSecureCoding _upgrade_ and fix other non-public cases (in tests)

* [tests] Ignore some GameKit selectors that don't respond anymore (but seems to be available, at least in header files)

* [tests] Fix intro 32bits testing for filters resutls

* [msbuild] Slightly change error message to be better English.
2018-06-08 18:45:24 -07:00
Bernhard Urban f5b860cf75 [system-dependencies] simplify mono version check (#3596) 2018-02-26 14:45:26 +01:00
Vincent Dondain 6e5ab47605
[system-dependencies] Provide sharpie url when warning about incorrect version (#3490) 2018-02-14 23:38:13 -05:00
Rolf Bjarne Kvinge 28673d3e31 Add Objective Sharpie 3.4 as an optional dependency, and add support for running xtro tests on wrench+jenkins. (#2887)
This will add Objective Sharpie as an optional dependency, only enforced if
actually trying to run the xtro tests.

The wrench/jenkins tests will show up as green for now (since there are known
failures in the xtro tests that have to be addressed first).
2017-10-17 12:03:50 +02:00
Sebastien Pouliot 05eb96d0a7 Merge branch 'xcode9' into xcode9-master-merge 2017-09-15 11:05:30 -04:00
Joseph Stroman 49fa0ca724 Merge pull request #2567 from joewstroman/vsts-sys-deps
[VSTS] Adding --no-sudo option in system-dependencies.sh

This PR also brings in the package step from the release-scripts makefile. This allows all the build tasks and scripts to be self-contained in one repo.
2017-08-30 14:38:50 -04:00
Joseph Stroman de498d4853 Add package task to make file and add no-sudo options to provision script 2017-08-29 17:33:43 -04:00
Rolf Bjarne Kvinge 247b03f905 [system-dependencies] Verify that Mono is in PATH. (#2389)
Many parts of the build requires this, so just make it explicit (and show a
helpful and obvious error message if the check fails).
2017-08-01 14:48:37 +02:00
Rolf Bjarne Kvinge 5e98e96fef [system-dependencies] Clear xcrun cache after switching system Xcode. (#2281)
It seems the xcrun cache can become corrupted when switching between betas, so
make sure to clear it when we change the system Xcode.
2017-07-03 07:16:02 +02:00
Rolf Bjarne Kvinge 033d156716 [system-dependencies] Check for Visual Studio instead of Xamarin Studio. (#1965) 2017-04-06 17:12:32 +02:00
Alan McGovern 834f3e3be5 [system-dependencies] Handle monos updateinfo (#1540)
Current mono master is versioned as `409001455` in it's updateinfo
which (technically) violates the format. Rewrite the parser to take
an arbitrary number of digits in the final slot instead of assuming
it's always going to be 3.

Now you can provision mono/master:
```
$ cat /Library/Frameworks/Mono.framework/Home/updateinfo
964ebddd-1ffe-47e7-8128-5ce17ffffb05 409001455

$ cat /Library/Frameworks/Mono.framework/Home/updateinfo | cut -d' ' -f2 | cut -c6- | awk '{print(int($0))}'
1455
```
2017-01-20 14:56:31 +01:00
Rolf Bjarne Kvinge 4e62423fcd [system-dependencies] Add support for installing Xcode's first-launch installs, and fix xip extraction. (#1041)
* [system-dependencies] Add support for installing Xcode's first-launch installs.

* [system-dependencies] Use the Archive Utility to extract Xcode xips.

Apple changed their format (again), so don't try to process the xip manually,
just invoke Apple's Archive Utility.

Another advantage is that the Archive Utility compresses the output (to about
half), saving multiple GB of hard disk space (from ~10 GB to ~5 GB).

* [system-dependencies] Add Xcode testing comment.

* [system-dependencies] Check if an Xcode package is in ~/Downloads, and if so use it.

This makes it easier to verify that provisioning works correctly whenever a new Xcode comes out.
2016-10-28 08:42:25 -04:00
Rolf Bjarne Kvinge 67afa7f528 [system-dependencies] Implement autoprovisioning for homebrew and autotools. (#994) 2016-10-20 10:32:40 +02:00
Rolf Bjarne Kvinge 66915a01c0 [system-dependencies] Add logic to auto-provision cmake. (#940) 2016-10-04 10:28:41 +02:00
Rolf Bjarne Kvinge 3f74be5a80 [system-dependencies] Add CMake dependency. (#920) 2016-09-30 15:46:40 -04:00
Rolf Bjarne Kvinge de980207c8 [tests] Add scripts to install system dependencies to the XM tests package. (#847)
* [system-dependencies] Add arguments to disable certain checks.

* [tests] Add scripts to install system dependencies to the XM tests package.
2016-09-19 10:02:10 -04:00
Rolf Bjarne Kvinge b886d18d98 [system-dependencies] Execute 'xcode-select' after installing Xcode. (#206)
Since otherwise we'd have to provision again to select the installed
Xcode.
2016-06-15 18:25:47 -07:00
Rolf Bjarne Kvinge 447c75ab2b [system-dependencies] Add support for provisioning Xcode as xip file. (#199) 2016-06-15 09:39:29 -07:00
Rolf Bjarne Kvinge 7890768bc0 [system-dependencies] Ensure xcode-select points to the Xcode we care about. (#53) 2016-05-16 08:13:55 -04:00
Rolf Bjarne Kvinge 01259ce9e3 Bump to mono 4.4 to get a 64-bit capable mono. (#39)
* [system-dependencies] Teach script about how to get the revision part of the mono version.

* Bump to mono 4.4 to get a 64-bit capable mono.

mdtool from Xamarin Studio 6.0 is a 64-bit process,
and thus requires a 64-bit capable system mono.
2016-05-11 10:14:52 -04:00
Rolf Bjarne Kvinge 8886384983 Give a better and more actionable error message than a failed download when trying to provision Xcode outside of build bots. (#14) 2016-04-28 15:06:12 -04:00
Rolf Bjarne Kvinge 566c8b1d98 Add a script / makefile target to verify the system and any required dependencies. 2016-04-24 14:47:24 -04:00