Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 4, 2009, 08:25 AM   #1
Soulstorm
macrumors 68000
 
Soulstorm's Avatar
 
Join Date: Feb 2005
Problem with simulator (sound)

I am using the simulator to make an application that uses sound. For sound, I am using SoundEngine.h from the CrashLanding.app. The problem is that although the actual iPhone device runs the program correctly, the simulator crashes with the following error:

Code:
2009-04-04 16:19:10.935 SoulApp 0.71[476:20b] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder:  dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): Symbol not found: _SCDynamicStoreCopyConsoleUser
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
  Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
The code I use is this:
Code:
SoundEngine_Initialize(44100);
SoundEngine_SetListenerPosition(0.0, 0.0, 1.0);
SoundEngine_LoadBackgroundMusicTrack([[[NSBundle mainBundle]pathForResource:@"hopeless" ofType:@"wav"]UTF8String], NO, YES);
SoundEngine_StartBackgroundMusic();
What could be the reason for the simulator crashing but not the actual device?
Soulstorm is offline   0 Reply With Quote
Old Apr 4, 2009, 07:30 PM   #2
Schenk Studios
macrumors newbie
 
Join Date: Apr 2009
Quote:
Originally Posted by Soulstorm View Post
I am using the simulator to make an application that uses sound. For sound, I am using SoundEngine.h from the CrashLanding.app. The problem is that although the actual iPhone device runs the program correctly, the simulator crashes with the following error:

Code:
2009-04-04 16:19:10.935 SoulApp 0.71[476:20b] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder:  dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): Symbol not found: _SCDynamicStoreCopyConsoleUser
  Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
  Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
The code I use is this:
Code:
SoundEngine_Initialize(44100);
SoundEngine_SetListenerPosition(0.0, 0.0, 1.0);
SoundEngine_LoadBackgroundMusicTrack([[[NSBundle mainBundle]pathForResource:@"hopeless" ofType:@"wav"]UTF8String], NO, YES);
SoundEngine_StartBackgroundMusic();
What could be the reason for the simulator crashing but not the actual device?
The simulator is crashing because it is finding unexpected codecs in your quicktime folder. To fix this problem, simply navigate to,

Your HardDrive >> Library >> Quicktime

and remove all the codecs that it is complaining about. In this case it appears to be unhappy with

DivX Decoder.component
__________________
iPhone Dev Tutorials
Schenk Studios is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Problems with Radeon 5870 on my Mac Pro using Boot Camp uelef Mac Pro 9 Jul 14, 2012 12:55 PM
Problems with Rsync and iPhoto library tommekevda OS X 2 May 19, 2011 10:50 AM
Problem with 13 inch MacBook Pro xc runner MacBook Pro 0 Apr 7, 2011 02:25 PM
Problem with getline function. gmcguinn Mac Programming 4 Feb 3, 2011 12:59 PM
Problem with BetterTouchTool TrulyYuki Mac Applications and Mac App Store 2 Dec 14, 2010 06:26 PM


All times are GMT -5. The time now is 02:34 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC