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

Errors with Bolts-Pod when using Facbook-iOS-SDK on CI Server #79

Closed
pfitz opened this issue Feb 11, 2015 · 1 comment
Closed

Errors with Bolts-Pod when using Facbook-iOS-SDK on CI Server #79

pfitz opened this issue Feb 11, 2015 · 1 comment

Comments

@pfitz
Copy link

pfitz commented Feb 11, 2015

I installed the iOS SDK via CocoaPods. The SDK is working fine.
I then run xctool to test my App via command line and everything is working out good!
But when i try to setup a Mac CI server with xctool and when I clone my project into another dir and try to run the tests via xctool is stops with various errors:

In file included from some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:11:
In file included from some Dir//Pods/Bolts/Bolts/iOS/BFAppLink_Internal.h:11:
some Dir//Pods/Headers/Private/Bolts/BFAppLink.h:1:1: error: expected identifier or '('
../../../Bolts/Bolts/iOS/BFAppLink.h
^
In file included from some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:11:
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink_Internal.h:21:1: error: missing context for method declaration
- (BOOL)isBackToReferrer;
^
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink_Internal.h:23:1: error: expected method body
@end
^
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:23:12: error: cannot find interface declaration for 'BFAppLink'
@interface BFAppLink ()
           ^
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:23:12: error: class extension has no primary class
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:23:12: error: class extension has no primary class
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:23:12: error: class extension has no primary class
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:23:12: error: class extension has no primary class
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:38:30: error: no known class method for selector 'alloc'
    BFAppLink *link = [[self alloc] initWithIsBackToReferrer:isBackToReferrer];
                             ^~~~~
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:39:10: error: property 'sourceURL' not found on object of type 'BFAppLink *'
    link.sourceURL = sourceURL;
         ^
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:40:10: error: property 'targets' not found on object of type 'BFAppLink *'
    link.targets = [targets copy];
         ^
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:41:10: error: property 'webURL' not found on object of type 'BFAppLink *'
    link.webURL = webURL;
         ^
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:55:18: error: 'BFAppLink' cannot use 'super' because it is a root class
    if ((self = [super init])) {
                 ^
some Dir//Pods/Bolts/Bolts/iOS/BFAppLink.m:56:12: error: property 'isBackToReferrer' not found on object of type 'BFAppLink *'
      self.isBackToReferrer = isBackToReferrer;
           ^

I managed to reduce the # of errors by switching to use precompiled headers from off to on in the Pods-Bolt target but these errors above still exists. I am developing an iOS 8 only app.

Any ideas?

@pfitz
Copy link
Author

pfitz commented Feb 11, 2015

Shame on me :( Seems I somehow managed to put a char inside an implementation file. After removing everything went as smote as a cat. Sorry for the inconvenience.

@pfitz pfitz closed this as completed Feb 11, 2015
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

1 participant