Hi,
I have created a book using corona/kwik and I have tried to run it on iOS using CoronaCards and followed steps given in http://docs.coronalabs.com/daily/coronacards/ios/index.html
I can open the book in Corona simulator just fine, but on iOS using CoronaCards I get the error bellow. Should I do something else with the build of the book or…?
Thanks for the solution.
Error:
[AppDelegate view]: unrecognized selector sent to instance 0xad42d30
2014-08-11 18:37:02.281 DemoCorona[4592:60b] Generic error
NSInvalidArgumentException: -[AppDelegate view]: unrecognized selector sent to instance 0xad42d30
(
0 CoreFoundation 0x033441e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x0026f8e5 objc_exception_throw + 44
2 CoreFoundation 0x033e1243 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
3 CoreFoundation 0x0333450b ___forwarding___ + 1019
4 CoreFoundation 0x033340ee _CF_forwarding_prep_0 + 14
5 DemoCorona 0x00015fe9 _ZNK3Rtt12IPhoneDevice18BeginNotificationsENS_15MPlatformDevice10_EventTypeE + 777
6 DemoCorona 0x0009ef8c _ZN3Rtt12LuaLibSystem13BeginListenerEP9lua_State + 140
7 DemoCorona 0x00059502 luaD_precall + 802
8 DemoCorona 0x0006c8a8 luaV_execute + 1736
9 DemoCorona 0x00059957 luaD_call + 119
10 DemoCorona 0x0005014b lua_call + 43
11 DemoCorona 0x000605ec ll_require + 588
12 DemoCorona 0x00059502 luaD_precall + 802
13 DemoCorona 0x0006c8f7 luaV_execute + 1815
14 DemoCorona 0x00059957 luaD_call + 119
15 DemoCorona 0x0005014b lua_call + 43
16 DemoCorona 0x000605ec ll_require + 588
17 DemoCorona 0x00059502 luaD_precall + 802
18 DemoCorona 0x0006c8f7 luaV_execute + 1815
19 DemoCorona 0x00059957 luaD_call + 119
20 DemoCorona 0x000502a1 f_call + 33
21 DemoCorona 0x0006da32 luai_objcttry + 34
22 DemoCorona 0x00059c98 luaD_pcall + 104
23 DemoCorona 0x0005025e lua_pcall + 238
24 DemoCorona 0x00090977 _ZN3Rtt10LuaContext6DoCallEP9lua_Stateii + 103
25 DemoCorona 0x00090b45 _ZN3Rtt10LuaContext6DoFileEP9lua_StatePKcib + 101
26 DemoCorona 0x00091619 _ZN3Rtt10LuaContext6DoFileEPKcbi + 41
27 DemoCorona 0x000b0c64 _ZN3Rtt12LoadMainTaskclERNS_9SchedulerE + 324
28 DemoCorona 0x000b36ae _ZN3Rtt9Scheduler3RunEv + 110
29 DemoCorona 0x000b2f6f _ZN3Rtt7RuntimeclEv + 47
30 DemoCorona 0x00004265 -[CoronaView runWithPath:parameters:orientation:] + 501
31 DemoCorona 0x00004029 -[CoronaView run] + 57
32 DemoCorona 0x00003416 -[ViewController viewDidLoad] + 726
33 UIKit 0x01fa633d -[UIViewController loadViewIfRequired] + 696
34 UIKit 0x01fa65d9 -[UIViewController view] + 35
35 UIKit 0x01ec6267 -[UIWindow addRootViewControllerViewIfPossible] + 66
36 UIKit 0x01ec65ef -[UIWindow _setHidden:forced:] + 312
37 UIKit 0x01ec686b -[UIWindow _orderFrontWithoutMakingKey] + 49
38 UIKit 0x01ed13c8 -[UIWindow makeKeyAndVisible] + 65
39 UIKit 0x01e81bc0 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 2097
40 UIKit 0x01e86667 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824
41 UIKit 0x01e9af92 -[UIApplication handleEvent:withNewEvent:] + 3517
42 UIKit 0x01e9b555 -[UIApplication sendEvent:] + 85
43 UIKit 0x01e88250 _UIApplicationHandleEvent + 683
44 GraphicsServices 0x04341f02 _PurpleEventCallback + 776
45 GraphicsServices 0x04341a0d PurpleEventCallback + 46
46 CoreFoundation 0x032bfca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
47 CoreFoundation 0x032bf9db __CFRunLoopDoSource1 + 523
48 CoreFoundation 0x032ea68c __CFRunLoopRun + 2156
49 CoreFoundation 0x032e99d3 CFRunLoopRunSpecific + 467
50 CoreFoundation 0x032e97eb CFRunLoopRunInMode + 123
51 UIKit 0x01e85d9c -[UIApplication _run] + 840
52 UIKit 0x01e87f9b UIApplicationMain + 1225
53 DemoCorona 0x000038c7 main + 135
54 libdyld.dylib 0x03973701 start + 1
)