突然,我不能够建立在iPhone模拟器(Suddenly I am not able to buil

2019-08-08 06:10发布

有时候,一个人想真的很讨厌苹果开发环境。 严重的是,它需要将这个复杂?

我的问题是这样的。 我不再能够建立我的项目的模拟器。 我收到以下错误。 我知道这是一个链接错误 - 我不明白的是1)为什么突然不再工作,和2)怎么就​​不会选择正确的SDK(这是链接器错误的原因)。

苹果玛姬是疯狂的折腾。

另外,我最近刚刚升级到雪豹的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
      ...

Answer 1:

我今天刚刚解决了这个问题,为我自己。 看到这里我的答案是: 建立自己的错误-缺少文件所需i386硬件架构



Answer 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

我只能建议与您的目标构建设置和项目的构建设置基础SDKiPhone部署目标的属性玩。

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



Answer 3:

这是非常令人沮丧的。 你能编译其他项目模拟器?

在一种情况下,我最终开始了一个全新的项目,并把我的所有资产和文件。这听起来很糟糕,但比起试图孤立不管它是什么我做了,打破它这是无痛的。



Answer 4:

你已经从苹果的iPhone开发人员中心/网页/下载的东西,新的Xcode? 随雪豹Xcode的不来与iPhone库; 那些只是下载赫然大小的2 +演出开发包后可用。



文章来源: Suddenly I am not able to build for the iphone simulator