Skip to content
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

Invalid Task Error after Pod Install #78

Closed
danielshaffer opened this issue Jan 2, 2019 · 9 comments
Closed

Invalid Task Error after Pod Install #78

danielshaffer opened this issue Jan 2, 2019 · 9 comments

Comments

@danielshaffer
Copy link

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

@pmusolino
Copy link
Owner

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?

@danielshaffer
Copy link
Author

danielshaffer commented Jan 3, 2019 via email

@pmusolino
Copy link
Owner

Can you try to remove and re-install it?

@danielshaffer
Copy link
Author

danielshaffer commented Jan 3, 2019 via email

@pmusolino
Copy link
Owner

I'll check

@MartinP7r
Copy link

MartinP7r commented Apr 1, 2019

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.

@pmusolino
Copy link
Owner

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.

@MartinP7r
Copy link

cocoapods supports static swift libraries since 1.5.0 http://blog.cocoapods.org/CocoaPods-1.5.0

@Patrick3131
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants