Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 架构arm64的未定义符号-谷歌移动广告_Objective C_Xcode_Admob - Fatal编程技术网

Objective c 架构arm64的未定义符号-谷歌移动广告

Objective c 架构arm64的未定义符号-谷歌移动广告,objective-c,xcode,admob,Objective C,Xcode,Admob,我正在尝试添加谷歌移动广告SDK 7.6 但是我犯了很多错误,我解决不了。在这里我有一些错误 Undefined symbols for architecture arm64: "_UITransitionContextFromViewControllerKey", referenced from: -[GADViewControllerFullScreenSwipeAnimation animateTransition:] in GoogleMobileAds(GADV

我正在尝试添加谷歌移动广告SDK 7.6

但是我犯了很多错误,我解决不了。在这里我有一些错误

    Undefined symbols for architecture arm64:
  "_UITransitionContextFromViewControllerKey", referenced from:
      -[GADViewControllerFullScreenSwipeAnimation animateTransition:] in GoogleMobileAds(GADViewControllerFullScreenSwipeAnimation.o)
      -[GADViewControllerFullScreenSwipeAnimation animationContextForRestoringAnimationToSavedState:] in GoogleMobileAds(GADViewControllerFullScreenSwipeAnimation.o)
  "_UITransitionContextToViewControllerKey", referenced from:
      -[GADViewControllerFullScreenSwipeAnimation animateTransition:] in GoogleMobileAds(GADViewControllerFullScreenSwipeAnimation.o)
      -[GADViewControllerFullScreenSwipeAnimation animationContextForTopToBottomAnimationPresentationWithTransitionContext:] in GoogleMobileAds(GADViewControllerFullScreenSwipeAnimation.o)
      -[GADViewControllerFullScreenSwipeAnimation animationContextForBottomToTopAnimationPresentationWithTransitionContext:] in GoogleMobileAds(GADViewControllerFullScreenSwipeAnimation.o)
  "_OBJC_CLASS_$_UIScrollView", referenced from:
      objc-class-ref in GoogleMobileAds(GADSlot+SwipeToViewController.o)
  "_OBJC_CLASS_$_UIPasteboard", referenced from:
      objc-class-ref in GoogleMobileAds(GADAdView.o)
  "_UIImageWriteToSavedPhotosAlbum", referenced from:
      -[GADMRAIDPicture storeImage:] in GoogleMobileAds(GADMRAIDPicture.o)
  "_CGSizeFromString", referenced from:
      _GADCGSizeFromString in GoogleMobileAds(GADAdSize.o)
  "_CATransform3DMakeRotation", referenced from:
      -[GADAdView(VideoAdditions) rotateVideoToDegrees:] in GoogleMobileAds(GADAdView+VideoAdditions.o)
  "_OBJC_METACLASS_$_UIGestureRecognizer", referenced from:
      _OBJC_METACLASS_$_GADImpressionTicketGestureRecognizer in GoogleMobileAds(GADImpressionTicketGestureRecognizer.o)
      _OBJC_METACLASS_$_GADAdViewTouchGestureRecognizer in GoogleMobileAds(GADAdViewTouchGestureRecognizer.o)
  "_OBJC_CLASS_$_UIGestureRecognizer", referenced from:
      _OBJC_CLASS_$_GADImpressionTicketGestureRecognizer in GoogleMobileAds(GADImpressionTicketGestureRecognizer.o)
      _OBJC_CLASS_$_GADAdViewTouchGestureRecognizer in GoogleMobileAds(GADAdViewTouchGestureRecognizer.o)
  "_UIViewNoIntrinsicMetric", referenced from:
      -[GADBannerView intrinsicContentSize] in GoogleMobileAds(GADBannerView.o)

谢谢大家!

我找到了解决办法。我不得不使用
@import GoogleMobileAds而不是使用
#导入

这解决了我的问题