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

Cannot build it #22

Open
rdev-software opened this issue Jul 18, 2019 · 4 comments
Open

Cannot build it #22

rdev-software opened this issue Jul 18, 2019 · 4 comments

Comments

@rdev-software
Copy link

Cannot build with following output:

Xcode's output:
↳
    === BUILD TARGET flutter_twitter_login OF PROJECT Pods WITH CONFIGURATION Debug ===
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.m:133:17: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                    _view.frame = CGRectMake(0.0, 0.0, CGRectGetWidth(_view.bounds), 0.0);
                    ^
                    self->
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.m:133:67: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                    _view.frame = CGRectMake(0.0, 0.0, CGRectGetWidth(_view.bounds), 0.0);
                                                                      ^
                                                                      self->
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.m:148:18: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                    [_view sizeToFit];
                     ^
                     self->
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.m:189:13: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
            if (_navigationController) {
                ^
                self->
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.m:190:40: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                [self updateNavigationBarY:_view.statusBarHeight];
                                           ^
                                           self->
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.m:193:24: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
            CGRect frame = _view.frame;
                           ^
                           self->
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.m:195:9: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
            _view.frame = frame;
            ^
            self->
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.m:203:17: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
                    _view.closed = YES;
                    ^
                    self->
    8 warnings generated.
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/TwitterCore/iOS/TwitterCore.framework/Modules/module.private.modulemap:1:29: warning: private submodule 'TwitterCore.Private' in private module map, expected top-level module [-Wprivate-module]
    explicit module TwitterCore.Private {
                                ^
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/TwitterCore/iOS/TwitterCore.framework/Modules/module.private.modulemap:1:29: note: rename 'TwitterCore.Private' to ensure it can be found by name
    explicit module TwitterCore.Private {
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
    framework module TwitterCore_Private
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/TwitterCore/iOS/TwitterCore.framework/Modules/module.private.modulemap:1:29: warning: private submodule 'TwitterCore.Private' in private module map, expected top-level module [-Wprivate-module]
    explicit module TwitterCore.Private {
                                ^
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/TwitterCore/iOS/TwitterCore.framework/Modules/module.private.modulemap:1:29: note: rename 'TwitterCore.Private' to ensure it can be found by name
    explicit module TwitterCore.Private {
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
    framework module TwitterCore_Private
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/TwitterCore/iOS/TwitterCore.framework/Modules/module.private.modulemap:1:29: warning: private submodule 'TwitterCore.Private' in private module map, expected top-level module [-Wprivate-module]
    explicit module TwitterCore.Private {
                                ^
    /Users/tr/Documents/Projects/RDev/Art-Is-Heart/ArtIsHeart-Flutter/App/art_is_heart/ios/Pods/TwitterCore/iOS/TwitterCore.framework/Modules/module.private.modulemap:1:29: note: rename 'TwitterCore.Private' to ensure it can be found by name
    explicit module TwitterCore.Private {
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
    framework module TwitterCore_Private
    <module-includes>:1:1: warning: umbrella header for module 'TwitterCore' does not include header 'TWTRColorUtil.h' [-Wincomplete-umbrella]
    #import "Headers/TwitterCore.h"
    ^
    2 warnings generated.
    3 warnings generated.
    4 warnings generated.
    Undefined symbols for architecture x86_64:
      "_OBJC_CLASS_$_TWTRAPIClient", referenced from:
          objc-class-ref in TwitterLoginPlugin.o
      "_OBJC_CLASS_$_TWTRTwitter", referenced from:
          objc-class-ref in TwitterLoginPlugin.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Is there any plan to move this plugin from deprecated TwitterKit to for example https://github.com/mattdonnelly/Swifter

@kaumudpa
Copy link

kaumudpa commented Aug 1, 2019

@rdev-software You found a way to fix this?

@rdev-software
Copy link
Author

No, I was expecting some reply from "owners" of this repo, as it seems really dead.
I spoke to people from firebase / flutter community and they dont care about twitter either.
So I guess only way is to rewrite iOS part using library I mentioned...and then use similar approach on Android if there is any other, better maintained project

@kaumudpa
Copy link

kaumudpa commented Aug 1, 2019

I know, I am looking to use Oauth with webview to get auth done, lets see how it goes!

@ahmedsalamay
Copy link

same as here

warning: The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target. (in target 'Runner')
Undefined symbols for architecture arm64:
"OBJC_CLASS$_TWTRAPIClient", referenced from:
objc-class-ref in TwitterLoginPlugin.o
"OBJC_CLASS$_TWTRTwitter", referenced from:
objc-class-ref in TwitterLoginPlugin.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Runner-aklbwbvsmnjstbasuacfiwugjxbc
note: Using new build systemnote: Planning buildnote: Constructing build description
Could not build the precompiled application for the device.

Error launching application on apple’s iPhone.
Exited (sigterm)

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

3 participants