[tools] We must manually copy/lipo the executable into the app, it's not done automatically as it is for simulator builds.

This commit is contained in:
Rolf Bjarne Kvinge 2020-11-17 09:30:08 +01:00
Родитель 668fbd663e
Коммит 88b74704b0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1080,7 +1080,7 @@ namespace Xamarin.Bundler {
link_tasks.AddRange (target.NativeLink (build_tasks));
}
if (IsDeviceBuild) {
if (IsDeviceBuild || Platform == ApplePlatform.MacCatalyst) {
// If building for the simulator, the executable is written directly into the expected location within the .app, and no lipo/file copying is needed.
if (link_tasks.Count > 1) {
// If we have more than one executable, we must lipo them together.