I am following the AdMob example exactly, but here’s a couple snippets:
-- Build.settings plugins = { ["CoronaProvider.ads.admob"] = { -- required publisherId = "com.coronalabs", }, ["plugin.openudid"] = { -- required publisherId = "com.coronalabs", }, }, -- How I am requiring it ads = require("ads")
Here’s the error when I build:
2013-04-23 22:23:13.362 Corona Simulator[20637:707] Using Custom Build Id d07a3656fbc0240f6dd3ca5bf5aa923f
Using additional build settings from: /path/build.settings
Runtime error
…shen/Desktop/Game.app/.build/libtemplate/Builder.lua:239: <error>{“status”:256,“message”:“ld: library not found for -lads-admob\nclang: error: linker command failed with exit code 1 (use -v to see invocation)”}</error>
stack traceback:
[C]: ?
[C]: in function ‘assert’
…shen/Desktop/Game.app/.build/libtemplate/Builder.lua:239: in function ‘checkError’
…shen/Desktop/Game.app/.build/libtemplate/Builder.lua:262: in function ‘build’
?: in function ‘buildExe’
?: in function <?:692>
Runtime error: …shen/Desktop/Game.app/.build/libtemplate/Builder.lua:239: <error>{“status”:256,“message”:“ld: library not found for -lads-admob\nclang: error: linker command failed with exit code 1 (use -v to see invocation)”}</error>
stack traceback:
[C]: ?
[C]: in function ‘assert’
…shen/Desktop/Game.app/.build/libtemplate/Builder.lua:239: in function ‘checkError’
…shen/Desktop/Game.app/.build/libtemplate/Builder.lua:262: in function ‘build’
?: in function ‘buildExe’
?: in function <?:692>
This is occurring when I build for iOS. I am using build 1093 (latest daily).