Quick start - Chat SDK for iOS

Have more questions? Submit a request

7 Comments

  • Travis Spire-Sweet
    Comment actions Permalink

    Hello, thank you for the useful guide.  I am getting an error when loading the sdk in an iPad application then running.  Basically the step "Running a test build" described in your tutorial.


     


    here is the following error:


    Undefined symbols for architecture x86_64:
    
    "___isOSVersionAtLeast", referenced from:
    "___isOSVersionAtLeast", referenced from: -[ZDCRatingCommentEditor viewWillLayoutSubviews]
    in ZDCChat(ZDCRatingCommentEditor.o) -[ZDCChatView layoutSubviews] in
    ZDCChat(ZDCChatView.o) -[ZDCTextEntryView layoutSubviews] in
    ZDCChat(ZDCTextEntryView.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker
    command failed with exit code 1 (use -v to see invocation)

    Thoughts?


     

    1
  • Ingtovarjimenez
    Comment actions Permalink

    Did you solve that error?   I have the same error and I do not know how to solve it.

    0
  • Charles Nadeau
    Comment actions Permalink

    I changed the SDK install instructions in the quickstart to use CocoaPods. Hopefully it's more reliable than installing it manually. See Add the Chat SDK with CocoaPods.

    0
  • Eduard L.
    Comment actions Permalink

    Hi I'm trying the latest iOS Chat SDK sample and wondering why the Camera button in the chat view doesn't appear. I added NSPhotoLibraryUsageDescription and NSCameraUsageDescription to info.plist.

    Thanks

    0
  • candiceyang
    Comment actions Permalink

    Does the Zendesk API can works on the apple system version is greater than 12?

    First I start the chat , when the chat running on background ,  I want start the chat again, the app will crash.

    Please help check this issue.

    Thanks.

    0
  • chyatanya
    Comment actions Permalink

    I am unable to see visitor typed text, outbound messages appear in a white blank box.

     

    please help me how to fix this issue.

    0
  • 宓珂璟
    Comment actions Permalink

    Integrated Chat SDK V2 according to article tips.

    - ZendeskChatSDK (2.7.0):

    But when I send a message, I get an error

     

    17:11:42.491 VER [ChatSessionMediator] 'Sending request: sendTyping(true)'
    17:11:43.838 VER [ChatSessionMediator] 'Sending request: sendTyping(false)'
    17:11:45.213 INF [ChatRetryConnectionBehaviour] 'Retrying to connect to websockets - attempts left: 3'
    17:12:11.331 ERR [WebSocket] ‼️ 'Websocket encountered error: The operation couldn’t be completed. (ChatProvidersSDK.WebSocketError.0)' : Network(The operation couldn’t be completed. Operation timed out)
    0 ChatProvidersSDK 0x00000001039a5364 globalinit_33_6A733D4DF702CB80AE50406B39FA50A9_func7 + 4132
    1 ChatProvidersSDK 0x00000001039a4064 globalinit_33_7AB86443C063BC535633526AA832C3B6_func4 + 56612
    2 ChatProvidersSDK 0x00000001039a3ca1 globalinit_33_7AB86443C063BC535633526AA832C3B6_func4 + 55649
    3 ChatProvidersSDK 0x00000001039cec0b __swift_memcpy98_8 + 7355
    4 ChatProvidersSDK 0x00000001039cf1aa __swift_memcpy98_8 + 8794
    5 ChatProvidersSDK 0x0000000103a238e5 block_destroy_helper.25 + 12309
    6 ChatProvidersSDK 0x0000000103a2cd03 block_destroy_helper.25 + 50227
    7 ChatProvidersSDK 0x00000001039bbfb9 globalinit_33_2E8CAC93C9D7F5CCFE2ADED6539FC588_func15 + 11737
    8 libdispatch.dylib 0x0000000104437f11 _dispatch_call_block_and_release + 12
    9 libdispatch.dylib 0x0000000104438e8e _dispatch_client_callout + 8
    10 libdispatch.dylib 0x000000010443f6fd _dispatch_lane_serial_drain + 788
    11 libdispatch.dylib 0x000000010444028f _dispatch_lane_invoke + 422
    12 libdispatch.dylib 0x000000010444bb65 _dispatch_workloop_worker_thread + 719
    13 libsystem_pthread.dylib 0x00007fff51c08a3d _pthread_wqthread + 290
    14 libsystem_pthread.dylib 0x00007fff51c07b77 start_wqthread + 15
    17:12:11.342 VER [ChatSession] 'ChatConnection: disconnected'

     

    What's wrong? pls help me how to fix this issue.

    0

Please sign in to leave a comment.

Powered by Zendesk