BugHunt-iOS icon indicating copy to clipboard operation
BugHunt-iOS copied to clipboard

Minor image resource issue when installing through Cocoapods

Open hatunike opened this issue 10 years ago • 1 comments

When installing BugHunt through cocoa pods the bug icon in the image overlay doesn't show up. Setting a break point the image is nil. Ran the sample app and there is no issue. Thought it could be related to deployment target (7.1 sample app vs 8.0 my app). However that turned out not to be the case. Image is using imageNamed: method which uses default bundle. In the sample App this is correct, however when you install from Cocoapods this is no longer the case.

I submitted a pull request with a fix. It simply uses the same bundle as whatever the Overlay class belongs to. The sample app still works, but now the cocoa pods version works as well.

hatunike avatar Sep 17 '15 23:09 hatunike

I believe this was fixed in #6

kdawgwilk avatar Mar 14 '16 22:03 kdawgwilk