Bug 30292 - Cannot build iOS solution in Xam Studio 5.9.1.3 STABLE
Summary: Cannot build iOS solution in Xam Studio 5.9.1.3 STABLE
Status: RESOLVED DUPLICATE of bug 30221
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: XI 8.10
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-05-21 02:26 UTC by praveen.jh@globallogic.com
Modified: 2015-05-21 03:29 UTC (History)
2 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 DUPLICATE of bug 30221

Description praveen.jh@globallogic.com 2015-05-21 02:26:45 UTC
Hi Xamarin Team,

Just updated to stables and now I cannot get a good build of my iOS solution. The same source works fine on Xam Studio 5.8.3, it's something with the new stables. The error is:

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: Error executing tool '/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool': Argument cannot be null.
Parameter name: unformatted (APDL.iOS)


Diagnostic Logs :
Project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" (Build target(s)):

Initial Properties:
__CF_USER_TEXT_ENCODING = 0x1F5:0x0:0x0
Apple_PubSub_Socket_Render = /private/tmp/com.apple.launchd.zI2mouGlnq/Render
AssemblyName = KastlePresenceIOS
BuildingInsideVisualStudio = true
CodesignKey = iPhone Developer: Firoz Khan (7WSAAFL9V3)
CodesignProvision = b743e4b7-a141-4531-b187-01b0fa26ba84
Configuration = Debug
ConsolePause = false
CurrentSolutionConfigurationContents = <SolutionConfiguration>
<ProjectConfiguration Project="{9FCCAAC1-E823-49FC-947C-255A2F37C0C2}" AbsolutePath="/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj">Debug|iPhone</ProjectConfiguration>
</SolutionConfiguration>
DebugSymbols = true
DebugType = full
DefineConstants = DEBUG;__MOBILE__;__IOS__;
DYLD_FALLBACK_LIBRARY_PATH = /Applications/Xamarin Studio.app/Contents/Resources/lib:/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/bin:/Library/Frameworks/Mono.framework/Versions/Current/lib:/lib:/usr/lib:/Library/Developer/CommandLineTools/usr/lib:/usr/local/lib
ErrorReport = prompt
GTK2_RC_FILES = /Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/bin/gtkrc.mac-yosemite
HOME = /Users/admin
IpaPackageName = 
IPhoneResourcePrefix = Resources
LOGNAME = admin
MONO_GAC_PREFIX = /Applications/Xamarin Studio.app/Contents/Resources
MSBuildBinPath = /Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5
MSBuildExtensionsPath = /Library/Frameworks/Mono.framework/External/xbuild
MSBuildExtensionsPath32 = /Library/Frameworks/Mono.framework/External/xbuild
MSBuildExtensionsPath64 = /Library/Frameworks/Mono.framework/External/xbuild
MSBuildProjectDefaultTargets = Build
MSBuildProjectDirectory = /Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS
MSBuildProjectExtension = .csproj
MSBuildProjectFile = KastlePresence.IOS.csproj
MSBuildProjectFullPath = /Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj
MSBuildProjectName = KastlePresence.IOS
MSBuildThisFile = KastlePresence.IOS.csproj
MSBuildThisFileDirectory = /Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/
MSBuildThisFileDirectoryNoRoot = Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/
MSBuildThisFileExtension = .csproj
MSBuildThisFileFullPath = /Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj
MSBuildThisFileName = KastlePresence.IOS
MSBuildToolsPath = /Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5
MSBuildToolsRoot = /Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono
MSBuildToolsVersion = 4.0
MtouchArch = ARMv7
MtouchDebug = true
MtouchI18n = 
MtouchLink = Full
MtouchUseRefCounting = true
Optimize = false
OS = Unix
OutputPath = bin\iPhone\Debug
OutputType = Exe
PATH = /Applications/Xamarin Studio.app/Contents/Resources:/Applications/Xamarin Studio.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin
PKG_CONFIG_LIBDIR = 
PKG_CONFIG_PATH = /Applications/Xamarin Studio.app/Contents/Resources/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/4.0.0/share/pkgconfig:/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/pkgconfig
Platform = iPhone
ProjectGuid = {9FCCAAC1-E823-49FC-947C-255A2F37C0C2}
ProjectTypeGuids = {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
RootNamespace = KastlePresence.IOS
SHELL = /bin/bash
SolutionDir = /Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/
SolutionFilename = mKMobileApp.sln
SolutionName = mKMobileApp
SolutionPath = /Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/mKMobileApp.sln
SSH_AUTH_SOCK = /private/tmp/com.apple.launchd.m541NyFoC1/Listeners
TargetFrameworkIdentifier = Xamarin.iOS
TargetFrameworkVersion = v1.0
TMPDIR = /var/folders/2f/4fzjth31607331n9ct2k9tg80000gn/T/
UseHostCompilerIfAvailable = false
USER = admin
WarningLevel = 4
XPC_FLAGS = 0x0
XPC_SERVICE_NAME = com.xamarin.monodevelop.316408

Initial Items:
/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj: Importing project /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.CSharp.targets from extension path /Library/Frameworks/Mono.framework/External/xbuild
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.CSharp.targets: Importing project /Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.CSharp.targets 
/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.CSharp.targets: Importing project /Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.Common.targets 
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.CSharp.targets: Importing project /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets 
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Importing project /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.props from extension path /Library/Frameworks/Mono.framework/External/xbuild
Building target "_ValidateEssentialProperties" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.Common.targets").
Done building target "_ValidateEssentialProperties" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.Common.targets").
Building target "Build" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.Common.targets").
Building target "BuildOnlySettings" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.Common.targets"); "Build" depends on it.
Done building target "BuildOnlySettings" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.Common.targets"); "Build" depends on it.
Building target "PrepareForBuild" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.Common.targets"); "Build" depends on it.
Building target "AssignLinkMetadata" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.Common.targets"); "PrepareForBuild" depends on it.
Done building target "AssignLinkMetadata" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.Common.targets"); "PrepareForBuild" depends on it.
Target PrepareForBuild:
Task "Message"
Using task Message from Microsoft.Build.Tasks.Message, Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Configuration: Debug Platform: iPhone
Done executing task "Message"
Task "FindAppConfigFile"
Using task FindAppConfigFile from Microsoft.Build.Tasks.FindAppConfigFile, Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Done executing task "FindAppConfigFile"
Task "MakeDir"
Using task MakeDir from Microsoft.Build.Tasks.MakeDir, Xamarin.iOS.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Done executing task "MakeDir"
Done building target "PrepareForBuild" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj".
Done building target "PrepareForBuild" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.Common.targets"); "Build" depends on it.
Building target "_CollectBundleResources" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets"); "Build" depends on it.
Building target "_CompileInterfaceDefinitions" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets"); "_CollectBundleResources" depends on it.
Building target "_DetectAppManifest" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets"); "_CompileInterfaceDefinitions" depends on it.
Target _DetectAppManifest:
Task "FindItemWithLogicalName"
Using task FindItemWithLogicalName from Xamarin.MacDev.Tasks.FindItemWithLogicalName, Xamarin.MacDev.Tasks, Version=1.0.5595.8224, Culture=neutral, PublicKeyToken=null
FindItemWithLogicalName Task
 Items:
   Info.plist
   Entitlements.plist
   packages.config
 LogicalName: Info.plist
 ProjectDir: /Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS
 ResourcePrefix: Resources
 Info.plist found at: Info.plist
Done executing task "FindItemWithLogicalName"
Done building target "_DetectAppManifest" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj".
Done building target "_DetectAppManifest" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets"); "_CompileInterfaceDefinitions" depends on it.
Building target "_DetectSdkLocations" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets"); "_CompileInterfaceDefinitions" depends on it.
Target _DetectSdkLocations:
Task "DetectSdkLocations"
Using task DetectSdkLocations from Xamarin.iOS.Tasks.DetectSdkLocations, Xamarin.iOS.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
 DeveloperRoot: /Applications/Xcode.app/Contents/Developer
 DevicePlatform: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
 GetPlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
 Searching for 'SDK Usr directory' in '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/Developer/usr'
 Searching for 'SDK bin directory' in '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/Developer/usr/bin'
DetectSdkLocations Task
 Platform: iPhone
 SdkVersion: 8.3
 XamarinSdkRoot: /Library/Frameworks/Xamarin.iOS.framework/Versions/Current
Done executing task "DetectSdkLocations"
Done building target "_DetectSdkLocations" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj".
Done building target "_DetectSdkLocations" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets"); "_CompileInterfaceDefinitions" depends on it.
Building target "_CoreCompileInterfaceDefinitions" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets"); "_CompileInterfaceDefinitions" depends on it.
Target _CoreCompileInterfaceDefinitions:
Task "IBTool"
Using task IBTool from Xamarin.MacDev.Tasks.IBTool, Xamarin.MacDev.Tasks, Version=1.0.5595.8224, Culture=neutral, PublicKeyToken=null
IBTool Task
 AppManifest: Info.plist
 InterfaceDefinitions:
   MainStoryboard.storyboard
   Resources/LaunchScreen.xib
 IntermediateOutputPath: obj/iPhone/Debug/
 IsWatchApp: False
 Platform: iPhone
 ProjectDir: /Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS
 ResourcePrefix: Resources
 SdkBinPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/Developer/usr/bin
 SdkRoot: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk
 SdkVersion: 8.3
Tool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool execution started with arguments: --errors --warnings --notices --output-format xml1 --minimum-deployment-target 8.0 --target-device iphone --auto-activate-custom-fonts --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk --compilation-directory /Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/obj/iPhone/Debug/ibtool /Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/MainStoryboard.storyboard
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: error : Error executing tool '/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool': Argument cannot be null.
Parameter name: unformatted
Task "IBTool" execution -- FAILED
Done building target "_CoreCompileInterfaceDefinitions" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj".-- FAILED
Done building target "_CoreCompileInterfaceDefinitions" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets"); "_CompileInterfaceDefinitions" depends on it.
Done building target "_CompileInterfaceDefinitions" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets"); "_CollectBundleResources" depends on it.
Done building target "_CollectBundleResources" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets"); "Build" depends on it.
Done building target "Build" in project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj" ("/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/4.5/Microsoft.Common.targets").
Done building project "/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj".-- FAILED

Target perfomance summary:
  4488.410 ms  _CoreCompileInterfaceDefinitions                        1 calls
     3.177 ms  _DetectAppManifest                                      1 calls
     3.792 ms  _DetectSdkLocations                                     1 calls
     1.750 ms  _ValidateEssentialProperties                            1 calls
     0.562 ms  AssignLinkMetadata                                      1 calls
     3.672 ms  PrepareForBuild                                         1 calls

Tasks perfomance summary:
     3.541 ms  DetectSdkLocations                                      1 calls
     0.504 ms  FindAppConfigFile                                       1 calls
     2.684 ms  FindItemWithLogicalName                                 1 calls
  4488.058 ms  IBTool                                                  1 calls
     1.720 ms  MakeDir                                                 1 calls
     0.837 ms  Message                                                 1 calls

Build FAILED.
Errors:

/Users/admin/Documents/IOT/Kastle_VR1/mKMobileApp/KastlePresence.IOS/KastlePresence.IOS.csproj (Build) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets (_CoreCompileInterfaceDefinitions target) ->

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: error : Error executing tool '/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool': Argument cannot be null.
Parameter name: unformatted

---------------------- Done ----------------------
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-05-21 03:29:31 UTC

*** This bug has been marked as a duplicate of bug 30221 ***