Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Cannot build due to Twitter issues #17

Open
gurmukhp opened this issue Sep 15, 2019 · 5 comments
Open

Cannot build due to Twitter issues #17

gurmukhp opened this issue Sep 15, 2019 · 5 comments

Comments

@gurmukhp
Copy link

Podfile has ios 10.1.

Adding firebase_ui to podspec, and running on an emulator, I get the following error:

Launching lib/main.dart on iPhone Xʀ in debug mode...
Xcode build done.                                           11.7s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **
Xcode's output:
↳
    warning: Capabilities for Runner may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the build settings editor. (in target 'Runner')
    /Users/g/Sites/flutter/uym/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/g/Sites/flutter/uym/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/g/Sites/flutter/uym/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/g/Sites/flutter/uym/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/g/Sites/flutter/uym/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/g/Sites/flutter/uym/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)
    note: Using new build systemnote: Planning buildnote: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone Xʀ.
Exited (sigterm)

I can reproduce this reliably with the latest Flutter and a clean project.

@kitet
Copy link

kitet commented Oct 31, 2019

update your Podfile to ios 11.0. Somehow that worked for me.

@emmett-deen
Copy link

update your Podfile to ios 11.0. Somehow that worked for me.

This worked for me however 11.0 seems to be an extremely high minimum. Wish there was a way we could choose to use this UI but without twitter so we could get a lower minimum required version

@mvitolo
Copy link

mvitolo commented Dec 30, 2019

it needs 10.1

@SoftWyer
Copy link

SoftWyer commented Dec 31, 2019

Is 10.1 the iOS Deployment Target value in the Podfile or something else? Mine's set to 12 and I still get this error.

@mvitolo
Copy link

mvitolo commented Dec 31, 2019

open xcode
open your Runner.xcworkspace

into Info -> iOS Deployment Target

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

No branches or pull requests

5 participants