Onesignal-ios-sdk: Linker error with cocoapods

Created on 19 Nov 2015  路  5Comments  路  Source: OneSignal/OneSignal-iOS-SDK

I am getting the following error when trying to build for 9.1 using Cocoapods.

Undefined symbols for architecture arm64: "_OBJC_CLASS_$_OneSignal", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I've gone through the cocoapods debugging steps here: http://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64

Any insight?

Most helpful comment

This is a CocoaPods issue. I was able to fix it by appending $(inherited) to Other Linker Flags in my _target_.

All 5 comments

Hello,

Sorry for the late response, are you still seeing this issue? If so can you let us know the version of Cocoapods you are using? Can you reproduce the issue with a new project and share it with us?

Thanks.

This is a CocoaPods issue. I was able to fix it by appending $(inherited) to Other Linker Flags in my _target_.

@lukasz-kusnierz thanks for the information!

Thanks @lukasz-kusnierz

fixed running pod install

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sabiland picture sabiland  路  6Comments

torben-erz picture torben-erz  路  3Comments

pvcary picture pvcary  路  5Comments

chmiiller picture chmiiller  路  6Comments

luai-kalkatawi picture luai-kalkatawi  路  4Comments