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

Bolts 1.6.0 build errors after a pod update #220

Closed
ghost opened this issue Jan 13, 2016 · 7 comments
Closed

Bolts 1.6.0 build errors after a pod update #220

ghost opened this issue Jan 13, 2016 · 7 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jan 13, 2016

Hi,

I'm encountering set of errors in bolts after I update pods today. I do not have specifically Bolts mentioned in my dependency list, but cause of Facebook SDKs, it automatically get install Bolts 1.6.0 version. I assume the set of errors are due to the below essentially;

Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h:15:15: error: cannot find protocol declaration for 'ResultType'
@Class BFTask;

I have attached the error list shown in the panel. Of note I have cocoa pods and system up-to-date.
Thank you very much!

screen shot 2016-01-12 at 3 51 43 pm

screen shot 2016-01-12 at 3 52 33 pm

@nlutsenko
Copy link
Member

Hey @dfernando123, any chance you are using an old version of Xcode? (before 7.0?)
Please note that according to the release notes we are requiring Xcode 7.0 in the latest version of Bolts.
If you are using it though, any chance you have an outdated version of Bolts somewhere else in your system where Xcode could pick it up? Like ~/Documents/FacebookSDK, for example?

@ghost
Copy link
Author

ghost commented Jan 13, 2016

Hi @nlutsenko , Thank you very much for the quick response.

I'm using the Xcode version 6.4. In that case I will have to get Xcode 7.0 in.
For your second question, I have only the SDKs installed via cocoa pods, no local directories attached.

@nlutsenko
Copy link
Member

That should be definitely it then, the new version of Bolts (1.6) won't work on old Xcode.
Let me know how it goes after you upgrade.

@ghost
Copy link
Author

ghost commented Jan 13, 2016

Sure, will let you know after the upgrade. Thank you for the insight!

@ghost
Copy link
Author

ghost commented Jan 14, 2016

Hi @nlutsenko ,

Thanks so much for the instructions. It worked after the upgrade!

Also, It would be great if you could mention in the note. It would be great and much helpful for someone who may get the same. Thanks again!

@nlutsenko
Copy link
Member

Glad it helped. It's actually noted in the release notes for 1.6 😁

@ghost
Copy link
Author

ghost commented Jan 14, 2016

My Bad! Please accept my apologies 😑

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

1 participant