iq161 Posted August 13, 2008 Share Posted August 13, 2008 Hi, I've managed to install an unpatched MacOsX (updated to 10.5.4) on my Toshiba PC and I'am really surprised I want to try to develop an iPhone Application and so I installed the iPhone SDK (with XCode), full installation. When the application starts, I get the following error: "*** -[NSCFString replaceCharactersInRange:withString:]: nil argument". I can create a new Application, but then, a new error appears "*** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key" and this error message appears in an endless loop. I try to reinstall the SDK but it doesn't help. The older Xcode on the Leopard DVD is working. Thanks for help ------------------ Konsole output: 13.08.08 21:52:03 Xcode[1147] Failed to load specification for platform '<unknown>'. Reason: malformed property list dictionary (required key 'Identifier' not present) 13.08.08 21:52:03 Xcode[1147] -[NSConcreteMutableAttributedString initWithString:attributes:] called with nil string argument. This has undefined behavior and will raise an exception in post-Leopard linked apps. This warning is displayed only once. 13.08.08 21:52:05 Xcode[1147] ** INTERNAL ERROR: Uncaught Exception ** Exception: *** -[NSCFString replaceCharactersInRange:withString:]: nil argument Stack: 0 0x91baf14b __raiseError (in CoreFoundation) 1 0x96ee00fb objc_exception_throw (in libobjc.A.dylib) 2 0x91baef2b +[NSException raise:format:arguments:] (in CoreFoundation) 3 0x91baef6a +[NSException raise:format:] (in CoreFoundation) 4 0x96a6c00e mutateError (in Foundation) 5 0x969a8d5c -[NSConcreteMutableAttributedString replaceCharactersInRange:withString:] (in Foundation) 6 0x969a8b21 -[NSConcreteMutableAttributedString initWithString:attributes:] (in Foundation) 7 0x000cd129 -[NSMutableAttributedString(TSFoundationExtra) appendString:attributes:] (in DevToolsSupport) 8 0x00c9274c -[PBXAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsInterface) 9 0x00787f74 _XCAssertionFailureHandler (in DevToolsCore) 10 0x00774b82 -[XCPlatformSpecification initWithPropertyListDictionary:path:inDomain:] (in DevToolsCore) 11 0x007764b7 +[XCPlatformSpecification loadAllPlatforms] (in DevToolsCore) 12 0x00761c17 XCInitializeCoreIfNeeded (in DevToolsCore) 13 0x0000330a 14 0x9697b54a _nsnote_callback (in Foundation) 15 0x91b16aba __CFXNotificationPost (in CoreFoundation) 16 0x91b16d93 _CFXNotificationPostNotification (in CoreFoundation) 17 0x969787b0 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation) 18 0x96981ff8 -[NSNotificationCenter postNotificationName:object:] (in Foundation) 19 0x923d10a5 -[NSApplication finishLaunching] (in AppKit) 20 0x923d0b2b -[NSApplication run] (in AppKit) 21 0x9239e030 NSApplicationMain (in AppKit) 22 0x00002c82 ------------------ 13.08.08 21:53:52 [0x0-0x3e03e].com.apple.PropertyListEditor[1152] Property List Editor(1152,0xb0103000) malloc: free_garbage: garbage ptr = 0x18d9c90, has non-zero refcount = 1 13.08.08 21:53:52 [0x0-0x3e03e].com.apple.PropertyListEditor[1152] Property List Editor(1152,0xb0103000) malloc: free_garbage: garbage ptr = 0x18e8010, has non-zero refcount = 1 13.08.08 21:57:56 Interface Builder[1157] --ImageKit Error: IKOpenGLDefaultPixelFormat -> can't create a valid pixel format 13.08.08 21:57:56 Interface Builder[1157] --ImageKit Error: IKOpenGLDefaultPixelFormat -> can't create a valid pixel format 13.08.08 21:57:56 Interface Builder[1157] invalid pixel format 13.08.08 21:57:56 Interface Builder[1157] invalid context 13.08.08 21:57:56 Interface Builder[1157] --ImageKit Error: init : [self openGLContext] returned nil ! unable to create a valid openGL context 13.08.08 21:59:18 Interface Builder[1157] No current point for control point bounds 13.08.08 22:00:13 Interface Builder[1157] No current point for control point bounds 13.08.08 22:00:20 com.apple.launchd[78] ([0x0-0x42042].com.apple.QuartzComposer.editor[1163]) Exited with exit code: 1 13.08.08 22:03:31 Xcode[1147] *** WebKit discarded an uncaught exception in the webView:didFinishLoadForFrame: delegate: <NSInternalInconsistencyException> +entityForName: could not locate an NSManagedObjectModel for entity name 'DTExtensionPointDescription' 13.08.08 22:03:49 Xcode[1147] Unable to save aside existing file to "~/Documents/Untitled/Untitled-1.moved-aside/main.m". 13.08.08 22:03:49 Xcode[1147] Unable to save aside existing file to "~/Documents/Untitled/Untitled-1.moved-aside/Info.plist". 13.08.08 22:03:49 Xcode[1147] Unable to save aside existing file to "~/Documents/Untitled/Untitled-1.moved-aside/English.lproj/MainMenu.xib". 13.08.08 22:03:49 Xcode[1147] Unable to save aside existing file to "~/Documents/Untitled/Untitled-1.moved-aside/English.lproj/InfoPlist.strings". 13.08.08 22:03:49 Xcode[1147] Unable to save aside existing file to "~/Documents/Untitled/Untitled-1.moved-aside/Untitled.xcodeproj/project.pbxproj". 13.08.08 22:03:49 Xcode[1147] Saved aside existing file to "~/Documents/Untitled/Untitled-1.moved-aside/Untitled.xcodeproj/TemplateIcon.icns" to create new file. 13.08.08 22:03:51 Xcode[1147] ** INTERNAL ERROR: Uncaught Exception ** Exception: *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key Stack: 0 0x91baf14b __raiseError (in CoreFoundation) 1 0x96ee00fb objc_exception_throw (in libobjc.A.dylib) 2 0x91baef2b +[NSException raise:format:arguments:] (in CoreFoundation) 3 0x91baef6a +[NSException raise:format:] (in CoreFoundation) 4 0x96977371 -[NSCFDictionary setObject:forKey:] (in Foundation) 5 0x006e8dd6 +[XCBuildRuleDGSnapshot systemBuildRulesForPlatform:] (in DevToolsCore) 6 0x005c8e6a -[XCBuildPhaseDGSnapshot initWithInformationFromBuildPhase:forTargetSnapshot:] (in DevToolsCore) 7 0x005ca6b3 -[XCResourcesBuildPhaseDGSnapshot initWithInformationFromBuildPhase:forTargetSnapshot:] (in DevToolsCore) 8 0x005c8641 -[PBXBuildPhase createDependencyGraphSnapshotForTargetSnapshot:] (in DevToolsCore) 9 0x000b4d09 -[NSArray(TSFoundationExtra) arrayByMakingObjectsPerformSelector:withObject:withObject:] (in DevToolsSupport) 10 0x000b4b0d -[NSArray(TSFoundationExtra) arrayByMakingObjectsPerformSelector:withObject:] (in DevToolsSupport) 11 0x006b3275 -[XCTargetDGSnapshot initWithInformationFromTarget:withContext:] (in DevToolsCore) 12 0x007272d6 -[XCNativeTargetDGSnapshot initWithInformationFromTarget:withContext:] (in DevToolsCore) 13 0x006b22f3 -[PBXTarget createDependencyGraphSnapshotWithContext:] (in DevToolsCore) 14 0x005c71c6 -[PBXTarget propagateTargetSnapshotIfNeeded] (in DevToolsCore) 15 0x91ba3b45 -[NSArray makeObjectsPerformSelector:] (in CoreFoundation) 16 0x005c6e9c -[PBXProjectIndex _startIndexing] (in DevToolsCore) 17 0x005baef2 -[PBXProjectIndex _doIndexing:] (in DevToolsCore) 18 0x9697cacc __NSThreadPerformPerform (in Foundation) 19 0x91b3565f CFRunLoopRunSpecific (in CoreFoundation) 20 0x91b35cf8 CFRunLoopRunInMode (in CoreFoundation) 21 0x93514da4 RunCurrentEventLoopInMode (in HIToolbox) 22 0x93514af6 ReceiveNextEventCommon (in HIToolbox) 23 0x93514a31 BlockUntilNextEventMatchingListInMode (in HIToolbox) 24 0x923d8505 _DPSNextEvent (in AppKit) 25 0x923d7db8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) 26 0x923d0df3 -[NSApplication run] (in AppKit) 27 0x9239e030 NSApplicationMain (in AppKit) 28 0x00002c82 Link to comment Share on other sites More sharing options...
skyhighmac Posted August 13, 2008 Share Posted August 13, 2008 From one of the first lines, xcode can't detect you machine type. I think you might need a patched version of mac os x... Link to comment Share on other sites More sharing options...
iq161 Posted August 17, 2008 Author Share Posted August 17, 2008 Thx for the quick reply, skyhighmac. (And sorry for my late reply) I'm trying to reinstall MacOsX with the Jas installation DVD. I'll post results, when I managed to run XCode without errors. Link to comment Share on other sites More sharing options...
iq161 Posted August 18, 2008 Author Share Posted August 18, 2008 Wow, works out of the box! Really nice Link to comment Share on other sites More sharing options...
skyhighmac Posted August 18, 2008 Share Posted August 18, 2008 Thats good. You almost always can't get away with a clean install. Link to comment Share on other sites More sharing options...
Recommended Posts