Xamarin-macios: [Xcode10.1]Could not get traitsetID for iPhone11,6 error while building with Xcode10.1 and new iOS device

Created on 31 Oct 2018  路  1Comment  路  Source: xamarin/xamarin-macios

Steps to Reproduce

  1. Install XI 12.1.0.15 and Xcode 10.1 (14460.46)
  2. Build a sample app or any unit test with Debug |iPhone config

Expected Behavior

App should build successfully

Actual Behavior

App fails to build with an error Could not get traitsetID for iPhone11,6. I checked this with a test sample in Xcode10.1 and the same error is issued as warning.

Environment

=== Visual Studio Enterprise 2017 for Mac ===

Version 7.6.11 (build 7)
Installation UUID: 74c37335-5878-4fa7-8f71-09bc48b661c5
Runtime:
    Mono 5.12.0.311 (2018-02/d01276bb36f) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)
    Xamarin.Mac 4.4.1.178 (master / eeaeb7e6)

    Package version: 512000311

=== NuGet ===

Version: 4.3.1.4445

=== .NET Core ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
    2.1.2
    2.1.1
    2.0.5
    2.0.0
    1.1.1
    1.0.4
SDK: /usr/local/share/dotnet/sdk/2.1.302/Sdks
SDK Versions:
    2.1.302
    2.1.301
    2.1.4
    2.0.0
    1.0.3
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.12.0/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

Version: 1.6.3
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 10.1 (14460.46)
Build 10B61

=== Xamarin.Mac ===

Version: 5.1.0.11 (Visual Studio Enterprise)
Hash: 3cf004f8
Branch: 
Build date: 2018-10-17 16:06:20-0400

=== Xamarin.iOS ===

Version: 12.1.0.15 (Visual Studio Enterprise)
Hash: cbfb047a
Branch: xcode10.1
Build date: 2018-10-30 22:57:23-0400

=== Xamarin.Android ===

Version: 9.1.0.33 (Visual Studio Enterprise)
Android SDK: Not found

=== Xamarin Inspector ===

Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1

=== Build Information ===

Release ID: 706110007
Git revision: 7cfeee47505f82c952b163c33955bda9677abad9
Build date: 2018-10-31 02:39:47+00
Build branch: release-7.6
Xamarin extensions: 1e753b6ebc205af7752ab947a5bfcd118cd66ca3

=== Operating System ===

Mac OS X 10.14.0
Darwin 18.0.0 Darwin Kernel Version 18.0.0
    Wed Aug 22 20:59:21 PDT 2018
    root:xnu-4903.201.2~4/RELEASE_X86_64 x86_64

=== Enabled user installed extensions ===

Gist Ide Information 1.1.0
Internet of Things (IoT) development (Preview) 7.5

Build Logs

Build Log: https://gist.github.com/GouriKumari/475d23f13e2b1176f01c46a3fe40567b

Example Project (If Possible)

I checked with a single view template project.

Additional Info:

This is occurring with new iOS device iPhoneXSMax. I didn't observe this issue with Xcode10.

bug iOS

Most helpful comment

Workaround

  • Open the Project Options dialog;
  • Disable the (checkbox) Enable device-specific builds;
  • Build again

>All comments

Workaround

  • Open the Project Options dialog;
  • Disable the (checkbox) Enable device-specific builds;
  • Build again
Was this page helpful?
0 / 5 - 0 ratings