-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Podspec does not work #4
Comments
Hello Linda5Zhang, A couple questions for ya.. Under your application target's Build Settings, what do you have under Valid Architectures and Other Linker Flags? |
Under the |
Any issues preventing you from using $(inherited) under Other Linker Flags to pickup the framework from CocoaPods? |
It seems to be working fine when added to new and existing projects with Xcode 5.1.1 and CocoaPods 0.33.1. |
It works, if I add
My Xcode version is 5.1.1 and CocoaPods version is 0.33.1 |
I'm glad that quick fix worked for you. We've tested this on a couple machines with the same setup. I don't think this is an issue with the podspec, but I'm going to leave this open for a while. If anyone else is running into the same issue, please post some details. |
Thank you for the answers and suggestions~ |
I'm having the same problem, and it's also solved by adding Then I took a look at the
The list is, obviously, pretty sparse and missing basically all of the symbols I would have expected. The same is true if we look at My hunch is that by specifying In short, I'm not sure how this is supposed to work, but I'm still suspicious that something is amiss with the podspec. |
To be clear, that is added to our Pods project, but not our main project, which makes sense to me. |
Jon, when we include the SDK via CocoaPods in both new and existing projects |
Updated the podspec for v2.1.0. Hopefully this fixes the linking error. |
Thanks for the update, I tried the updated podspec for v2.1.0, still have the same error :( |
@Linda5Zhang the latest podspec adds a path to the framework within the pods directory. Hoping that helps. |
It works now, thanks~ |
Should this issue be closed? |
Thanks for the pushed podspec, but there is probably a problem with the podspec.
We met an architecture problem using that podspec.
The error is
Undefined symbols for architecture armv7:
, orarm64:
ori386
.Could you please fix the podspec? Thanks~
The text was updated successfully, but these errors were encountered: