2016-09-28 91 views
0

我正面临下面的错误。 最小的部署目标为8.0 我使用的Xcode 7.3.1体系结构x86_64的未定义符号:“_AVAudioSessionCategoryPlayback”,引用自

Undefined symbols for architecture x86_64: 
    "_AVAudioSessionCategoryPlayback", referenced from: 
     -[AppDelegate loadInitialParameters] in AppDelegate.o 
    "_AVAudioSessionInterruptionNotification", referenced from: 
     -[AppDelegate loadInitialParameters] in AppDelegate.o 
    "_AVAudioSessionInterruptionTypeKey", referenced from: 
     -[AppDelegate sessionDidInterrupt:] in AppDelegate.o 
    "_AVMetadataID3MetadataKeyGeneralEncapsulatedObject", referenced from: 
     -[BiscootAudioPlayer handleTimedMetadata:] in BiscootAudioPlayer.o 
    "_AVPlayerItemDidPlayToEndTimeNotification", referenced from: 
     -[BiscootAudioPlayer stopPlayer] in BiscootAudioPlayer.o 
     -[BiscootAudioPlayer dealloc] in BiscootAudioPlayer.o 
     -[BiscootAudioPlayer prepareToPlayAsset:withKeys:] in BiscootAudioPlayer.o 
     -[BiscootAudioPlayer updateCurrentTimeForPlayer] in BiscootAudioPlayer.o 
    "_CATransform3DConcat", referenced from: 
     -[CustomIOS7AlertView close] in CustomIOS7AlertView.o 
     ___28-[CustomIOS7AlertView close]_block_invoke in CustomIOS7AlertView.o 
     ___52+[MMDrawerVisualState slideAndScaleVisualStateBlock]_block_invoke in MMDrawerVisualState.o 
     ___51+[MMDrawerVisualState swingingDoorVisualStateBlock]_block_invoke in MMDrawerVisualState.o 
    "_CATransform3DIdentity", referenced from: 
     ___73-[MMExampleDrawerVisualStateManager drawerVisualStateBlockForDrawerSide:]_block_invoke in MMExampleDrawerVisualStateManager.o 
     ___52+[MMDrawerVisualState slideAndScaleVisualStateBlock]_block_invoke in MMDrawerVisualState.o 
     ___51+[MMDrawerVisualState swingingDoorVisualStateBlock]_block_invoke in MMDrawerVisualState.o 
     ___66+[MMDrawerVisualState parallaxVisualStateBlockWithParallaxFactor:]_block_invoke in MMDrawerVisualState.o 
     -[MMDrawerController applyOvershootScaleTransformForDrawerSide:percentVisible:] in MMDrawerController.o 
     -[MMDrawerController resetDrawerVisualStateForDrawerSide:] in MMDrawerController.o 
    "_CATransform3DMakeRotation", referenced from: 
     -[CustomIOS7AlertView close] in CustomIOS7AlertView.o 
     ___40-[SVPullToRefreshView rotateArrow:hide:]_block_invoke in UIScrollView+SVPullToRefresh.o 
    "_CATransform3DMakeScale", referenced from: 
     ___73-[MMExampleDrawerVisualStateManager drawerVisualStateBlockForDrawerSide:]_block_invoke in 

如果你们的朋友都遇到这个问题之前,好心帮。在生成设置了有效的架构

回答

1

添加64位x86和生成有源体系仅标记为NO

+0

上述方案不工作。 – iAviatorJose

+0

除此之外,您需要将AVFoundation.framework拖放到Project-> Target-> linked Frameworks and Libraries列表中。也许你也需要AVKit.framework – Alfishe

0

对于CATransform *错误,链接二进制与图书馆添加QuartzCore下构建阶段: enter image description here

相关问题