1

我正在跳入 CoreAudio 的可怕飞跃。我已经下载了名为“LoadPresetDemo”的苹果演示。我没有对苹果的原始代码进行任何修改。当我尝试运行它时,它编译没有错误,但模拟器冻结并显示“线程 1:singal SIGABRT”。然后在调试窗口中列出了 9 个线程。如果这有助于任何人弄清楚发生了什么,我已经包含了下面的命令行信息,但我应该能够毫无问题地运行苹果编写的东西。如果该信息有任何用处,我在这台计算机上安装了 Digidesign Protools。我在这里不知所措,我不知道下一步该做什么。谁能帮我?

2012-05-07 18:30:21.453 加载预设[852:10703] 加载/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):找不到符号:__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/CoreFoundation.framework/CoreFoundation in /System/Library/Frameworks/Security.framework/Versions/A/Security 2012-05-07 18:30:21.510 加载预设[852:10703] 加载/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 ):未找到符号:__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/CoreFoundation.framework/CoreFoundation in /System/Library/Frameworks/Security.framework/Versions/A/Security 2012-05-07 18:30:21.549 加载预设[852:10703] 加载/System/时出错库/扩展/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/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/ System/Library/Frameworks/CoreFoundation.framework/CoreFoundation in /System/Library/Frameworks/Security.framework/Versions/A/Security 2012-05-07 18:30:21.558 加载预设[852:10703] 加载/System/时出错库/扩展/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/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/ System/Library/Frameworks/CoreFoundation.framework/CoreFoundation in /System/Library/Frameworks/Security.framework/Versions/A/Security 2012-05-07 18:30:21.575 Load Presets[852:10703] Error loading /System/库/扩展/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/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/ System/Library/Frameworks/CoreFoundation.framework/CoreFoundation in /System/Library/Frameworks/Security.framework/Versions/A/Security 2012-05-07 18:30:21.583 加载预设[852:10703] 加载/System/时出错库/扩展/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/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/ System/Library/Frameworks/CoreFoundation.framework/CoreFoundation in /System/Library/Frameworks/Security.framework/Versions/A/Security 2012-05-07 18:30:21.601 加载预设 [852:10703] 加载 /System/ 时出错库/扩展/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/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/ /System/Library/Frameworks/Security.framework/Versions/A/Security 中的 System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 2012-05-07 18:30:21.609 加载预设 [852:10703] 加载 /System/ 时出错库/扩展/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/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/ System/Library/Frameworks/CoreFoundation.framework/CoreFoundation in /System/Library/Frameworks/Security.framework/Versions/A/Security 2012-05-07 18:30:21.698 Load Presets[852:10703] Error loading /Library/音频/插件/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio:dlopen(/Library/Audio/Plug-Ins/HAL/Digidesign CoreAudio.plugin/Contents/MacOS/Digidesign CoreAudio,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/CoreFoundation.framework/CoreFoundation 在/System/Library/Frameworks/Security.framework/Versions/A/Security 2012-05-07 18:30:21.699加载预设[852:10703] 在 CFBundle/CFPlugIn 0x737e530 中找不到工厂 B8A063B5-2F3D-444A-88CB-D0B8F1B22042 的函数指针 NewDigiCoreAudioPlugIn(捆绑,未加载)2012-05-07 18:30:21.7104 加载预设[852:10 ]714 加载预设[852:10703]714 加载预设[852:10703]* 断言失败 -[MainViewController configureAndStartAudioProcessingGraph:], /Users/micha liberman/Documents/Objective C Lessons/__Drop Droper Resources/LoadPresetDemo/LoadPresetDemo/Classes/MainViewController.m:170 2012-05-07 18:30:21.715 加载预设[852:10703]由于未捕获的异常“NSInternalInconsistencyException”而终止应用程序,原因:“AudioUnitSetProperty(设置采样器单元输出流采样率)。Error code: -10865 'è'ˇˇ'' * * First throw call stack: (0x17a6022 0x28afcd6 0x174ea48 0xe312cb 0x3242 0x5293 0x21c9 0x498386 0x499274 0x4a8183 0x4a8c38 0x49c634 0x2e49ef5 0x177a195 0x16deff2 0x16dd8da 0x16dcd84 0x16dcc9b 0x498c65 0x49a626 0x20fc 0x20a5 0x1) terminate called throwing an exception

4

1 回答 1

0

我得到的和你描述的完全一样。

在 [your-app-name]-Info.plist 中(它位于第一个选项卡“显示项目导航器”下)删除“主 nib 文件基本名称(iPad)”行,内容如下,直到行尾.

干杯,矩阵3003

于 2013-02-15T23:59:23.220 回答