1,将目录admob
sdk 加载入工程,在Xcode->TARGETS->Build
Seetings->Linking->Other Linker Flags中添加"-ObjC"
2,USE IN ARC ===>-fno-objc-arc
If your project is compiled with ARC, you‘ll need to disable it for the IASK files. You can do so by adding -fno-objc-arc in the "Compile Sources" phase. You can select all the relevant files at once with shift-click and then double-click in the Compiler Flags
column to enter the text.
3.1 添加相关的Framework到库,在Xcode->TARGETS->Build
Phases->Link Binary With Libraries中添加: