Dear,

We have integrated the iOS SDK in our project on xCode, step by step from the guide of PW.

When the app starts, it crash:

2015-04-15 20:58:44.743 Jankon[8205:380959] Initializing application: (null) (null)
2015-04-15 20:58:44.864 Jankon[8205:380959] Will show push notifications alert: 1
2015-04-15 20:58:44.873 Jankon[8205:380959] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'
*** First throw call stack:
(
    0   CoreFoundation                      0x0289d746 __exceptionPreprocess + 182
    1   libobjc.A.dylib                     0x02526a97 objc_exception_throw + 44
    2   CoreFoundation                      0x02793c93 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 451
    3   CoreFoundation                      0x027a7b7b +[NSDictionary dictionaryWithObjects:forKeys:count:] + 75
    4   Jankon                              0x000da8ce -[PWNotificationCenter registerApplicationWithIdentifier:name:icon:defaultSettings:] + 755
    5   Jankon                              0x000dde59 -[PushNotificationManager setUpInAppAlerts] + 962
    6   Jankon                              0x000de2f1 -[PushNotificationManager initWithApplicationCode:appName:] + 564
    7   Jankon                              0x000df62e +[PushNotificationManager pushManager] + 619
    8   Jankon                              0x00070d07 -[AppDelegate application:didFinishLaunchingWithOptions:] + 455
    9   UIKit                               0x00df9fd7 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 287
    10  UIKit                               0x00dfadc1 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2938
    11  UIKit                               0x00dfe422 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1639
    12  UIKit                               0x00e1793e __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke + 59
    13  UIKit                               0x00dfd04a -[UIApplication workspaceDidEndTransaction:] + 155
    14  FrontBoardServices                  0x06fcdc9e __37-[FBSWorkspace clientEndTransaction:]_block_invoke_2 + 71
    15  FrontBoardServices                  0x06fcd72f __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 54
    16  FrontBoardServices                  0x06fdfd7c __31-[FBSSerialQueue performAsync:]_block_invoke_2 + 30
    17  CoreFoundation                      0x027bf050 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16
    18  CoreFoundation                      0x027b4963 __CFRunLoopDoBlocks + 195
    19  CoreFoundation                      0x027b47bb __CFRunLoopRun + 2715
    20  CoreFoundation                      0x027b3a5b CFRunLoopRunSpecific + 443
    21  CoreFoundation                      0x027b388b CFRunLoopRunInMode + 123
    22  UIKit                               0x00dfca02 -[UIApplication _run] + 571
    23  UIKit                               0x00e00106 UIApplicationMain + 1526
    24  Jankon                              0x0007352a main + 138
    25  libdyld.dylib                       0x033a0ac9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Some ideas ?

Thx you.

asked 15 Apr '15, 19:50
naitronet's gravatar image

naitronet
11113

Thank you for contacting Pushwoosh support! Our engineers will investigate the issue and the answer will be posted here.

(16 Apr '15, 09:51) Benedict Benedict's gravatar image

Hi,

This has been fixed and pushed to Github.
Thank you for the feedback!

Alternative fix would be adding icon to the app :)

permanent link
answered 20 Apr '15, 09:13
shader's gravatar image

shader
3.9k7

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×353
×29
×26
×16

question asked: 15 Apr '15, 19:50

question was seen: 1,729 times

last updated: 20 Apr '15, 09:13