Bug 44674 - Xamarin.iOS.Common.targets (_CoreCompileInterfaceDefinitions target) storyboardc blank error
Summary: Xamarin.iOS.Common.targets (_CoreCompileInterfaceDefinitions target) storyboa...
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: XI 10.0 (iOS10)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-23 09:54 UTC by Adam Hartley [MSFT]
Modified: 2016-11-14 17:18 UTC (History)
11 users (show)

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

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 FIXED

Description Adam Hartley [MSFT] 2016-09-23 09:54:39 UTC
## Steps to reproduce

Download and build the attached sample (see next private comment). Tested with building for iPhone SE 10.0 simulator.

## Expected result

No build error

## Actual result

Errors:

/Users/Adam/Downloads/PestPacMobile3-dev/PP.Mobile.IOS/PP.Mobile.IOS.csproj (Build) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets (_CoreCompileInterfaceDefinitions target) ->

	obj/iPhoneSimulator/Debug/ibtool/AppointmentDetailTVC.storyboardc: error : 

Verbose log: https://gist.github.com/BytesGuy/99d8361f5feabc4c1d2ee4c716a8c2f3

## Notes

Version info

=== Xamarin Studio Enterprise ===

Version 6.1 (build 5441)
Installation UUID: ad66a985-3d32-4bb5-935b-a2e10c4f0de0
Runtime:
	Mono 4.6.0 (mono-4.6.0-branch/746756c) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 406000245

=== NuGet ===

Version: 3.4.3.0

=== Xamarin.Profiler ===

Not Installed

=== Xamarin.Android ===

Version: 7.0.0.18 (Visual Studio Enterprise)
Android SDK: /Users/Adam/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		5.0 (API level 21)
		5.1 (API level 22)
		6.0 (API level 23)
		7.0 (API level 24)

SDK Tools Version: 25.2.2
SDK Platform Tools Version: 24.0.3
SDK Build Tools Version: 24.0.1

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

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

=== Xamarin Android Player ===

Not Installed

=== Apple Developer Tools ===

Xcode 8.0 (11246)
Build 8A218a

=== Xamarin.iOS ===

Version: 10.0.0.6 (Visual Studio Enterprise)
Hash: 6c3fee4
Branch: xcode8
Build date: 2016-09-09 13:01:32-0400

=== Xamarin.Mac ===

Version: 2.10.0.99 (Visual Studio Enterprise)

=== Build Information ===

Release ID: 601005441
Git revision: 68292d1ab289911c815ddc715dd7cc29a9752f9f
Build date: 2016-09-09 04:43:23-04
Xamarin addins: ed25d008672663eeb9db55f1ccecb3c24d2fd3b2
Build lane: monodevelop-lion-cycle8

=== Operating System ===

Mac OS X 10.12.0
Darwin Adams-Retina-MacBook-Pro.local 16.0.0 Darwin Kernel Version 16.0.0
    Mon Aug 29 17:56:20 PDT 2016
    root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64
Comment 2 Alex Soto [MSFT] 2016-09-26 08:06:52 UTC
It seems that there is a missing Storyboard in the project, the error is

"Did not find storyboard named "NoteCodeTVC" referenced from TechNotes.storyboard"

So they have to either add it again or remove any reference to it.

Please let us know if this solves the issue!

Cheers!
Comment 3 Bule 2016-09-26 09:15:48 UTC
Hi Alex,
thanks for help, I have just followed your instructions:
- I removed all the references of NoteCodeTVC from the project.

Just for your informations I removed the reference from:
- TechNotes.storyboard
- Main.storyboard
- AppointmentDetailTVC.storyboard

but the problem still remains.
Comment 4 Bule 2016-10-20 07:33:22 UTC
Hi All, any news about this?
we are still stick with the previous updated, because we can't build our project using the latest update.

Thanks for help
Comment 6 Alex Soto [MSFT] 2016-11-01 06:08:25 UTC
For some reason my last Friday's response did not make it here bah...

@Bule It seems there is still some missing references in there:

Did not find view controller with identifier "MaterialDetailVC" in ActivitiesContainerVC.storyboard, referenced from AppointmentDetailTVC.storyboard

you can get ibtool command that we use by adding -v -v -v -v to additional mtouch arguments in project build options and use it on the cmd line, the ibtool command is found after the following text

		Tool /Applications/Xcode81.app/Contents/Developer/usr/bin/ibtool execution started with arguments: --errors --warnings --notices --output-format xml1 --minimum-deployment-target 8.0 --target-device iphone --target-device ipad --auto-activate-custom-fonts --sdk foo.storyboard bar.storyboard etc.storyboard

if you use this command in the terminal you should be able to get the ibtool error.
Comment 7 Alex Soto [MSFT] 2016-11-01 06:13:21 UTC
@Jeff @Vincent, do you guys happen to know if this is a known issue? The following output from ibtool isn't being presented in XS anywhere

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.ibtool.errors</key>
	<array>
		<dict>
			<key>description</key>
			<string>Did not find view controller with identifier "Foo" in Bar.storyboard, referenced from Bar.storyboard</string>
		</dict>
	</array>
</dict>
</plist>

You guys can reproduce this by using the comment #5 project, adding -v -v -v -v to mtouch additional args and copy/pasting our ibtool command to cmd line. If you build on XS that project you just get a blank error.
Comment 8 Bule 2016-11-04 16:13:53 UTC
Thanks a lot, using the command line I was able to find all the errors and now everything is working.

So we can say that the bug is not related to the building process but to the fact that xamarin studio doesn't show the build error to me.
Comment 9 Alex Soto [MSFT] 2016-11-07 05:15:14 UTC
Hello, 

Yes I will move this to Xamarin Studio so they can have a look we should definitely be showing ibtool errors on XS
Comment 10 Jeffrey Stedfast 2016-11-14 17:18:40 UTC
https://github.com/xamarin/xamarin-macios/pull/1188