Status: RESOLVED DUPLICATE of bug 3559
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 5.2
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-03-15 11:45 UTC by Derek Ferguson
Modified: 2012-03-16 12:00 UTC (History)
3 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 3559

Description Derek Ferguson 2012-03-15 11:45:19 UTC

    
Comment 1 Derek Ferguson 2012-03-15 11:47:57 UTC
I upgraded MonoTouch and MonoDevelop.  Suddenly, even solutions that previously compiled and deployed fine are saying that they are missing a bundle identifier.  Also, it says there is an unexpected error and I should submit a bug here.
Comment 2 Sebastien Pouliot 2012-03-15 11:53:52 UTC
Please paste the "Build Log" (available in MonoDevelop in the "Error List Pad") here so we can see what caused the unexpected error.
Comment 3 Derek Ferguson 2012-03-15 17:35:22 UTC
Building: FanLocation (Distribution|iPhone)

Building Solution FanLocation

Building: FanLocation (Distribution|iPhone)

Detecting signing identity...
Provisioning profile: "FanLocProvisioning" (3947D5EC-4F52-46D2-8CFA-8E98E0DC0FBE)
Signing Identity: "iPhone Developer: Derek Ferguson (VPBGZUUR87)"
App ID: "DJZ8R3CQ4H.com.dotnetdevotee.fanloc"

Performing main compilation...
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" /nologo /warn:4 /optimize- /codepage:utf8 /t:exe "/Users/Derek/Projects/FanLocation/FanLocation/Main.cs" "/Users/Derek/Projects/FanLocation/FanLocation/AppDelegate.cs" "/Users/Derek/Projects/FanLocation/FanLocation/FanLocationViewController.cs" "/Users/Derek/Projects/FanLocation/FanLocation/FanLocationViewController.designer.cs" 

Compiling interface definitions
/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text "/Users/Derek/Projects/FanLocation/FanLocation/FanLocationViewController.xib" --compile "/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/FanLocationViewController.nib" --sdk "/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk"
Couldn't open shared capabilities memory GSCapabilities (No such file or directory)
Build complete -- 0 errors, 0 warnings

Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Developer" -v --nomanifest --nosign -dev "/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -linksdkonly -sdk "5.0" "/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.exe"
MonoTouch version 5.2.5 using framework: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk
Copied /Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.exe to /Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/FanLocation.exe
Copied /Developer/MonoTouch/usr/lib/mono/2.1/mscorlib.dll to /Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/mscorlib.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll to /Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/monotouch.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.dll to /Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/System.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/Mono.Security.dll to /Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/Mono.Security.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll to /Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/System.Core.dll
Copied /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll to /Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/System.Xml.dll
Linking SDK only for assembly /Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.exe into /Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app
MONO_PATH=/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,outfile=/var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/FanLocation.exe.6.s "/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/FanLocation.exe"
MONO_PATH=/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,outfile=/var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/monotouch.dll.6.s "/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/monotouch.dll"
MONO_PATH=/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,outfile=/var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/mscorlib.dll.6.s "/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/mscorlib.dll"
MONO_PATH=/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,outfile=/var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/System.Core.dll.6.s "/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/System.Core.dll"
Generated /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/main.m
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -gdwarf-2 -miphoneos-version-min=3.0 -arch armv6  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -c /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/FanLocation.exe.6.s -o /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/FanLocation.exe.6.o   
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -gdwarf-2 -miphoneos-version-min=3.0 -arch armv6  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -c /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/mscorlib.dll.6.s -o /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/mscorlib.dll.6.o   
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -gdwarf-2 -miphoneos-version-min=3.0 -arch armv6  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -c /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/monotouch.dll.6.s -o /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/monotouch.dll.6.o   
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -gdwarf-2 -miphoneos-version-min=3.0 -arch armv6  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -c /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/System.Core.dll.6.s -o /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/System.Core.dll.6.o   
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -gdwarf-2 -miphoneos-version-min=3.0 -arch armv6  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -c /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/registrar.m -o /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/registrar.6.o   
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -gdwarf-2 -miphoneos-version-min=3.0 -arch armv6  -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -c /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/main.m -o /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/main.6.o   
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -gdwarf-2 -miphoneos-version-min=3.0 -arch armv6  -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/FanLocation.exe.6.o  /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/System.Core.dll.6.o  /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/monotouch.dll.6.o  /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/mscorlib.dll.6.o  /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/registrar.6.o /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/main.6.o -o /var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/FanLocation -framework CFNetwork -framework Foundation -framework UIKit -framework CoreLocation -lz -u _mono_pmip -u _CreateZStream -u _CloseZStream -u _Flush -u _ReadZStream -u _WriteZStream -liconv -lmono-2.0 -lmonotouch -L/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/lib -dead_strip
/usr/bin/dsymutil "/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/FanLocation" -o "/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app.dSYM"
/usr/bin/strip -s "/var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/symbol-file" "/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/FanLocation"
error MT0000: Unexpected error - Please fill a bug report at http://bugzilla.xamarin.com
System.ComponentModel.Win32Exception: ApplicationName='/usr/bin/strip', CommandLine='-s "/var/folders/_6/2f1k5m7j17l4l82skk6x84h00000gp/T/tmp37422605.tmp/symbol-file" "/Users/Derek/Projects/FanLocation/FanLocation/bin/iPhone/Distribution/FanLocation.app/FanLocation"', CurrentDirectory=''
  at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 
  at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in <filename unknown>:0 
  at MTouch.RunCommand (System.String path, System.String args, System.String[] env) [0x00000] in <filename unknown>:0 
  at MTouch.RunCommand (System.String path, System.String args) [0x00000] in <filename unknown>:0 
  at MTouch.Main2 (System.String[] args) [0x00000] in <filename unknown>:0 
  at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0 

---------------------- Done ----------------------

Build: 1 error, 0 warnings
Comment 4 Rolf Bjarne Kvinge [MSFT] 2012-03-15 18:13:50 UTC
see comment #3 of bug #3559.

i.e. Xcode 4.3[.1] was installed and Xcode 4.2 was removed (or never
installed). You need to install the optional "Command Line Tools" to get a
complete installation.

*** This bug has been marked as a duplicate of bug 3559 ***
Comment 5 Derek Ferguson 2012-03-16 12:00:16 UTC
FYI - command line tools were installed.  I had to uninstall XCode and reinstall to fix the issue.  It broke after updating to latest MonoDevelop and MonoTouch.  In any event, resolved now - thanks!