-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Optional frameworks needed #263
Comments
Yes, this will definitely have to be fixed. |
Sorry I referenced the wrong issue :-( |
So this issue would be solved by adding an If that is the case also Xcodeproj::Config needs to be update to keep track of them. |
We should probably name the attribute |
@irrationalfab Isn’t the flag supposed to be |
@alloy Ah, my bad. It should be fixed now. |
@alloy I see that in target Build Settings, there are |
Update integration specs for find symlink invocation.
I have an app that is using ShareKit with the Twitter Sharer. CocoaPods is adding the Twitter framework to the OTHER_LDFLAGS as follows:
OTHER_LDFLAGS = -ObjC -all_load -framework Twitter
The problem appears when I am trying to release the app, with iOS 4.2 deployment target.
When run in iOS 4.x the Twitter framework can not be loaded, and therefore the app closes during the starting process. To fix it, we need to mark frameworks as optional, but I don't know how to do this with the OTHER_LDFLAGS (is it possible? I couldn't find anything similar googling).
And the corresponding Device Log:
Any idea how to fix this in CocoaPods installation?
For now I am going to delete the Twitter framework from the Pods.xcconfig file and include it manually (as optional), which I hope will work, but we should find a workaround for this because it will be present every time that a new framework appears.
Note: The app runs when starting from XCode, only crashes when installing the released ipa. It may make sense to you, but it does not to me :(
The text was updated successfully, but these errors were encountered: