Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Cocoapods fails to link some library files #225
In an effort to centralize the conversation about this issue:
The Mixpanel cocoapods is set to link libMPCategoryHelpers.a and libuicore.dylib but sometimes fails to do so during installation. In most cases customers have been successful in manually linking the libs within their projects, but we're currently working on a more better solution.
Cocoapods effectively made this a wont-fix with the idea that "frameworks are on the horizon", but it's possible to link each lib manually using the
For apps integrating Mixpanel without Cocoapods, I'd recommend simply adding the
This was referenced
Feb 2, 2015
I just had this problem with SocketRocket and nothing made sense: the -ObjC flag is there and the libraries are linked, but it was still giving errors. Finally realised that I had added SocketRocket to both my App and to the test target, but I had only linked the App against the library. I was getting the error because the test target also needed to be linked. Duh.