Urban Airship Implementation on iOS

前端 未结 2 2016
旧时难觅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: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"
    

提交回复
热议问题