-
Notifications
You must be signed in to change notification settings - Fork 335
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
Swift Project not loading success/failure images, cocoapods integrated #31
Comments
Is the |
CocoaPods should add the resources bundle the resources that are copied into the app's bundle. |
+1 |
I've looked into the problem taking To fix it, replace the following:
With:
I don't have time to test this solution properly, hence there will be no pull request for now. |
Having trouble integrating
Anyway recent release doesn't load proper image at all. I tried to downgrade to Thanks in advance for any help! |
@LightD You can only import Objective C headers in the Bridging header, how are you able to import JGProgressHUD in your Swift file? Edit: Unless you include it as framework, which CocoaPods doesn't do. @dawiddr There are no issues with the images when using not CocoaPods and installing JGProgressHUD as framework. See the JGProgressHUD Tests project, it works fine. This ticket is about CocoaPods. I've tried setting up JGProgressHUD (1.2.5) through CocoaPods (Latest version) and the images are all available and show up in the error and success indicators. |
@JonasGessner An important piece of information is missing here: CocoaPods actually uses frameworks when you specify |
@dawiddr I also have such setup, +1. |
Right, thank you! I don't use CocoaPods myself so I'm very unfamiliar with it ;) I'll push version 1.2.6 soon with a fix. |
Hi, So I've integrated the library through cocoapods, and I'm having a pure swift project, XCode 6.3.. really didn't change anything.. any thoughts?
P.S: I'm importing in my swift file using the swift
import JGProgressHUD
, not through bridging header.. (which btw, I can't import it through bridging header alone)..I don't know if that's enough information.. the library is working fine really, just the images are not loading apparently from the resources bundle, everything else is fine...
The text was updated successfully, but these errors were encountered: