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

Similar Threads
thread Thread Starter Forum Replies Last Post
[Free][Game] Truck Simulator 3D - real simulator! MarusacAlexandr iPhone and iPod touch Apps 0 Jan 11, 2014 01:43 AM
[Free Game] Bus Simulator 3D - real bus simulator driving ! MarusacAlexandr iPad Apps 0 Oct 7, 2013 02:29 AM
[Free Game] Bus Simulator 3D - real bus simulator driving ! MarusacAlexandr iPhone and iPod touch Apps 0 Oct 7, 2013 02:27 AM
iPad: Sound problem/reset problem Aya89 iPad 1 Sep 14, 2013 02:21 AM
Sound Problem Anuj999 MacBook Pro 7 Mar 7, 2013 06:33 AM

Forum Jump

All times are GMT -5. The time now is 04:11 AM.

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

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