Internal Error Occurred While Creating Dependency Graph
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Internal error occurred while creating dependency graph: ASSERTION FAILURE up vote 3 down vote favorite Why do I get this assertion failure? I am using Xcode 3.1.2. Checking Dependencies Internal error occurred while creating dependency graph: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1204/pbxcore/NativeBuildSystem/XCDependencyNode.m:396 Details: command should be an instance inheriting from XCDependencyCommand, but it is nil Object: Method: -addDependedNode: Thread: {name = (null), num = 4} Backtrace: 0 0x00725da2 -[PBXTargetBuildContext(DependencyGraphEvents) handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore) 1 0x0078a360 _XCAssertionFailureHandler (in DevToolsCore) 2 0x005e1f66 -[XCDependencyNode addDependedNode:] (in DevToolsCore) 3 0x005e5c4c -[XCResourcesBuildPhaseDGSnapshot copyResourceFile:ofType:toDirectory:inTargetBuildContext:] (in DevToolsCore) 4 0x005e55d6 -[XCResourcesBuildPhaseDGSnapshot computeDependenciesForBuildFileReference:inTargetBuildContext:] (in DevToolsCore) 5 0x005e34b4 -[XCBuildPhaseDGSnapshot computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] (in DevToolsCore) 6 0x005e2b13 -[XCBuildPhaseDGSnapshot computeDependenciesInTargetBuildContext:] (in DevToolsCore) 7 0x005e4ebb -[XCResourcesBuildPhaseDGSnapshot computeDependenciesInTargetBuildContext:] (in DevToolsCore) 8 0x005d8ebe -[XCProductTypeSpecification computeDependenciesInTargetBuildContext:] (in DevToolsCore) 9 0x005d4866 -[XCNativeTargetDGSnapshot computeDependenciesInTargetBuildContext:] (in DevToolsCore) 10 0x005d1efd -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] (in DevToolsCore) 11 0x005d10c5 -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] (in DevToolsCore) 12 0x936199dd __invoking___ (in CoreFoundation) 13 0x936193c8 -[NSInvocation invoke] (in CoreFoundation) 14 0x005d0aeb -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] (in DevToolsCore) 15 0x936199dd __invoking___ (in CoreFoundation) 16
the Dev Quick Tips category. Here is my latest note-to-self contribution:If I stumble into "Internal error occurred while creating dependency graph: ASSERTION FAILURE" code sign errors when I build an iPhone project for the device, here's what to do:Close Xcode. Reopen my project. Go to Project Info > Built tab.Change Configuration: All Configurations.Change Show: All Settings.Change value for Base SDK to Device - iPhone OS 2.2Find Code Signing Resource Rules Path and add $(SDKROOT)/ResourceRules.plist as the valueThat's it.TweetAs a regular 24100.NET reader you've come to know the Dev Quick Tips category. Here is my latest note-to-self contribution: If I stumble into "Internal error occurred while creating dependency...Tags: dev quick tips, http://stackoverflow.com/questions/2803111/internal-error-occurred-while-creating-dependency-graph-assertion-failure iPhone SDK 8 Comments/posted in Development /by ralf ← iPhone-notes.de: Dev Tutorial Second part of German iPhone Dev series →Related Posts iphone sdk mobile provisioning (0xe800003a, 0xe8000001,... Is UIButton's backgroundImage broken? PhoneGap and iPhone SDK 3.0 (No launchable executable... Second part of German iPhone Dev series 8 replies Sebastian says: 03/03/2009 at 19:31Danke! DANKE! Danke! Ich kann Dir nicht genug danken! Mit diesm Tip habe ich endlich den verfluchten Fehler behoben und http://rottmann.net/2009/02/internal-error-occurred-while-creating-dependency-graph-assertion-failure/ kann weiteren Wahnsinn auf mein Iphone schieben :-) Reply ralf.rottmann says: 03/03/2009 at 19:40@Sebastian: Hi Sebastian, good that it helped! Thanks for stopping by. Reply Cyril Godefroy says: 04/03/2009 at 17:38You saved my day. I've been banging my head on the walls with this for two days now.And Whooop! Reply tommy says: 07/03/2009 at 08:20Thanks this works perfectly! Reply tang says: 02/04/2009 at 10:48thank you, as this answer is too short, i just need to write some more. Reply observer says: 22/05/2009 at 16:42Thanks a lot, helped me out! Reply Amelie says: 08/10/2009 at 15:35Awesome, thanks! You saved me so much time! I had been banging my head on this for a day now. Reply Brian Headlee says: 07/11/2009 at 14:37Today, you are my hero. Thanks! ReplyLeave a ReplyWant to join the discussion? Feel free to contribute!Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *CommentName * Email * Website HomeAMAZERottmann Willnow Ventures GmbHgrandcentrix GmbHacceleract GmbHAbout RalfContactSearch Connect on Twitter and App.netFollow @ralfFollow me on App.net Donations (Bitcoin / Ether)I accept donations under the following Ether address: If you prefer Bitcoin: ralf on MediumRalf Rottmann Connect on Google+ Read Ralf on SVBTLE Aboutgrandcentrix founder. former the next web editor. open web addict and developer at heart. Soci
graph Subject: Re: Internal error occurred while creating dependency graph From: Dave McCarthy Date: Thu, 4 Sep 2008 10:37:52 -0400 Delivered-to: email@hidden Delivered-to: email@hidden http://lists.apple.com/archives/Xcode-users/2008/Sep/msg00075.html I have a fairly large project and I get that error https://iphone-dev.g.hatena.ne.jp/noborunrun/comment?date=20081126 a lot. My voodoo to avoid it is to open the project and wait (a few minutes) until Xcode's processor utiliization settles down. If I start a build prematurely, sometimes I get that error or sometimes it wants to recompile my precompiled header but gets internal error "file not found" errors on system framework headers; both require me to close the project and start over. My other voodoo is to never close the project, but lately I've had some kernel panics where Xcode seems to be implicated while the Mac was idle, so I don't have a perfect solution. On Sep 4, 2008, at internal error occurred 10:27 AM, Steve Mills wrote: A while back I tried 3.0 or 3.1 and got this error every time I tried to build: Internal error occurred while creating dependency graph: *** - [NSCFArray insertObject:atIndex:]: attempt to insert nil Switching to another config and back to my Debug config would solve the problem. It's still happening in the 3.1.1 beta. We'll be sticking with 2.5 until all the 3.x bugs and slowness have been fixed. So is this a well-known problem and has the Xcode team been scrambling to fix it ever since it first appeared in 2007? Or should I report it again? I mentioned it in radar://5583305. _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden Follow-Ups: Re: Internal error occurred while creating dependency graph From: Steve Mills References: >Internal error occurred while creating dependency graph (From: Steve Mills ) Prev by Date: Internal error occurred while creating
Internal error occurred while creating dependency graph: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1148/pbxcore/Target.subproj/XCCodeSignContext.m:458 Details: Error: failed to locate ResourceRules.plist in '(null)/ResourceRules.plist' or '/Developer/Platforms/(null)/ResourceRules.plist' Object: Method: +defineCodeSignAuxiliaryFilesInTargetBuildContext: Thread: {name = (null), num = 6} Backtrace: 0 0x007200ab -[PBXTargetBuildContext(DependencyGraphEvents) handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore) 1 0x0078430c _XCAssertionFailureHandler (in DevToolsCore) 2 0x0084036d +[XCCodeSignContext defineCodeSignAuxiliaryFilesInTargetBuildContext:] (in DevToolsCore) 3 0x1dbc616e +[XCiPhoneOSCodeSignContext defineCodeSignAuxiliaryFilesInTargetBuildContext:] (in iPhoneRemoteDevice) 4 0x005d37d0 -[XCProductTypeSpecification computeDependenciesInTargetBuildContext:] (in DevToolsCore) 5 0x005cf2ce -[XCNativeTargetDGSnapshot computeDependenciesInTargetBuildContext:] (in DevToolsCore) 6 0x005cc965 -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] (in DevToolsCore) 7 0x005cbb2d -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] (in DevToolsCore) 8 0x9653fa7d __invoking___ (in CoreFoundation) 9 0x9653f468 -[NSInvocation invoke] (in CoreFoundation) 10 0x005cb553 -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] (in DevToolsCore) 11 0x9653fa7d __invoking___ (in CoreFoundation) 12 0x9653f468 -[NSInvocation invoke] (in CoreFoundation) 13 0x005caec0 -[XCInvocationQueue _processNextInvocationInThreadSlotNumber:] (in DevToolsCore) 14 0x005cab6f -[XCInvocationQueue _processInvocationsInThreadSlotNumber:] (in DevToolsCore) 15 0x93a48bad -[NSThread main] (in Foundation) 16 0x93a48754 __NSThread__main__ (in Foundation) 17 0x96d336f5 _pthread_start (in libSystem.B.dylib) 18 0x96d335b2 thread_start (in libSystem.B.dylib) 2.1だとコンパイルできる。 http://lists.apple.com/archives/xcode-users/2006/Oct/msg00066.html この辺みてたらReInstallすれ。と書いてあった。 ぼくだけ? コメントを書く yonekawa 2009/01/01 00:04 僕も同じエラーが出ました。どうやって対処されましたか?XCodeの再インストールだったら面倒だなぁと思っている