0

我需要在 iPhone 应用程序中播放 RTSP 音频流,所以我一直在尝试运行 Wunderradio 代码 (http://wunderradio.com/code.html) 但我遇到了一些错误(复制如下)..

通常像这样的错误意味着没有安装框架,但在这种情况下,它们似乎都存在并且正确。

有没有人可以运行 Wunderadio 代码?我被困住了!

  "_OBJC_CLASS_$_MusicViewController", referenced from:


  objc-class-ref-to-MusicViewController in WunderRadioAppDelegate.o


  "_OBJC_CLASS_$_URLBackgroundOperation", referenced from:


  objc-class-ref-to-URLBackgroundOperation in SkinViewController.o


  "_Status_GetCurrentStatus", referenced from:


  -[LevelMeterView updateBargraph:] in LevelMeterView.o


  "_OBJC_CLASS_$_FavoriteViewController", referenced from:


  objc-class-ref-to-FavoriteViewController in WunderRadioAppDelegate.o


  "_Status_SetNewStatusByKey", referenced from:


  -[WunderRadioAppDelegate applicationDidReceiveMemoryWarning:] in WunderRadioAppDelegate.o


  "_CMAudioPlayerAudioDidStopNotification", referenced from:


  _CMAudioPlayerAudioDidStopNotification$non_lazy_ptr in DebugController.o


 (maybe you meant: _CMAudioPlayerAudioDidStopNotification$non_lazy_ptr)


  "_CMAudioPlayerAudioIsAvailableNotification", referenced from:


  _CMAudioPlayerAudioIsAvailableNotification$non_lazy_ptr in DebugController.o


 (maybe you meant: _CMAudioPlayerAudioIsAvailableNotification$non_lazy_ptr)


  "_Status_SetNewStatusString", referenced from:


  -[SkinViewController setShowingPlay:] in SkinViewController.o


   "_OBJC_CLASS_$_RadioTimeBrowser", referenced from:


  objc-class-ref-to-RadioTimeBrowser in WunderRadioAppDelegate.o


   "_gStreamingAudioPlayerTimerMax", referenced from:


  _gStreamingAudioPlayerTimerMax$non_lazy_ptr in PreferenceViewController.o


 (maybe you meant: _gStreamingAudioPlayerTimerMax$non_lazy_ptr)


  "_OBJC_CLASS_$_WebViewController", referenced from:


  objc-class-ref-to-WebViewController in WunderRadioAppDelegate.o


  "_CMAudioPlayerAudioIsDoneNotification", referenced from:


  _CMAudioPlayerAudioIsDoneNotification$non_lazy_ptr in DebugController.o


 (maybe you meant: _CMAudioPlayerAudioIsDoneNotification$non_lazy_ptr)


  "_OBJC_CLASS_$_EnhancedAlertView", referenced from:


  objc-class-ref-to-EnhancedAlertView in DebugController.o


  "_OBJC_CLASS_$_WXRadioItem", referenced from:


  objc-class-ref-to-WXRadioItem in WunderRadioAppDelegate.o


  "_OBJC_CLASS_$_SettingsAndKeyChainStorage", referenced from:


  objc-class-ref-to-SettingsAndKeyChainStorage in WunderRadioAppDelegate.o


  "_OBJC_CLASS_$_Reachability", referenced from:


  objc-class-ref-to-Reachability in WunderRadioAppDelegate.o


  "_OBJC_CLASS_$_WBSettingsManager", referenced from:


  objc-class-ref-to-WBSettingsManager in WunderRadioAppDelegate.o


  "_CMAudioPlayerAudioDidPlayNotification", referenced from:


  _CMAudioPlayerAudioDidPlayNotification$non_lazy_ptr in SkinViewController.o


 (maybe you meant: _CMAudioPlayerAudioDidPlayNotification$non_lazy_ptr)


  "_ExpandString", referenced from:


  -[DebugController runPressed:] in DebugController.o


  -[DebugController lngPressed:] in DebugController.o


  -[SkinViewController expandString:] in SkinViewController.o


  "_OBJC_CLASS_$_WebAudioPlayer", referenced from:


  objc-class-ref-to-WebAudioPlayer in SkinViewController.o


   ld: symbol(s) not found


    collect2: ld returned 1 exit status

还有其他人可以运行 Wunderadio 代码吗?谢谢!

4

2 回答 2

2

我认为您现在只能构建设备目标。Common/build/release-iphonesimulator/libcommon.a 中的符号似乎与您当前的编译器具有不同的命名修饰。例如,使用“.objc_class_name_MusicViewController”,但“_OBJC_CLASS_$_MusicViewController”除外。我将范围纳入 libcommon.a 并显示它是使用 iphone os sdk 3.1 和 gcc 4.2.1 5577 (x86) 构建的,也许他们只在设备上测试并忘记同步模拟器库?

于 2011-03-04T22:54:40.583 回答
0

将 Command 或 RadioShared 文件夹中的文件添加到项目中。

于 2011-01-25T02:01:51.993 回答