如何解决AdMob实施中的问题?

时间:2016-03-09 16:03:31

标签: ios admob

错误消息

  

2016-03-10 00:54:38.475 GoogleAdTest [2677:1499976]       Google移动广告SDK版:afma-sdk-i-v7.7.0

     

2016-03-10 00:54:38.475 GoogleAdTest [2677:1499976]        - [UIView setAdUnitID:]:无法识别的选择器发送到实例0x7fbed26188a0

     

2016-03-10 00:54:38.480 GoogleAdTest [2677:1499976]       ***由于未捕获的异常'NSInvalidArgumentException'终止应用程序,原因:' - [UIView setAdUnitID:]:无法识别的选择器发送到实例0x7fbed26188a0'

代码:

import {transient} from 'aurelia-framework';
@transient()
export class Card {
    //do stuff
}

1 个答案:

答案 0 :(得分:0)

希望,它会解决您的问题。转到项目设置>构建设置并将-ObjC设置为其他链接器标志。

enter image description here