Urban Airship Implementation on iOS

前端 未结 2 1991
旧时难觅i
旧时难觅i 2021-01-28 17:03

I am trying to add libUAirship-1.4.0.a by going to Build Phases > Link Binary With Libraries and locating the library on disk, after doing so i am still getting an error saying

相关标签:
2条回答
  • 2021-01-28 17:51

    I have seen many different variations of how to set the Header Search Paths. For me, this worked. Airship folder is in same level as the project.

    $(PROJECT_DIR)/Airship
    
    0 讨论(0)
  • 2021-01-28 17:54

    You need to #import the header file associated with the library in order for the symbols to be available. For this library I believe you want to add the following to the top of your source file:

    #import "UAirship.h"
    #import "UAPush.h"
    
    0 讨论(0)
提交回复
热议问题