Hello, I am trying to integrate admob (for iOS) using the Ads Interface (beta), I did all the installation steps listed in the documentation but I always get this error in XCode:
module 'ads' not found:
no field package.preload['ads']
no file './ads.lua'
no file '/usr/local/share/lua/5.1/ads.lua'
no file '/usr/local/share/lua/5.1/ads/init.lua'
no file '/usr/local/lib/lua/5.1/ads.lua'
no file '/usr/local/lib/lua/5.1/ads/init.lua'
no file './ads.so'
no file '/usr/local/lib/lua/5.1/ads.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
the error is happening when trying to execute : require ("ads"), any help please?? Thanks
Comments
it seems that the sources to adsbinder.cpp can not be found or are not executed.
So you did copy the Ads folder into Plugins folder of your exported project, right?
And then you added this folder through XCode Add Files to Project and selected the Ads folder or added resources one by one, right?
To get test ads on this device, call: request.testDevices = [NSArray arrayWithObjects:@b857ecdaa43d8160c2f9e8ddfd20d31d, nil];
*visit(TimerEvent* v)* stack NOT ok begin:0 end:2 delta:0
*CppLuaBridge::luaEvent* stack NOT ok begin:0 end:2 delta:0
*enterFrame* stack NOT ok begin:0 end:2 delta:0
Click the blue top-level project icon in XCode (with project name where all the files are listed)
Choose your target and go to Build Settings
Under Other Linker Flags add -ObjC for both Release and Debug
Likes: ar2rsawseen