好日子 - 幾天過去了,而我試圖運輸我的xcode 4.02
項目(從mac os x 6)到xcode 4.3
(mac os x lion) 因此它是完全失敗((問題是[蘋果Mach-O的鏈接ID錯誤]運輸項目從xcode 4.02 - 4.3
問題開始時我添加
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions: (NSDictionary *)launchOptions
{
//This one BaseView* testView = [[BaseView alloc] initWithFrame:CGRectMake(0.0f, 20.0f, 320.0f, 460.0f)];
// [self.window addSubview:testView];
[self.window makeKeyAndVisible];
return YES;
}
,這讓我這個錯誤
Ld "/Users/alex/Library/Developer/Xcode/DerivedData/Табло_Аэропортов-eijvojjtdhkznwhcqentolpelkxm/Build/Products/Debug-iphonesimulator/Табло Аэропортов.app/Табло Аэропортов" normal i386 cd "/Users/alex/Desktop/Табло Аэропортов" setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH "/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Volumes/Xcode/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Volumes/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -L/Users/alex/Library/Developer/Xcode/DerivedData/Табло_Аэропортов-eijvojjtdhkznwhcqentolpelkxm/Build/Products/Debug-iphonesimulator -F/Users/alex/Library/Developer/Xcode/DerivedData/Табло_Аэропортов-eijvojjtdhkznwhcqentolpelkxm/Build/Products/Debug-iphonesimulator -filelist "/Users/alex/Library/Developer/Xcode/DerivedData/Табло_Аэропортов-eijvojjtdhkznwhcqentolpelkxm/Build/Intermediates/Табло Аэропортов.build/Debug-iphonesimulator/Табло Аэропортов.build/Objects-normal/i386/Табло Аэропортов.LinkFileList" -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -framework UIKit -framework Foundation -framework CoreGraphics -framework CoreData -framework QuartzCore -o "/Users/alex/Library/Developer/Xcode/DerivedData/Табло_Аэропортов-eijvojjtdhkznwhcqentolpelkxm/Build/Products/Debug-iphonesimulator/Табло Аэропортов.app/Табло Аэропортов"
Undefined symbols for architecture i386: "_OBJC_CLASS_$_BaseView", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
似乎像石英核心或mac os x版本的一些問題。 Dunna知道該怎麼做(
謝謝)))!那麼現在是時候瞭解那些討厭autoreleases保留下來的新弧(等等)了 – Morckovka