-
Notifications
You must be signed in to change notification settings - Fork 1.3k
BlocksKit on CocoaPods #78
Comments
We're heavily involved with CocoaPods. 1.0.6 is indeed the latest BlocksKit release, however, have you updated to the latest A2DynamicDelegate? That's at 1.0.8. |
I did update A2DynamicDelegate.podspec to 1.0.8, but the app crushes again. |
yeah, my A2DynamicDelegate is on 1.0.8. You guys shall really look into this, it's when using [UIAlertView showAlertViewWithTitle...] the app got crash. |
We have some things to help fix this in the next release, sorry it's been such an inconvenience. It has to do with dead code stripping, Xcode is being a little overzealous in Releas builds. |
Seeing the same thing with the UIWebView, MFMailComposeViewController, and MFMessageComposeViewController categories as well, though A2DynamicDelegates used directly / elsewhere in the project seem to work fine. Thanks for looking into it! |
@zwaldowski The new release 1.5 was published. Is this issue still alive or fixed? |
The version on CocoaPods is up-to-date, so I call it fixed. I wasn't even sure it was broken. Run "pod setup" to update the repo or reinstall CocoaPods ("gem install cocoapods") to get an updated version that syncs automatically. |
Okay, I created a test project for UIAlertView categories and published a AD HOC release. Works well on my iPhone 4. |
yeah, the latest version really works. |
This problem appear in my environment. pod --version pod install problem method is this. [UIAlertView alertViewWithTitle:@"xxx" message:@"yyyy"]; it works well on simulator and on device (debug mode). but on adhoc mode it crash. does anyone know solution ? |
@yougot |
Are you guys maintaining the repository on CocoaPods?
pod search blocks
==> BlocksKit (0.5.0, 0.9.0, 0.9.5, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6)
The Objective-C block utilities you always wish you had.
I used the latest version, worked with some UIAlertView category method. It works good on simulator, on device (with debug mode). But after I build the ipa in Release mode, it crashed, saying doesNotRecognizeSelector
Okay, I grab the source code and recompiled the build, this time it worked. So the static library build in CocoaPods must have something wrong.
It's very similar to issue 63 (#63)
The text was updated successfully, but these errors were encountered: