Bug 20802 - Xam.iOS fails to build with NSUrlStorage error
Summary: Xam.iOS fails to build with NSUrlStorage error
Status: RESOLVED INVALID
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 7.9.0.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-06-22 22:34 UTC by Paul Johnson
Modified: 2014-06-23 06: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 INVALID

Description Paul Johnson 2014-06-22 22:34:50 UTC
I am trying to build a project which is using Xcode 6-Beta2 and therefore the alpha iOS code. When it comes to building the interface files, I'm getting a build failure with this error

/Applications/Xcode6-Beta2.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Volumes/Developer/Developer/ftrack2/ftrack2-ios/ftrack2-ios/bin/iPhoneSimulator/Debug/ftrack2farmappscomau.app/CropHistoryView_iPhone.nib" "/Volumes/Developer/Developer/ftrack2/ftrack2-ios/ftrack2-ios/Cropping/xibs/CropHistoryView_iPhone.xib" --sdk "/Applications/Xcode6-Beta2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk"
nwi_state: registration failed (1000000)
/Applications/Xcode6-Beta2.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Volumes/Developer/Developer/ftrack2/ftrack2-ios/ftrack2-ios/bin/iPhoneSimulator/Debug/ftrack2farmappscomau.app/CropHistory_iPad.nib" "/Volumes/Developer/Developer/ftrack2/ftrack2-ios/ftrack2-ios/Cropping/xibs/CropHistory_iPad.xib" --sdk "/Applications/Xcode6-Beta2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk"
2014-06-23 03:31:03.018 Interface Builder Cocoa Touch Tool[24208:2169732] ***createStorageTaskManagerForPath:withIdentifier failed: Error Domain=NSCocoaErrorDomain Code=4099 "The operation couldn’t be completed. (Cocoa error 4099.)" (The connection to service named com.apple.nsurlstorage-cache was invalidated.) UserInfo=0x10bd9fca0 {NSDebugDescription=The connection to service named com.apple.nsurlstorage-cache was invalidated.}; {
    NSDebugDescription = "The connection to service named com.apple.nsurlstorage-cache was invalidated.";
}
Comment 1 Paul Johnson 2014-06-22 22:37:25 UTC
Further details:

