突然间我无法为iphone模拟器构建

时间:2009-09-21 01:04:05

标签: iphone xcode build ios-simulator

有时人们想要真的讨厌Apple开发环境。说真的,这需要复杂吗?

我的问题是这个。我不再能够将我的项目构建到模拟器。我收到以下错误。我意识到这是一个链接器错误 - 我不明白的是1)为什么这突然不再起作用,2)为什么它不会选择正确的SDK(这是链接器错误的原因)。

Apple Magik令人沮丧。

此外,我刚刚升级到Snow Leopard和XCode 3.2,虽然升级后它正在运行。

谢谢! 布赖恩

Ld build/Debug-iphonesimulator/ChunderCats.app/ChunderCats normal i386
cd /Users/bryan/projects/iPhone/ChunderCats
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk -L/Users/bryan/projects/iPhone/ChunderCats/build/Debug-iphonesimulator -L/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib -F/Users/bryan/projects/iPhone/ChunderCats/build/Debug-iphonesimulator -F/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/Frameworks -filelist /Users/bryan/projects/iPhone/ChunderCats/build/ChunderCats.build/Debug-iphonesimulator/ChunderCats.build/Objects-normal/i386/ChunderCats.LinkFileList -mmacosx-version-min=10.5 -framework Foundation -framework QuartzCore -framework UIKit -framework CoreGraphics -lsqlite3 -o /Users/bryan/projects/iPhone/ChunderCats/build/Debug-iphonesimulator/ChunderCats.app/ChunderCats

