2013-10-19 3 views
0

여기 비교적 새로운 해요,하지만 난 애플 마하-O 링커 오류가 있어요 : Error신참 오류 애플 마하-O 링커 오류

이 내 애플 대리자입니다! // // AppDelegate.m // VCContainmentTut // // 2012 년 1 월 5 일 A Khan 작성. // 저작권 (c) 2013 AK. 판권 소유. //

#import "AppDelegate.h" 
#import "RootController.h" 
#import "ViewController.h" 
#import "VidViewController.h" 
#import "SelectVideo1.h" 

@implementation AppDelegate 

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 
{ 

    VidViewController *vidViewController = [[VidViewController alloc] init]; 
    UINavigationController *navController1 = [[UINavigationController alloc] initWithRootViewController:vidViewController]; 
[self.window setRootViewController:navController1]; 

    SelectVideo1 *selectVideo1 = [[SelectVideo1 alloc] initWith:@"Movie Trailers"]; 
    //[self.navController pushViewController:selectVideo1 animated:YES]; 


    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 
    UIStoryboard *tabStoryBoard = [UIStoryboard storyboardWithName:@"TabStoryboard" bundle:nil]; 
    UIStoryboard *navStoryBoard = [UIStoryboard storyboardWithName:@"NavStoryboard" bundle:nil]; 
    UINavigationController *navController = [navStoryBoard instantiateViewControllerWithIdentifier:@"Nav Controller"]; 
    UITabBarController *tabController = [tabStoryBoard instantiateViewControllerWithIdentifier:@"Tab Controller"]; 
    ViewController *redVC, *greenVC; 
    redVC = [[ViewController alloc] init]; 
    greenVC = [[ViewController alloc] init]; 

    redVC.view.backgroundColor = [UIColor redColor]; 
    greenVC.view.backgroundColor = [UIColor greenColor]; 

    RootController *menuController = [[RootController alloc] 
             initWithViewControllers:@[tabController, redVC, greenVC, navController, selectVideo1] 
             andMenuTitles:@[@"Cheats", @"Videos", @"WalkThroughs", @"Nav"]]; 
    self.window.rootViewController = menuController; 
    self.window.backgroundColor = [UIColor whiteColor]; 
    [self.window makeKeyAndVisible]; 
    return YES; 
} 



@end 
+0

프레임 워크 MediaPlayer.framework를 프로젝트에 추가 했습니까? – Wain

+0

Ah를 추가 한 후 3 개의 오류가 제거되었습니다. 그러나 몇 가지 다른 남아 있습니다. 예를 들면 :에서 참조 "_SecCertificateCopyData": - [AFURLConnectionOperation 연결 : willSendRequestForAuthenticationChallenge는 :] AFURLConnectionOperation.o – user2898924

+0

http://i.imgur.com/sQK1Js5.png – user2898924

답변

0

귀하의 오류가이 프로젝트 (그래서 링커) 존재를 말하지 않은 코드를 사용하려고에 의해 발생합니다. 종속성을 프로젝트에 추가해야합니다. 이 경우 사용하려고하는 기능을 정의하는 프레임 워크입니다.