Compiling interface definitions
/Applications/Xcode6-Beta2.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Volumes/Developer/Developer/ftrack2/ftrack2-ios/ftrack2-ios/bin/iPhoneSimulator/Debug/ftrack2farmappscomau.app/NewCropTypes_iPhone.nib" "/Volumes/Developer/Developer/ftrack2/ftrack2-ios/ftrack2-ios/Settings/xibs/NewCropTypes_iPhone.xib" --sdk "/Applications/Xcode6-Beta2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk"
2014-06-23 03:36:37.015 ibtoold[24651:2201732] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-6154.21/InterfaceBuilderKit/Document/ObjectContainer/IBObjectContainer.m:483
Details:  Assertion failed: object
Object:   <IBObjectContainer: 0x7fb82cc52bd0>
Method:   -objectIDForObject:
Thread:   <NSThread: 0x7fb829c1ec60>{number = 1, name = main}
Hints: None
Backtrace:
  0  0x0000000105c6152a -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1  0x0000000105c60f7f _DVTAssertionHandler (in DVTFoundation)
  2  0x0000000105c6126e _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x0000000105c611d0 _DVTAssertionFailureHandler (in DVTFoundation)
  4  0x0000000106c492d6 -[IBObjectContainer objectIDForObject:] (in IDEInterfaceBuilderKit)
  5  0x0000000106c4ded7 -[IBObjectContainer metadataForKey:ofObject:] (in IDEInterfaceBuilderKit)
  6  0x0000000106ade856 -[IBDocument metadataForKey:ofObject:] (in IDEInterfaceBuilderKit)
  7  0x0000000106d72cf1 -[NSView(IBViewIntegration) ibUnarchiveSubviews:] (in IDEInterfaceBuilderKit)
  8  0x0000000106d388ea -[NSView(IBDocumentArchivingGenerator) unarchiveWithDocumentUnarchiver:] (in IDEInterfaceBuilderKit)
  9  0x000000010cab4884 (in IDEInterfaceBuilderCocoaTouchIntegration)
 10  0x000000010ca10ab4 (in IDEInterfaceBuilderCocoaTouchIntegration)
 11  0x0000000106b3ba08 __51-[IBDocumentUnarchiver unarchiveObjectFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 12  0x0000000106b39cca -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 13  0x0000000106b3b6c1 -[IBDocumentUnarchiver unarchiveObjectFromElement:] (in IDEInterfaceBuilderKit)
 14  0x0000000106b3cfbe -[IBDocumentUnarchiver unarchiveObjectArrayOrDictionaryFromElement:] (in IDEInterfaceBuilderKit)
 15  0x0000000106b3c2be __50-[IBDocumentUnarchiver unarchiveArrayFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 16  0x0000000106b39cca -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 17  0x0000000106b3c036 -[IBDocumentUnarchiver unarchiveArrayFromElement:] (in IDEInterfaceBuilderKit)
 18  0x0000000106b3e961 -[IBDocumentUnarchiver unarchiveArrayWithName:forOptionalKey:defaultValue:] (in IDEInterfaceBuilderKit)
 19  0x0000000106d72c0c -[NSView(IBViewIntegration) ibUnarchiveSubviews:] (in IDEInterfaceBuilderKit)
 20  0x0000000106d388ea -[NSView(IBDocumentArchivingGenerator) unarchiveWithDocumentUnarchiver:] (in IDEInterfaceBuilderKit)
 21  0x000000010cab4884 (in IDEInterfaceBuilderCocoaTouchIntegration)
 22  0x0000000106b3ba08 __51-[IBDocumentUnarchiver unarchiveObjectFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 23  0x0000000106b39cca -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 24  0x0000000106b3b6c1 -[IBDocumentUnarchiver unarchiveObjectFromElement:] (in IDEInterfaceBuilderKit)
 25  0x0000000106b3cfbe -[IBDocumentUnarchiver unarchiveObjectArrayOrDictionaryFromElement:] (in IDEInterfaceBuilderKit)
 26  0x0000000106b3c2be __50-[IBDocumentUnarchiver unarchiveArrayFromElement:]_block_invoke (in IDEInterfaceBuilderKit)
 27  0x0000000106b39cca -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 28  0x0000000106b3c036 -[IBDocumentUnarchiver unarchiveArrayFromElement:] (in IDEInterfaceBuilderKit)
 29  0x0000000106b3d68c -[IBDocumentUnarchiver unarchiveArrayWithName:forOptionalKey:] (in IDEInterfaceBuilderKit)
 30  0x0000000106ac6a57 -[IBDocument unarchiveTopLevelObjects:] (in IDEInterfaceBuilderKit)
 31  0x0000000106ac794b -[IBDocument unarchivePlatformIndependentDataWithUnarchiver:] (in IDEInterfaceBuilderKit)
 32  0x0000000106ac7412 -[IBDocument unarchiveDocument:] (in IDEInterfaceBuilderKit)
 33  0x0000000106b39cca -[IBDocumentUnarchiver recurseWithElement:kind:invokingBlock:] (in IDEInterfaceBuilderKit)
 34  0x0000000106b39f64 -[IBDocumentUnarchiver unarchiveDocument:] (in IDEInterfaceBuilderKit)
 35  0x0000000106abe999 __61-[IBDocument decodeContentsOfURL:ofType:decodingStyle:error:]_block_invoke (in IDEInterfaceBuilderKit)
 36  0x0000000106b09329 -[IBDocumentAutolayoutManager runBlockInNewArbitrationStackEntryWithBehavior:block:] (in IDEInterfaceBuilderKit)
 37  0x0000000106af07df -[IBDocument modifyViewsInAutolayoutSafeWayWithoutUpdatingConstraintsDuring:] (in IDEInterfaceBuilderKit)
 38  0x0000000106abe5dc -[IBDocument decodeContentsOfURL:ofType:decodingStyle:error:] (in IDEInterfaceBuilderKit)
 39  0x0000000106ab9078 __39-[IBDocument readFromURL:ofType:error:]_block_invoke_2 (in IDEInterfaceBuilderKit)
 40  0x0000000106b141b0 -[IBDocumentAutolayoutManager doNotSynchronouslyComputeAutolayoutStatusWhilePerformingBlock:] (in IDEInterfaceBuilderKit)
 41  0x0000000106ab8ee1 __39-[IBDocument readFromURL:ofType:error:]_block_invoke (in IDEInterfaceBuilderKit)
 42  0x0000000106aec35b -[IBDocument invokeWithUndoSuppressed:] (in IDEInterfaceBuilderKit)
 43  0x0000000106ab8b90 -[IBDocument readFromURL:ofType:error:] (in IDEInterfaceBuilderKit)
 44  0x0000000105a7ad01 (in ibtoold)
 45  0x0000000105a75c87 (in ibtoold)
 46  0x0000000105a7c61a (in ibtoold)
 47  0x0000000105a81ac7 (in ibtoold)
 48  0x0000000105a82017 (in ibtoold)
 49  0x0000000105a81ee7 (in ibtoold)
 50  0x0000000105a7227f (in ibtoold)
 51  0x0000000105a816b1 (in ibtoold)
 52  0x0000000105a80908 (in ibtoold)
 53  0x00007fff9580b5c9 start (in libdyld.dylib)
 54  0x0000000000000001
ibtool exited with code 255
Build complete -- 1 error, 222 warnings

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

Build: 1 error, 222 warnings
Comment 2 Rolf Bjarne Kvinge [MSFT] 2014-06-23 03:50:52 UTC
If those xib files were only ever edited by Xcode, it seems to be an Xcode bug, not a Xamarin.iOS bug (ibtool is provided by Apple, not Xamarin.iOS).

If that's the case, I suggest you file a bug with Apple instead.
Comment 3 Paul Johnson 2014-06-23 06:20:24 UTC
This one file was a file I know I've had to edit by hand (Xcode 5 does not always remove references so when you run, the app dies unless you edit by hand to remove the unused references), but I'll pop it over to Apple as it looks more an ibtool bug than anything.
Comment 4 Rolf Bjarne Kvinge [MSFT] 2014-06-23 06:29:10 UTC
OK, closing this then.