[MonoTouch] Error while building

Ed Anuff ed at anuff.com
Thu Dec 1 20:34:50 EST 2011


These are the details from the crash dialog that XCode displays:

ASSERTION FAILURE in
/SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-1938/Framework/Utilities/IBFoundationAdditions.m:2247
Details:  Both arguments are required
Function: NSString *IBRelativePath(NSString *, NSString *)
Thread:   <NSThread: 0x4001e65a0>{name = (null), num = 3}
Hints:   None
Backtrace:
  0  0x000000010a52a6a1 -[IDEAssertionHandler
handleFailureInFunction:fileName:lineNumber:messageFormat:arguments:]
(in IDEKit)
  1  0x0000000109b8bd64 _DVTAssertionHandler (in DVTFoundation)
  2  0x0000000109b9d794 _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x000000010d1f99f1 IBRelativePath (in IDEInterfaceBuilderKit)
  4  0x000000010d31c79c
+[IBClassDescriptionSource(InstantiationConvenience)
workspaceDocumentSourceIdentifierForInterfaceFile:inWorkspaceDocument:]
(in IDEInterfaceBuilderKit)
  5  0x000000010d32152a -[IBClassDescriptionBasedClassProvider
integratePartialDescriptionsFromFiles:inWorkspaceDocument:errorsPerFile:]
(in IDEInterfaceBuilderKit)
  6  0x0000000109b38d56 __38-[DVTDispatchLock
performLockedBlock:]_block_invoke_0 (in DVTFoundation)
  7  0x00007fff94f0daad _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
  8  0x0000000109b38cff -[DVTDispatchLock performLockedBlock:] (in
DVTFoundation)
  9  0x000000010d32dfdc -[IBHeaderScanningClassProvider
performBlockEnsuringNotCanceled:] (in IDEInterfaceBuilderKit)
 10  0x000000010d32fc33 __block_global_5 (in IDEInterfaceBuilderKit)
 11  0x00007fff94f0b8ba _dispatch_call_block_and_release (in libdispatch.dylib)
 12  0x00007fff94f0d10a _dispatch_queue_drain (in libdispatch.dylib)
 13  0x00007fff94f0cf66 _dispatch_queue_invoke (in libdispatch.dylib)
 14  0x00007fff94f0c760 _dispatch_worker_thread2 (in libdispatch.dylib)
 15  0x00007fff9ac483da _pthread_wqthread (in libsystem_c.dylib)
 16  0x00007fff9ac49b85 start_wqthread (in libsystem_c.dylib)


On Tue, Nov 29, 2011 at 9:03 AM, Jeff Stedfast <jeff at xamarin.com> wrote:
> Hi Ed,
>
> This suggests that AppleScript is unable to open a connection with Xcode.
> Was Xcode showing an error dialog or otherwise blocking?
>
> Jeff
>
> On Wed, Nov 23, 2011 at 9:29 PM, Ed Anuff <ed at anuff.com> wrote:
>>
>> Manually installing the latest Monodevelop corrects the problem of it
>> not building, but still seeing the numerous "Couldn't open shared
>> capabilities memory GSCapabilities (No such file or directory)"
>> messages.
>>
>> Also, when I try to open any of the XIB's from the project, I have an
>> XCode crash, and Monodevelop reports:
>>
>> System.Exception: Error ScriptError: Xcode got an error: Connection is
>> invalid.
>>  at MonoDevelop.MacInterop.AppleScript.Run (Boolean compile,
>> MonoDevelop.MacInterop.AEDesc& scriptData) [0x00012] in
>>
>> /private/tmp/source/monodevelop/main/src/addins/MacPlatform/MacInterop/AppleScript.cs:107
>>  at MonoDevelop.MacInterop.AppleScript.Run (System.String
>> scriptSource) [0x00010] in
>>
>> /private/tmp/source/monodevelop/main/src/addins/MacPlatform/MacInterop/AppleScript.cs:83
>>  at MonoDevelop.MacInterop.AppleScript.Run (System.String
>> scriptSourceFormat, System.Object[] args) [0x00000] in
>>
>> /private/tmp/source/monodevelop/main/src/addins/MacPlatform/MacInterop/AppleScript.cs:74
>>  at MonoDevelop.MacDev.XcodeSyncing.XcodeMonitor.OpenFile
>> (System.String relativeName) [0x0001a] in
>>
>> /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeMonitor.cs:288
>>  at
>> MonoDevelop.MacDev.XcodeSyncing.XcodeProjectTracker.OpenFileInXcodeProject
>> (System.String path) [0x00056] in
>>
>> /private/tmp/source/monodevelop/main/src/addins/MonoDevelop.MacDev/XcodeSyncing/XcodeProjectTracker.cs:166
>>
>>
>>
>> On Wed, Nov 23, 2011 at 6:02 PM, Ed Anuff <ed at anuff.com> wrote:
>> > I'm seeing a number of these:
>> >
>> > Compiling interface definitions
>> > /Developer/usr/bin/ibtool --errors --warnings --notices
>> > --output-format human-readable-text
>> >
>> > "/Users/edanuff/Development/MonoDevelop/Projects/PocketApp/PocketApp/EventViewController.xib"
>> > --compile
>> > "/Users/edanuff/Development/MonoDevelop/Projects/PocketApp/PocketApp/bin/InAppPurchaseDistribution/PocketApp.app/EventViewController.nib"
>> > --sdk
>> > "/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk"
>> > Couldn't open shared capabilities memory GSCapabilities (No such file
>> > or directory)
>> > Couldn't open shared capabilities memory GSCapabilities (No such file
>> > or directory)
>> > Couldn't open shared capabilities memory GSCapabilities (No such file
>> > or directory)
>> > /Developer/usr/bin/ibtool --errors --warnings --notices
>> > --output-format human-readable-text
>> >
>> > "/Users/edanuff/Development/MonoDevelop/Projects/PocketApp/PocketApp/GroupViewController.xib"
>> > --compile
>> > "/Users/edanuff/Development/MonoDevelop/Projects/PocketApp/PocketApp/bin/InAppPurchaseDistribution/PocketApp.app/GroupViewController.nib"
>> > --sdk
>> > "/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk"
>> > Couldn't open shared capabilities memory GSCapabilities (No such file
>> > or directory)
>> >
>> > and the build ends with this:
>> >
>> > Updating application manifest
>> >
>> > Build failed. Object reference not set to an instance of an object
>> >
>> _______________________________________________
>> MonoTouch mailing list
>> MonoTouch at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
>
>


More information about the MonoTouch mailing list