It looks like you're new here. If you want to get involved, click one of these buttons!
main.lua:7: in main chunk' *** First throw call stack: ( 0 CoreFoundation 0x0288b1e4 __exceptionPreprocess + 180 1 libobjc.A.dylib 0x025548e5 objc_exception_throw + 44 2 Lost Caverns 0x0012e0e9 _ZN18ApplicationManager8luaErrorEPKc + 233 3 Lost Caverns 0x0012da63 _ZN18ApplicationManager12loadLuaFilesEv + 581 4 Lost Caverns 0x0012d2ef _ZN18ApplicationManagerC2EP6UIViewiib + 1059 5 Lost Caverns 0x0012e9e4 gdr_initialize + 68 6 Lost Caverns 0x00002cc8 -[AppDelegate application:didFinishLaunchingWithOptions:] + 2024 7 UIKit 0x00fe714f -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 309 8 UIKit 0x00fe7aa1 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1810 9 UIKit 0x00fec667 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824 10 UIKit 0x01000f92 -[UIApplication handleEvent:withNewEvent:] + 3517 11 UIKit 0x01001555 -[UIApplication sendEvent:] + 85 12 UIKit 0x00fee250 _UIApplicationHandleEvent + 683 13 GraphicsServices 0x03b4bf02 _PurpleEventCallback + 776 14 GraphicsServices 0x03b4ba0d PurpleEventCallback + 46 15 CoreFoundation 0x02806ca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53 16 CoreFoundation 0x028069db __CFRunLoopDoSource1 + 523 17 CoreFoundation 0x0283168c __CFRunLoopRun + 2156 18 CoreFoundation 0x028309d3 CFRunLoopRunSpecific + 467 19 CoreFoundation 0x028307eb CFRunLoopRunInMode + 123 20 UIKit 0x00febd9c -[UIApplication _run] + 840 21 UIKit 0x00fedf9b UIApplicationMain + 1225 22 Lost Caverns 0x00002396 main + 134 23 Lost Caverns 0x00002305 start + 53 ) libc++abi.dylib: terminating with uncaught exception of type LuaException (lldb) |
Likes: Giliapps
Comments
main.lua:7: in main chunk'
is there anything specific in your main.lua 7th line?
Try reexporting assets only
Did it work before adding AdsInterface?
Here's some screenshots of the project structure and my project folder structure, along with the admob header file.
I'm sure I'm putting the files in the wrong place, but I can't figure it out.
there could be two problems:
1) your xcode does not support, modules (which would be interesting, because I think Gideros ios template support it by default), in which case you need to set "Defines Modules" to YES in the Build Settings
2) Your path is messed up and it can't find the admob framework, in which case check the "Framework Search Paths" and check if there is a path to Plugins and that path is not escaped (as it sometimes happens)
Likes: Tom2012
Thanks I'll try this
Upgrading to Xcode 6 fixed this (along with the required update to OS 'El Capitan'... what's with these update names?!)
One error that might need adding to the plugin... I had to download readability.h / m from apple and add it to the project to get rid of another error.
All working now.
https://github.com/gideros/gideros/blob/master/plugins/ads/source/iOS/Plugins/Ads/Reachability.h