4
我不明白爲什麼會發生這種情況。我想我們CMTimeMake:架構i386的未定義符號:「_CMTimeMake」,引用自:
CMTime cmTime = CMTimeMake(60, 1);
的.h
的進口:
#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>
#import <AVFoundation/AVFoundation.h>
和.m
是:
#import "ViewController.h"
#import "ContentView.h"
#import "AppDelegate.h"
#import "BackButton.h"
#import "NavButton.h"
#import "IIViewDeckController.h"
#import "TutorialView.h"
隨着生成錯誤:
Undefined symbols for architecture i386:
"_CMTimeMake", referenced from:
-[ViewController activateLockScreenPlayer:] in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我錯過了什麼?
Wooow,你是好。很好的接觸gif。 – Jacksonkr 2014-09-26 20:31:18