Appodeal crashes

Appodeal crashes
0.0 0

#1

I just followed all the steps to integrate appodeal with my cocos2d-x project.

When I try to show the AppodealShowStyleSkippableVideo I can hear the video starting to play and then the app crashes:

*** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** -[NSBundle initWithURL:]: nil URL argument’
*** First throw call stack:
(
0 CoreFoundation 0x000000010b2d1b0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00000001109b7141 objc_exception_throw + 48
2 CoreFoundation 0x000000010b33a625 +[NSException raise:format:] + 197
3 Foundation 0x000000010fbfdd10 -[NSBundle initWithURL:] + 87
4 Foundation 0x000000010fbfdca6 +[NSBundle bundleWithURL:] + 45
5 World Soccer Challenge 0x0000000107af99b0 __27+[NSBundle(APD) apd_bundle]_block_invoke + 103

if I use any other ad type, it doesn’t crash but doesn’t work at all.
Any help is appreciated. thanks


#2

checked with https://github.com/sdkbox/sdkbox-sample-appodeal

  1. cd cpp && sdkbox update
  2. open cpp/proj.ios_mac/appodeal_cpp.xcodeproj/
  3. wait for onSkippableVideoDidLoadAd event
  4. click show ad SkippableVideo
  5. works fine, no crash, (iOS Simulator, iPhone 4s)

#3

@pccsoares I am getting the same error, can you tell me how did u solve it?

I posted the error log here - [SOLVED] Appodeal 2.0.3.4 crash cocos2d-x 3.10