Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
While trying to get the tvos template building I hit the following compilation failure:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/TVOS/Xamarin.iOS.Common.targets: error : Tool exited with code: 1. Output: /Applications/Xcode7.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: object: /Users/kumpera/Projects/bitcode.me.up/bitcode.me.up/bin/iPhone/Release/bitcode.me.up.app/bitcode.me.up malformed object (unknown load command 9)
This was due to xcode-select pointing to Xcode 7 (and not 7.1 beta 3).
Other parts of the build process don't depend on its path to find the right tools to invoke.
I assume we want to make our toolchain independent of xcode-select. If that's the case, this is a bug.
Yes, other tools (from mtouch or msbuild) all respect XS settings - and `strip` should do the same.
Don't we just use /usr/bin/strip?
@Jeff, no (at least we should not). That can get you to the situation above (we have a similar issue with lipo in the past).
No, I'm saying the code *already* uses /usr/bin/strip
Author: Jeffrey Stedfast <email@example.com>
Date: Thu Oct 8 16:05:28 2015 -0400
[msbuild] Use the strip from within the configured Xcode.app bundle
Fixes bug #34687?
@Jeff thanks. My _at least we should not_ meant it is wrong (and it was not what mtouch was doing before) for the reason Rodrigo filed this bug report.
/usr/bin/strip is a small wrapper that calls the `strip` command from the `xcode-select`ed directory, which might not be the right one (as specified in XS preferences). If you select a newer Xcode (in XS) then the current `strip` (or other tools like `lipo`) might not understand the new formats.
Regression test added in:
Author: VincentDondain <firstname.lastname@example.org>
Date: Fri Apr 8 19:23:01 2016 +0100
[msbuild/tests] Add SymbolStripTaskTests