Closed danielshaffer closed 5 years ago
Hi @danielshaffer! This is the first time that I heard about this problem. Do you run pod repo update
before pod install? What version of PMAlertController do you installed?
Hi,
I simply added “pod PMAlertController” in the pod file, and then “Pod Install” in terminal. It’s the latest version, 3.5.0. I’ve never run into an issue like this before.
Thanks, Daniel
On Jan 3, 2019, at 5:17 AM, Paolo Musolino notifications@github.com wrote:
Hi @danielshaffer https://github.com/danielshaffer! This is the first time that I heard about this problem. Do you run pod repo update before pod install? What version of PMAlertController do you installed?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pmusolino/PMAlertController/issues/78#issuecomment-451103009, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnNXTGsKUeMeV8s-xPJLXih5P53urOiks5u_ditgaJpZM4Zm56u.
Can you try to remove and re-install it?
I tried a few times. Same error every time. It finally compiled when I removed the Xib from compile sources.
On Jan 3, 2019, at 8:22 AM, Paolo Musolino notifications@github.com wrote:
Can you try to remove and re-install it?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pmusolino/PMAlertController/issues/78#issuecomment-451141265, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnNXWJ1AluYhs12GkL0fsIvxKKuIZL3ks5u_gQZgaJpZM4Zm56u.
I'll check
I get the same error when installing pods without use_frameworks!
.
@danielshaffer could you confirm whether or not you're using use_frameworks!
for your swift pods?
Though I think that cocoapods should tell you at installation time about it, if one or more of the pods don't support static libraries yet, but at least it works for me.
use_frameworks!
tells CocoaPods that you want to use Frameworks instead of Static Libraries. Since Swift does not support Static Libraries you have to use frameworks.
cocoapods supports static swift libraries since 1.5.0 http://blog.cocoapods.org/CocoaPods-1.5.0
I am having the same problem. This describes my problem: https://stackoverflow.com/questions/40480503/the-bundle-uitests-couldn-t-be-loaded-because-it-is-damaged-or-missing-necessary
but when I want to follow the presented solution from stackoverflow I get the same problem as @danielshaffer .
Any solutions? Thanks!
I just installed the Pod and when I built the project I got 3 errors saying Invalid Task Strip Nib. I had to go to Build Phases and remove the PMAlertViewController.xib, and then it worked. Not sure if anyone else ran into this, but hopefully this is fixed in a future version.
I'm running Xcode 10.1.
Thanks, Daniel