6

なぜこれが起こっているのかわかりません。私は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)

私は何が欠けていますか?

4

1 に答える 1