MonoTouch app with iAds runs on simulator, crashes on device

后端 未结 1 1364
自闭症患者
自闭症患者 2021-01-14 03:48

A very simple one-page app that includes an ADBannerView crashes on the device whilst running fine in the simulator.

The crash is at the point of constructing the ma

1条回答
  •  迷失自我
    2021-01-14 03:59

    Ah, got it - I have to add the following flags (regardless of targeted OS version)

     -gcc_flags "-weak_framework iAd"
    

    This is all in MonoTouch 3.2.6 BTW. I haven't tried it in 4.x yet, but when I do I will update this issue.

    0 讨论(0)
提交回复
热议问题