相关疑难解决方法(0)

AVAudioRecorder抛出错误

我用AVAudioRecorder它来录制,它在iOS 4设备上运行良好,但昨天我们发现录制在iOS5上被破坏了.使用iPhone 5模拟器我收到以下错误:

2011-08-02 11:09:03.586 Moodle [7832:10103]加载/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn:dlopen(/ System/Library /扩展/ AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn,262):找不到符号:___ CFObjCIsCollectable

你知道这个错误来自何处以及如何解决这个问题?

iphone avaudiorecorder ios ios5

80
推荐指数
5
解决办法
2万
查看次数

iOS 6流媒体播放器com.apple.coremedia.networkbuffering错误

我在iOS 6模拟器上运行我的应用程序(音乐和视频流播放器)时遇到了麻烦.

当我开始播放音乐时,它崩溃,在此主题上显示错误:com.apple.coremedia.networkbuffering

这个日志信息:

2012-09-13 17:45:09.260 app[32563:c07] [MPAVController] Autoplay: Disabling autoplay for pause
2012-09-13 17:45:09.260 app[32563:c07] [MPAVController] Autoplay: Disabling autoplay
2012-09-13 17:45:09.305 app[32563:c07] [MPAVController] Autoplay: Enabling autoplay
2012-09-13 17:45:09.307 app[32563:c07] handlePlaybackNowPlayingNotification
2012-09-13 17:45:09.308 app[32563:c07] [MPAVController] Autoplay: Likely to keep up or full buffer: 0
2012-09-13 17:45:09.308 app[32563:c07] [MPAVController] Autoplay: Skipping autoplay, not enough buffered to keep up.
2012-09-13 17:45:09.318 app[32563:c07] [MPAVController] Autoplay: Enabling autoplay
2012-09-13 17:45:09.320 app[32563:c07] [MPCloudAssetDownloadController] Prioritization requested for media item ID: 0
Run Code Online (Sandbox Code Playgroud)

我正在使用基于http的流的MPMoviePlayerController,它在iOS 4或iOS 5上运行良好

关于如何修复它的任何想法?

streaming mpmovieplayercontroller ios ios-simulator ios6

17
推荐指数
3
解决办法
2万
查看次数

未找到符号:启动Instruments时_CFXMLNodeGetInfoPtr

我正在开发一个iPhone应用程序,到目前为止一切正常.我可以在模拟器中构建和启动应用程序.但是,当我现在用仪器启动应用程序时,我得到了错误:

Dyld Error Message:
Symbol not found: _CFXMLNodeGetInfoPtr
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Run Code Online (Sandbox Code Playgroud)

我用谷歌搜索,但没有找到解决方案.

希望有人可以帮助我.谢谢

iphone instruments

15
推荐指数
1
解决办法
5463
查看次数

MPMoviePlayerController模拟器崩溃

当我尝试播放任何视频时,我的MPMoviePlayerController崩溃了.

这只发生在模拟器上,在设备上正常工作.

错误如下:

2012-10-25 16:46:24.033 TheFasterChef[8529:14303] [MPAVController] Autoplay: Disabling autoplay for pause
2012-10-25 16:46:24.035 TheFasterChef[8529:14303] [MPAVController] Autoplay: Disabling autoplay
2012-10-25 16:46:24.172 TheFasterChef[8529:14303] [MPAVController] Autoplay: Skipping autoplay, disabled (for current item: 1, on player: 0)
2012-10-25 16:46:24.190 TheFasterChef[8529:14303] [MPAVController] Autoplay: Enabling autoplay
2012-10-25 16:46:24.227 TheFasterChef[8529:14303] [MPAVController] Autoplay: Likely to keep up or full buffer: 0
2012-10-25 16:46:24.227 TheFasterChef[8529:14303] [MPAVController] Autoplay: Skipping autoplay, not enough buffered to keep up.
2012-10-25 16:46:24.232 TheFasterChef[8529:14303] [MPAVController] Autoplay: Enabling autoplay
2012-10-25 16:46:24.238 TheFasterChef[8529:14303] [MPCloudAssetDownloadController] Prioritization requested …
Run Code Online (Sandbox Code Playgroud)

xcode mpmovieplayercontroller ios ios-simulator

15
推荐指数
2
解决办法
4889
查看次数

AVAudioPlayer立即停止使用ARC播放

