Bug 59523 - Deployment using to iOS11 using Beta is returning error messae
Summary: Deployment using to iOS11 using Beta is returning error messae
Status: RESOLVED ANSWERED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 10.99 (xcode9)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Xcode9
Assignee: Bugzilla
URL:
: 59348 ()
Depends on:
Blocks:
 
Reported: 2017-09-15 15:29 UTC by ismail.akbulut
Modified: 2017-09-18 15:30 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Log (3.96 MB, text/rtf)
2017-09-15 17:17 UTC, ismail.akbulut
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED ANSWERED

Description ismail.akbulut 2017-09-15 15:29:47 UTC
When I try to deploy my app using Visual Studio for Mac to a iOS golden master device I am getting following error.

/MTOUCH: Error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com (MT4109) 

Here is the full output:

process exited with code 1, command:
    /ipad4.2-11.0/mtouch-cache/registrar.m
    In file included from ipad4.2-11.0/mtouch-cache/registrar.m:3:
    pad4.2-11.0/mtouch-cache/registrar.h:16:9: fatal error: 'QuartzCore/CAEmitterBehavior.h' file not found
    #import <QuartzCore/CAEmitterBehavior.h>
Comment 1 ismail.akbulut 2017-09-15 15:48:25 UTC
we are using iOS11 golden master, Visual Studio Beta to XCode 9
Comment 2 Alex Soto [MSFT] 2017-09-15 16:14:00 UTC
Seems that you could be using the Xcode 9 GM with the stable version of Xamarin.iOS, but the stable version of Xamarin.iOS does not support the Xcode 9 GM.

We have a preview release with Xcode 9 GM support here: https://releases.xamarin.com/preview-xcode-9-gm-ios-11-support-preview-9/

Or if you want to get our latest Xcode 9 GM work you can find it here.
https://jenkins.mono-project.com/view/Xamarin.MaciOS/job/xamarin-macios-builds-xcode9/

-----

If this does not fix your issue please feel free to reopen this bug report with the following information:

Please include your full build logs, crash reports (if any), a test case (to reproduce) and all version information.

To get full build logs just set the log verbosity to diagnostic at the following locations:
- On Visual Studio for Mac: Preferences > Projects > Build
- On Visual Studio for Windows: Tools > Options > Projects and Solutions > Build and Run

On Visual Studio Windows you also want to add `-v -v -v -v` to the mtouch additional arguments by right-clicking the project in the solution explorer and selecting `Properties`.
Note: this is done automatically on Visual Studio for Mac when the log verbosity is set to diagnostic.

The easiest way to get exact version information:
- On Visual Studio for Mac: "Visual Studio" menu, "About Visual Studio" item, "Show Details" button.
- On Visual Studio for Windows: "Help menu", "About Microsoft Visual Studio" item.
Then copy/paste the version information (you can use the "Copy Information" button).
Comment 3 ismail.akbulut 2017-09-15 17:17:58 UTC
Created attachment 24782 [details]
Log
Comment 4 ismail.akbulut 2017-09-15 17:19:12 UTC
I am using Visual Studio for Mac with Beta Channel pointing to XCode GM 9.0

Please see previous attachment with error log.

=== Visual Studio Community 2017 for Mac (Preview) ===

Version 7.2 Preview (7.2 build 583)
Installation UUID: 17fac46e-7f92-4d1e-a9fe-78ea625cc170
Runtime:
	Mono 5.4.0.174 (2017-06/1afb931de69) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 504000174

=== NuGet ===

Version: 4.3.0.4199

=== .NET Core ===

Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

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

=== Apple Developer Tools ===

Xcode 9.0 (13247)
Build 9A235

=== Xamarin.iOS ===

Version: 10.14.0.26 (Visual Studio Community)
Hash: 416f778f
Branch: d15-4
Build date: 2017-08-25 17:30:05-0400

=== Xamarin.Android ===

Version: 7.5.0.15 (Visual Studio Community)
Android SDK: /Users/akbuluti/Library/Android/sdk
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 25.1.2
SDK Platform Tools Version: 24.0.0
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Inspector ===

Version: 1.3.0
Hash: 8c298a5
Branch: 1.3-release
Build date: Thu, 14 Sep 2017 21:21:26 GMT
Client compatibility: 1

=== Xamarin.Mac ===

Version: 3.8.0.26 (Visual Studio Community)

=== Build Information ===

Release ID: 702000583
Git revision: 861d3eb8f64655762b85235dde49874645208f51
Build date: 2017-09-05 15:23:48-04
Xamarin addins: 838dc0d12bdbb0407ea44b7bfd11fbe30ddac07b
Build lane: monodevelop-lion-d15-4

=== Operating System ===

Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
    Thu Jun 15 17:36:27 PDT 2017
    root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
Comment 5 Alex Soto [MSFT] 2017-09-15 17:22:05 UTC
You are using the following Xamarin.iOS 

=== Xamarin.iOS ===

Version: 10.14.0.26 (Visual Studio Community)
Hash: 416f778f
Branch: d15-4
Build date: 2017-08-25 17:30:05-0400

Which does not include Xcode 9 support yet, you will need Xamarin.iOS 10.99.8.24 or greater that can be found here:

We have a preview release with Xcode 9 GM support here: https://releases.xamarin.com/preview-xcode-9-gm-ios-11-support-preview-9/

Or if you want to get our latest Xcode 9 GM work you can find it here.
https://jenkins.mono-project.com/view/Xamarin.MaciOS/job/xamarin-macios-builds-xcode9/
Comment 6 Alex Soto [MSFT] 2017-09-18 15:30:52 UTC
*** Bug 59348 has been marked as a duplicate of this bug. ***