Undefined symbols for architecture arm64

Hi,

I'm getting the following error after following the quickstart instructions:

 

Undefined symbols for architecture arm64:

  "_deflate", referenced from:

      -[UAHTTPConnection gzipCompress:] in libUAirship-7.2.0.a(UAHTTPConnection.o)

  "_deflateInit2_", referenced from:

      -[UAHTTPConnection gzipCompress:] in libUAirship-7.2.0.a(UAHTTPConnection.o)

  "_deflateEnd", referenced from:

      -[UAHTTPConnection gzipCompress:] in libUAirship-7.2.0.a(UAHTTPConnection.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

Any thoughts on what's going on?

Didn't find what you were looking for?

New post

Comments

4 comments

  • Hello Juan,

    I have a couple of questions regarding how you went through the iOS Quickstart Guide. Are you trying to integrate the Urban Airship iOS SDK into your existing application, or are you using one of our sample applications (one is written in Objective-C, the other in Swift)? I will be able to assist you further upon receiving this information.

    Thanks!

    0
  • Hi Jennifer,

    I am trying to integrate Urban Airship into an existing Objective C application.

    Thanks,

    0
  • Okay. I have a couple of more questions - I'm trying to figure out if this is related to Urban Airship or XCode.

    • Which version of Xcode are you running?
    • Are you using CocoaPods in your XCode project?
    • Do you have the sample App Key and sample Master Secret filled out in the AirshipConfig.plist file?
    • Did you import an APNS certificate in the Quickstart guide?

    I don't know if you've already done your own research, but here are some links to Stack Overflow questions regarding that same error:

    In addition to trying some of the recommendations in those articles, you could try cleaning and rebuilding the project. 

    0
    • Which version of Xcode are you running?  Version 7.3.1
    • Are you using CocoaPods in your XCode project? No, I'm following the instructions for the Quick Start Guide for iOS
    • Do you have the sample App Key and sample Master Secret filled out in the AirshipConfig.plist file? I'm importing the AirshipConfig.plist with the prepopulated with your Urban Airship app key and secret
    • Did you import an APNS certificate in the Quickstart guide? I did not proceed to upload the certificate as the app was not building properly.

    Thank you for the stackoverflow links! I will follow the instructions listed on there to see if they help.

    0

Please sign in to leave a comment.