ld: warning: in /Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/Frameworks/Foundation.framework/Foundation, missing required architecture i386 in file
ld: warning: in /Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/Frameworks/QuartzCore.framework/QuartzCore, missing required architecture i386 in file
ld: warning: in /Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/Frameworks/UIKit.framework/UIKit, missing required architecture i386 in file
ld: warning: in /Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics, missing required architecture i386 in file
ld: warning: in /Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/libsqlite3.dylib, missing required architecture i386 in file
ld: warning: in /Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/libSystem.dylib, missing required architecture i386 in file
Undefined symbols:
  ".objc_class_name_UIApplication", referenced from:
      literal-pointer@__OBJC@__cls_refs@UIApplication in MenuViewController.o
  ".objc_class_name_NSNotificationCenter", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSNotificationCenter in MenuViewController.o
  ".objc_class_name_NSObject", referenced from:
      .objc_class_name_ChunderCatsAppDelegate in ChunderCatsAppDelegate.o
  "_kCAMediaTimingFunctionEaseInEaseOut", referenced from:
      _kCAMediaTimingFunctionEaseInEaseOut$non_lazy_ptr in MenuViewController.o
  "_sqlite3_free", referenced from:
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
  "_NSLog", referenced from:
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController didReceiveMemoryWarning] in MenuViewController.o
      -[MenuViewController applicationWillResignActive:] in MenuViewController.o
      -[MenuViewController applicationDidBecomeActive:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController checkDevice] in MenuViewController.o
      -[MenuViewController newGameButton:] in MenuViewController.o
      -[MenuViewController resumeGameButton:] in MenuViewController.o
      -[MenuViewController optionsButton:] in MenuViewController.o
      -[MenuViewController howToPlayButton:] in MenuViewController.o
      -[OptionsViewController soundSwitch:] in OptionsViewController.o
      -[OptionsViewController vibrateSwitch:] in OptionsViewController.o
      -[OptionsViewController bubbleThoughtsSwitch:] in OptionsViewController.o
      -[OptionsViewController backstorySwitch:] in OptionsViewController.o
      -[HowToPlayViewController prevButton:] in HowToPlayViewController.o
      -[HowToPlayViewController nextButton:] in HowToPlayViewController.o
  "_sqlite3_prepare_v2", referenced from:
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
  "_objc_setProperty", referenced from:
      -[ChunderCatsAppDelegate setWindow:] in ChunderCatsAppDelegate.o
      -[MenuViewController setHowToPlayButton:] in MenuViewController.o
      -[MenuViewController setOptionsButton:] in MenuViewController.o
      -[MenuViewController setResumeGameButton:] in MenuViewController.o
      -[MenuViewController setNewGameButton:] in MenuViewController.o
      -[MenuViewController setHowToPlayViewController:] in MenuViewController.o
      -[MenuViewController setOptionsViewController:] in MenuViewController.o
      -[MenuViewController setBasedOnATrueStoryImageView:] in MenuViewController.o
      -[MenuViewController setSplashImageView:] in MenuViewController.o
      -[MenuViewController setLogoImageView:] in MenuViewController.o
      -[MenuViewController setBackgroundImageView:] in MenuViewController.o
      -[OptionsViewController setBackButton:] in OptionsViewController.o
      -[OptionsViewController setBackstorySwitch:] in OptionsViewController.o
      -[OptionsViewController setBubbleThoughtsSwitch:] in OptionsViewController.o
      -[OptionsViewController setVibrateLabel:] in OptionsViewController.o
      -[OptionsViewController setVibrateSwitch:] in OptionsViewController.o
      -[OptionsViewController setSoundSwitch:] in OptionsViewController.o
      -[HowToPlayViewController setHowToPlayImageView:] in HowToPlayViewController.o
      -[HowToPlayViewController setBackButton:] in HowToPlayViewController.o
      -[HowToPlayViewController setNextButton:] in HowToPlayViewController.o
      -[HowToPlayViewController setPrevButton:] in HowToPlayViewController.o
      -[HowToPlayViewController setNextButtonView:] in HowToPlayViewController.o
      -[HowToPlayViewController setPrevButtonView:] in HowToPlayViewController.o
      -[HowToPlayViewController setHowToPlayImage7:] in HowToPlayViewController.o
      -[HowToPlayViewController setHowToPlayImage6:] in HowToPlayViewController.o
      -[HowToPlayViewController setHowToPlayImage5:] in HowToPlayViewController.o
      -[HowToPlayViewController setHowToPlayImage4:] in HowToPlayViewController.o
      -[HowToPlayViewController setHowToPlayImage3:] in HowToPlayViewController.o
      -[HowToPlayViewController setHowToPlayImage2:] in HowToPlayViewController.o
      -[HowToPlayViewController setHowToPlayImage1:] in HowToPlayViewController.o
  "_sqlite3_exec", referenced from:
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
  "_sqlite3_column_int", referenced from:
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
  "_exit", referenced from:
      start in crt1.10.5.o
  ".objc_class_name_CAMediaTimingFunction", referenced from:
      literal-pointer@__OBJC@__cls_refs@CAMediaTimingFunction in MenuViewController.o
  "_sqlite3_close", referenced from:
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
  "_sqlite3_step", referenced from:
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
  ".objc_class_name_NSBundle", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSBundle in MenuViewController.o
      literal-pointer@__OBJC@__cls_refs@NSBundle in HowToPlayViewController.o
  ".objc_class_name_UIColor", referenced from:
      literal-pointer@__OBJC@__cls_refs@UIColor in MenuViewController.o
  "_sqlite3_finalize", referenced from:
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
  "_UIApplicationWillResignActiveNotification", referenced from:
      _UIApplicationWillResignActiveNotification$non_lazy_ptr in MenuViewController.o
  ".objc_class_name_NSString", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSString in MenuViewController.o
  "_objc_msgSendSuper", referenced from:
      -[ChunderCatsAppDelegate dealloc] in ChunderCatsAppDelegate.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController didReceiveMemoryWarning] in MenuViewController.o
      -[MenuViewController dealloc] in MenuViewController.o
      -[OptionsViewController initWithNibName:bundle:] in OptionsViewController.o
      -[OptionsViewController viewDidLoad] in OptionsViewController.o
      -[OptionsViewController didReceiveMemoryWarning] in OptionsViewController.o
      -[OptionsViewController dealloc] in OptionsViewController.o
      -[HowToPlayViewController initWithNibName:bundle:] in HowToPlayViewController.o
      -[HowToPlayViewController viewDidLoad] in HowToPlayViewController.o
      -[HowToPlayViewController didReceiveMemoryWarning] in HowToPlayViewController.o
      -[HowToPlayViewController dealloc] in HowToPlayViewController.o
      -[IntroViewController didReceiveMemoryWarning] in IntroViewController.o
      -[IntroViewController dealloc] in IntroViewController.o
  ".objc_class_name_UIImage", referenced from:
      literal-pointer@__OBJC@__cls_refs@UIImage in MenuViewController.o
      literal-pointer@__OBJC@__cls_refs@UIImage in HowToPlayViewController.o
  ".objc_class_name_NSAutoreleasePool", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSAutoreleasePool in main.o
  "_sqlite3_open", referenced from:
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
  ".objc_class_name_NSTimer", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSTimer in MenuViewController.o
  "_UIApplicationWillTerminateNotification", referenced from:
      _UIApplicationWillTerminateNotification$non_lazy_ptr in MenuViewController.o
  "_NSSearchPathForDirectoriesInDomains", referenced from:
      -[MenuViewController dataFilePath] in MenuViewController.o
  "___CFConstantStringClassReference", referenced from:
      cfstring=MenuViewController in ChunderCatsAppDelegate.o
      cfstring=Init
 in MenuViewController.o
      cfstring=Failed to open database in MenuViewController.o
      cfstring=opened database: %@ in MenuViewController.o
      cfstring=CREATE TABLE IF NOT EXISTS FIELDS (ROW INTEGER PRIMARY KEY, FIELD_DATA REAL); in MenuViewController.o
      cfstring=Error creating table: %s in MenuViewController.o
      cfstring=executed: %@ in MenuViewController.o
      cfstring=SELECT ROW, FIELD_DATA FROM FIELDS ORDER BY ROW in MenuViewController.o
      cfstring=row=%d, value=%f in MenuViewController.o
      cfstring=png in MenuViewController.o
      cfstring=background-composite-left in MenuViewController.o
      cfstring=based-on-a-true-story in MenuViewController.o
      cfstring=splash in MenuViewController.o
      cfstring=intro-screen in MenuViewController.o
      cfstring=opacity in MenuViewController.o
      cfstring=name in MenuViewController.o
      cfstring=frame0Animation in MenuViewController.o
      cfstring=fadeOutAnimation in MenuViewController.o
      cfstring=frame1Animation in MenuViewController.o
      cfstring=fadeAnimation in MenuViewController.o
      cfstring=animation stopped: %@ in MenuViewController.o
      cfstring=frame2Animation in MenuViewController.o
      cfstring=[MainViewController] Received memory warning... in MenuViewController.o
      cfstring=application will resign active in MenuViewController.o
      cfstring=[MainViewController] applicationDidBecomeActive in MenuViewController.o
      cfstring=application will terminate in MenuViewController.o
      cfstring=YES in MenuViewController.o
      cfstring=NO in MenuViewController.o
      cfstring=Saving: soundOption=%@ in MenuViewController.o
      cfstring=INSERT OR REPLACE INTO FIELDS (ROW, FIELD_DATA) VALUES (%d, %f); in MenuViewController.o
      cfstring=Error updating tables: %s in MenuViewController.o
      cfstring=Saving: vibrateOption=%@ in MenuViewController.o
      cfstring=Saving: bubbleThoughts=%@ in MenuViewController.o
      cfstring=This device is: %@ in MenuViewController.o
      cfstring=iPhone in MenuViewController.o
      cfstring=data.sqlite3 in MenuViewController.o
      cfstring=new game in MenuViewController.o
      cfstring=resume game in MenuViewController.o
      cfstring=options in MenuViewController.o
      cfstring=OptionsViewController in MenuViewController.o
      cfstring=how to play in MenuViewController.o
      cfstring=HowToPlayViewController in MenuViewController.o
      cfstring=YES in OptionsViewController.o
      cfstring=NO in OptionsViewController.o
      cfstring=toggleSwitch = %@ in OptionsViewController.o
      cfstring=vibrateSwitch = %@ in OptionsViewController.o
      cfstring=bubbleThoughtsSwitch = %@ in OptionsViewController.o
      cfstring=backstorySwitch = %@ in OptionsViewController.o
      cfstring=png in HowToPlayViewController.o
      cfstring=how-to-play-01 in HowToPlayViewController.o
      cfstring=how-to-play-02 in HowToPlayViewController.o
      cfstring=how-to-play-03 in HowToPlayViewController.o
      cfstring=how-to-play-04 in HowToPlayViewController.o
      cfstring=how-to-play-05 in HowToPlayViewController.o
      cfstring=how-to-play-06 in HowToPlayViewController.o
      cfstring=how-to-play-07 in HowToPlayViewController.o
      cfstring=prev in HowToPlayViewController.o
      cfstring=next in HowToPlayViewController.o
  "_objc_msgSend", referenced from:
      _main in main.o
      _main in main.o
      _main in main.o
      -[ChunderCatsAppDelegate applicationDidFinishLaunching:] in ChunderCatsAppDelegate.o
      -[ChunderCatsAppDelegate applicationDidFinishLaunching:] in ChunderCatsAppDelegate.o
      -[ChunderCatsAppDelegate applicationDidFinishLaunching:] in ChunderCatsAppDelegate.o
      -[ChunderCatsAppDelegate applicationDidFinishLaunching:] in ChunderCatsAppDelegate.o
      -[ChunderCatsAppDelegate applicationDidFinishLaunching:] in ChunderCatsAppDelegate.o
      -[ChunderCatsAppDelegate dealloc] in ChunderCatsAppDelegate.o
      -[ChunderCatsAppDelegate dealloc] in ChunderCatsAppDelegate.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController initWithNibName:bundle:] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewDidLoad] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController viewTimer:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController animationDidStop:finished:] in MenuViewController.o
      -[MenuViewController didReceiveMemoryWarning] in MenuViewController.o
      -[MenuViewController didReceiveMemoryWarning] in MenuViewController.o
      -[MenuViewController viewDidUnload] in MenuViewController.o
      -[MenuViewController viewDidUnload] in MenuViewController.o
      -[MenuViewController viewDidUnload] in MenuViewController.o
      -[MenuViewController viewDidUnload] in MenuViewController.o
      -[MenuViewController dealloc] in MenuViewController.o
      -[MenuViewController dealloc] in MenuViewController.o
      -[MenuViewController dealloc] in MenuViewController.o
      -[MenuViewController dealloc] in MenuViewController.o
      -[MenuViewController dealloc] in MenuViewController.o
      -[MenuViewController dealloc] in MenuViewController.o
      -[MenuViewController dealloc] in MenuViewController.o
      -[MenuViewController dealloc] in MenuViewController.o
      -[MenuViewController dealloc] in MenuViewController.o
      -[MenuViewController dealloc] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController applicationWillTerminate:] in MenuViewController.o
      -[MenuViewController checkDevice] in MenuViewController.o
      -[MenuViewController checkDevice] in MenuViewController.o
      -[MenuViewController checkDevice] in MenuViewController.o
      -[MenuViewController dataFilePath] in MenuViewController.o
      -[MenuViewController dataFilePath] in MenuViewController.o
      -[MenuViewController optionsButton:] in MenuViewController.o
      -[MenuViewController optionsButton:] in MenuViewController.o
      -[MenuViewController optionsButton:] in MenuViewController.o
      -[MenuViewController optionsButton:] in MenuViewController.o
      -[MenuViewController optionsButton:] in MenuViewController.o
      -[MenuViewController howToPlayButton:] in MenuViewController.o
      -[MenuViewController howToPlayButton:] in MenuViewController.o
      -[MenuViewController howToPlayButton:] in MenuViewController.o
      -[MenuViewController howToPlayButton:] in MenuViewController.o
      -[MenuViewController howToPlayButton:] in MenuViewController.o
      -[OptionsViewController viewDidLoad] in OptionsViewController.o
      -[OptionsViewController viewDidLoad] in OptionsViewController.o
      ...

4 个答案:

答案 0 :(得分:3)

我今天刚刚为自己解决了这个问题。请在此处查看我的回答:Build Error - missing required architecture i386 in file

答案 1 :(得分:2)

当它应该链接到iPhoneSimulator.platform

时,它试图链接iPhoneOS.platform

展开链接构建结果时,您应该看到这一点:

setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk

我只能建议您使用目标构建设置的基本SDK iPhone部署目标属性以及项目的构建设置。

除此之外,我猜你的XCode安装而不是你的项目是个问题。

答案 2 :(得分:0)

非常令人沮丧。你能将其他项目编译到模拟器吗?

在一个案例中,我最终开始了一个全新的项目并将我的所有资产和文件都带进来。这听起来真的很糟糕,但与试图隔离我为打破它所做的任何事情相比,它是无痛的。

答案 3 :(得分:0)

您是否从Apple iPhone开发人员中心/页面/东西下载了新的Xcode? Snow Leopard附带的Xcode不附带iPhone库;这些仅在下载了非常大的2 + gig开发包后才可用。