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

cocoapods 1.0.0 crash #71

Closed
DKalachniuk opened this issue May 16, 2016 · 8 comments
Closed

cocoapods 1.0.0 crash #71

DKalachniuk opened this issue May 16, 2016 · 8 comments

Comments

@DKalachniuk
Copy link

Hi, since I updated to cocopods 1.0.0
I receive this crash

screen shot 2016-05-16 at 23 20 23

Please advice

this is my podfile

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
pod 'ECSlidingViewController', '> 2.0.3'
pod 'AFNetworking', '
> 2.5'
pod 'PNChart', '~> 0.7.1'
pod 'FontAwesome.swift'
end

@thii
Copy link
Owner

thii commented May 23, 2016

I couldn't replicate this.

@CAPIStkidd
Copy link
Contributor

I'm getting this too. For what it's worth I'm getting this on a project which was previously using CocoaPods 0.39 or whatever the last non-beta one before 1.0 was, then when I upgrade to 1.0 I get this issue. Happens on FontAwesome.swift 0.7.1 and 0.7.3.

@thii
Copy link
Owner

thii commented May 31, 2016

@DKalachniuk @CAPIStkidd I could not replicate this. Can you send in a sample project that replicates this crash?

@CAPIStkidd
Copy link
Contributor

I can't send the main project I was working with for obvious reasons, but I just created a gutted version of it to recreate the issue to send... except the issue doesn't show up in the gutted version.

I'll see if I can diff the two and figure out anything good but yeah, this is weird.

@thii
Copy link
Owner

thii commented May 31, 2016

@CAPIStkidd So there might be something wrong with your project's settings, not with this library. If you could make the gutted version crash, I'd be happy to help.

You might want to try removing this from your Podfile, pod install, re-add this, pod install again to see if it works.

@CAPIStkidd
Copy link
Contributor

And now my main project doesn't have the issue anymore either (as in, after doing an upgrade with CocoaPods 1.0 it no longer has the crash where it can't find the otf/bundle).

One thing to note is that I wasn't on board with the changes to the podfile syntax (everything has to be in a target) so I did that, maybe that had something to do with it.

http://stackoverflow.com/questions/34556991/pod-install-displaying-error-in-cocoapods-version-1-0-0-beta-1

@thii
Copy link
Owner

thii commented Jun 1, 2016

Correct! From CocoaPods 1.0,

You now have to define targets. Previously there was an available implicit target.

@thii thii closed this as completed Jun 1, 2016
@kush3107
Copy link

kush3107 commented Jul 8, 2016

I have set the target then also I am getting the same issue!

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

No branches or pull requests

4 participants