I recently tried embedding twitter with my application using Fabric. Following their tutorial, I made a small change - instead of defining TWTRLogInButton in my .m file, I first defined it in my .h file.
So, in my .h file, I set the button:
@property (strong, nonatomic) IBOutlet TWTRLogInButton *twitterButton;
And in my .m file, the code is:
_twitterButton = [TWTRLogInButton buttonWithLogInCompletion:^(TWTRSession *session, NSError *error) { if (session) { NSLog(@"signed in as %@", [session userName]); } else { NSLog(@"error: %@", [error localizedDescription]); } }];
And this leads to an error:
"[Cloth] Could not find application icon"
And since I canβt find a way to solve this problem. I tried to change the code exactly the same as the tutorial said, but that didn't work either. I just donβt understand why Fabric cannot find my icon ...
Any help is appreciated. Thank you in advance.
source share