【问题标题】:How to solve armv6, armv7 problem in order to distrubute my app?如何解决 armv6、armv7 问题以分发我的应用程序?
【发布时间】:2011-07-30 12:48:00
【问题描述】:

为了通过 App Store 分发我的应用程序,
让我的应用在 armv6 和 armv7 中都可以执行是否有必要?

我将 xcode 版本升级到 4 后,我的应用程序无法编译。
因为外部库不支持 armv7。

这是错误信息。

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_WXRadioItem", referenced from:
      objc-class-ref in WunderRadioAppDelegate.o
      objc-class-ref in SkinViewController.o
  "_ExpandString", referenced from:
      -[DebugController runPressed:] in DebugController.o
      -[DebugController lngPressed:] in DebugController.o
      -[SkinViewController expandString:] in SkinViewController.o
  "_Status_SetNewStatusByKey", referenced from:
      -[WunderRadioAppDelegate applicationDidReceiveMemoryWarning:] in         WunderRadioAppDelegate.o
  "_OBJC_CLASS_$_FavoriteViewController", referenced from:
      objc-class-ref in WunderRadioAppDelegate.o
  "_CMAudioPlayerAudioIsAvailableNotification", referenced from:
      -[DebugController gotRunNotification:] in DebugController.o
      -[DebugController gotLngNotification:] in DebugController.o
  "_OBJC_CLASS_$_EnhancedAlertView", referenced from:
  objc-class-ref in DebugController.o
  "_OBJC_CLASS_$_RadioTimeBrowser", referenced from:
      objc-class-ref in WunderRadioAppDelegate.o
  objc-class-ref in SkinViewController.o
  "_OBJC_CLASS_$_Reachability", referenced from:
      objc-class-ref in WunderRadioAppDelegate.o
  "_gStreamingAudioPlayerTimerMax", referenced from:
      -[PreferenceViewController initWithNibName:bundle:] in PreferenceViewController.o
      -[PreferenceViewController makemp3Buffer:] in PreferenceViewController.o
  "_OBJC_CLASS_$_WebViewController", referenced from:
      objc-class-ref in WunderRadioAppDelegate.o
  "_CMAudioPlayerAudioDidStopNotification", referenced from:
      -[DebugController gotLngNotification:] in DebugController.o
      -[SkinViewController initWithNibName:bundle:] in SkinViewController.o
  "_OBJC_CLASS_$_MusicViewController", referenced from:
      objc-class-ref in WunderRadioAppDelegate.o
  "_OBJC_CLASS_$_WBSettingsManager", referenced from:
      objc-class-ref in WunderRadioAppDelegate.o
      objc-class-ref in PreferenceViewController.o
  "_OBJC_CLASS_$_SettingsAndKeyChainStorage", referenced from:
  objc-class-ref in WunderRadioAppDelegate.o
      objc-class-ref in DebugController.o
      objc-class-ref in SkinViewController.o
  "_CMAudioPlayerAudioIsDoneNotification", referenced from:
      -[DebugController gotLngNotification:] in DebugController.o
  "_OBJC_CLASS_$_WebAudioPlayer", referenced from:
      objc-class-ref in SkinViewController.o
  "_OBJC_CLASS_$_URLBackgroundOperation", referenced from:
      objc-class-ref in SkinViewController.o
  "_CMAudioPlayerAudioDidPlayNotification", referenced from:
      -[SkinViewController initWithNibName:bundle:] in SkinViewController.o
  "_Status_SetNewStatusString", referenced from:
      -[SkinViewController setShowingPlay:] in SkinViewController.o
  "_Status_GetCurrentStatus", referenced from:
      -[LevelMeterView updateBargraph:] in LevelMeterView.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status

任何帮助/建议将不胜感激。

提前致谢。

【问题讨论】:

  • 如果“有效架构”是“仅 armv 6”会怎样?那么我可以将我的应用提交到 App Store 吗?

标签: iphone xcode app-store appstore-approval


【解决方案1】:

是的,您可以通过这种方式提交它,但这并不可取,因为编译器不会针对较新的手机进行优化。您应该获得更新的库以支持 armv7 和 i386

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-16
    • 1970-01-01
    • 1970-01-01
    • 2012-08-01
    • 2021-06-04
    相关资源
    最近更新 更多