我正在尝试播放MP3,通过AVAudioPlayer它我认为相当简单.不幸的是,它并没有完全奏效.这就是我所做的一切:

  • 为了测试,我在Xcode中创建了一个新的iOS应用程序(Single View).
  • 我加入了AVFoundation框架到项目中,以及在#import <AVFoundation/AVFoundation.h>ViewController.m

  • 我在应用'文档'文件夹中添加了一个MP3文件.

  • 我改为ViewControllers viewDidLoad:以下内容:

码:

- (void)viewDidLoad
{
    [super viewDidLoad];        

    NSString* recorderFilePath = [NSString stringWithFormat:@"%@/MySound.mp3", [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]];    

    AVAudioPlayer *audioPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:recorderFilePath] error:nil];
    audioPlayer.numberOfLoops = 1;

    [audioPlayer play];

    //[NSThread sleepForTimeInterval:20];
}
Run Code Online (Sandbox Code Playgroud)

不幸的是,音频在开始播放后显然会立即停止.如果我取消注释sleepForTimeInterval它会播放20秒并在之后停止.只有在使用ARC进行编译时才会出现此问题,否则,它会完美无缺地运行.

objective-c avfoundation avaudioplayer ios automatic-ref-counting

12
推荐指数
1
解决办法
7533
查看次数

错误:找不到符号:___ CFObjCIsCollectable

今天我在xcode上工作,当这个错误出现在应用程序的启动时,我的应用程序出了什么问题?

2012-07-29 19:29:58.682香槟酒[10601:1b03]错误加载/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn:dlopen的(/系统/库/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn,262):找不到符号:__ CFObjCIsCollectable引用自:/System/Library/Frameworks/Security.framework/Versions/A/Security
Expected在:在/系统/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation /库/框架/安全. framework/Versions/A/Security 2012-07-29 19:29:58.690 Champagne Pop [10601:1b03]加载/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn时出错:dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlug 在,262):找不到符号:_
_CFObjCIsCollectable从引用:/System/Library/Frameworks/Security.framework/Versions/A/Security
预计于:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/开发人员/ SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation in /System/Library/Frameworks/Security.framework/Versions/A/Security 2012-07-29 19:29:58.703 Champagne Pop [10601:1b03]加载错误/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn:dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn .bundle /内容/ MacOS的/ AppleHDAHALPlugIn,262):符号未找到:__ 从CFObjCIsCollectable引用:/System/Library/Frameworks/Security.framework/Versions/A/Security
预期在:/Applications/Xcode.app/Contents/Developer /Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundati on.framework/CoreFoundation in /System/Library/Frameworks/Security.framework/Versions/A/Security 2012-07-29 19:29:58.710 Champagne Pop [10601:1b03]加载错误/ System/Library/Extensions/AppleHDA. KEXT /内容/插件/ AppleHDAHALPlugIn.bundle /内容/ MacOS的/ AppleHDAHALPlugIn:dlopen的(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn,262):符号未找到: _
_CFObjCIsCollectable从引用:/System/Library/Frameworks/Security.framework/Versions/A/Security
预计于:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/Systems/Library/Frame/C////////////

iphone xcode symbols objective-c ios

6
推荐指数
2
解决办法
7399
查看次数

iPhone sdk中的OGG Vorbis

我想知道是否可以使用iPhone SDK播放Ogg Vorbis音频文件,或者是否存在允许此操作的库或框架.

我读过一些关于OpenAL的内容,但我没有找到任何教程......任何人都可以帮助我吗?

iphone audio ogg

5
推荐指数
1
解决办法
6147
查看次数

MPMoviePlayer错误加载文件

我正在尝试使用MPMoviePlayer播放一部简单的电影,我在控制台中不断收到此错误(但是电影正在播放):我的xcode版本是4.3.1.

2012-03-24 14:51:49.488 european_culture[450:17a07] Error loading /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn:  dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
2012-03-24 14:51:49.496 european_culture[450:17a07] Error loading /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn:  dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
2012-03-24 14:51:49.584 european_culture[450:17a07] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn:  dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /System/Library/Frameworks/Security.framework/Versions/A/Security
2012-03-24 14:51:49.592 european_culture[450:17a07] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn:  dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in …
Run Code Online (Sandbox Code Playgroud)

iphone simulator objective-c mpmovieplayer

3
推荐指数
1
解决办法
5109
查看次数