Skip to content

ld: framework not found App #50638

@SamukaM

Description

@SamukaM

Steps to Reproduce

Hello there, i have this problem an can't resolve.

Building com.xxxx.xxxxxxx for device (ios-release)...
Running Xcode build...
Xcode build done. 33,0s
Failed to build iOS app
Error output from Xcode build:

** BUILD FAILED **

Xcode's output:

Pods-Runner-elzgnnmeitvvfoeqadswogpwucgx
In file included from /Users/decxus/Desktop/development/AccCRM/Sources/cliente-mobile/supermercado_nova/ios/Runner/GeneratedPluginRegistrant.m:8:
/Users/decxus/Desktop/development/AccCRM/Sources/cliente-mobile/supermercado_nova/ios/Pods/Headers/Public/barcode_scan/BarcodeScanPlugin.h:12:1: warning: retain'ed block property does not copy the
block - use copy attribute instead [-Wobjc-noncopy-retain-block-property]
@Property(nonatomic, retain) FlutterResult result;
^
1 warning generated.
Pods-Runner-elzgnnmeitvvfoeqadswogpwucgx
error: the following command failed with exit code 0 but produced no further output
CompileC
/Users/decxus/Library/Developer/Xcode/DerivedData/Runner-atolvwuyuclhssazyqbjuhljrgqg/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Objects-normal/arm64/GeneratedPluginRegistr
ant.o /Users/decxus/Desktop/development/AccCRM/Sources/cliente-mobile/supermercado_nova/ios/Runner/GeneratedPluginRegistrant.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
Pods-Runner-elzgnnmeitvvfoeqadswogpwucgx
ld: framework not found App
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: framework not found App
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Pods-Runner-elzgnnmeitvvfoeqadswogpwucgx
note: Using new build system
note: Planning build
note: Constructing build description

Encountered error while building for device.

Logs
[  +60 ms] Error output from CocoaPods:
           ↳
[   +3 ms]
               [!] Automatically assigning platform `iOS` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See
               `https://guides.cocoapods.org/syntax/podfile.html#platform`.

               [!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set
the base
               configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in
your build
               configuration (`Flutter/Release.xcconfig`).
 info • Don't explicitly initialize variables to null • lib/global.dart:38:8 • avoid_init_to_null
   info • Don't explicitly initialize variables to null • lib/global.dart:110:8 • avoid_init_to_null
   info • This function has a return type of 'Future<void>', but doesn't end with a return statement • lib/global.dart:189:14 • missing_return
   info • Name non-constant identifiers using lowerCamelCase • lib/global.dart:526:14 • non_constant_identifier_names
   info • Avoid using braces in interpolation when not needed • lib/global.dart:621:50 • unnecessary_brace_in_string_interps
   info • This function has a return type of 'Future<bool>', but doesn't end with a return statement • lib/global.dart:695:14 • missing_return
   info • Avoid using braces in interpolation when not needed • lib/main.dart:49:27 • unnecessary_brace_in_string_interps
   info • Avoid using braces in interpolation when not needed • lib/main.dart:52:26 • unnecessary_brace_in_string_interps
   info • Unused import: 'package:supermercado_nova/routes/slide_up.dart' • lib/models/interest_model.dart:6:8 • unused_import
   info • Duplicate import • lib/models/interest_model.dart:7:8 • duplicate_import
   info • The value of the field '_carregando' isn't used • lib/models/interest_model.dart:38:8 • unused_field
   info • Name non-constant identifiers using lowerCamelCase • lib/models/interest_model.dart:42:3 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/models/interest_model.dart:176:41 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/models/interest_model.dart:184:41 • non_constant_identifier_names
   info • Unused import: 'package:flutter/material.dart' • lib/models/responses/menu_response.dart:1:8 • unused_import
   info • The value of the local variable 'facebookLink' isn't used • lib/pages/contact_page.dart:42:12 • unused_local_variable
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/cupom_page.dart:101:31 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/email_page.dart:33:41 • non_constant_identifier_names
   info • This function has a return type of 'Future<void>', but doesn't end with a return statement • lib/pages/email_page.dart:41:16 • missing_return
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/email_page.dart:153:47 • non_constant_identifier_names
   info • Unused import: 'package:supermercado_nova/pages/point_page.dart' • lib/pages/home_page.dart:17:8 • unused_import
   info • The value of the local variable 'id1' isn't used • lib/pages/home_page.dart:83:11 • unused_local_variable
   info • Avoid using unnecessary statements • lib/pages/home_page.dart:85:5 • unnecessary_statements
   info • 'await' applied to 'void', which is not a 'Future' • lib/pages/home_page.dart:99:5 • await_only_futures
   info • The value of the field '_enabled' isn't used • lib/pages/login_page.dart:36:8 • unused_field
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/login_page.dart:74:16 • non_constant_identifier_names
   info • 'await' applied to 'void', which is not a 'Future' • lib/pages/login_page.dart:141:7 • await_only_futures
   info • 'await' applied to 'void', which is not a 'Future' • lib/pages/login_page.dart:142:7 • await_only_futures
   info • 'await' applied to 'bool', which is not a 'Future' • lib/pages/login_page.dart:145:18 • await_only_futures
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/login_page.dart:149:41 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/login_page.dart:153:41 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/login_page.dart:162:16 • non_constant_identifier_names
   info • 'await' applied to 'void', which is not a 'Future' • lib/pages/login_page.dart:284:9 • await_only_futures
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/login_page.dart:293:43 • non_constant_identifier_names
   info • 'data' is deprecated and shouldn't be used • lib/pages/meu_codigo_page.dart:21:11 • deprecated_member_use
   info • 'codeType' is deprecated and shouldn't be used • lib/pages/meu_codigo_page.dart:24:11 • deprecated_member_use
   info • 'lineWidth' is deprecated and shouldn't be used • lib/pages/meu_codigo_page.dart:25:11 • deprecated_member_use
   info • 'hasText' is deprecated and shouldn't be used • lib/pages/meu_codigo_page.dart:26:11 • deprecated_member_use
   info • Unused import: 'package:supermercado_nova/pages/scanner_page.dart' • lib/pages/more_page.dart:5:8 • unused_import
   info • Unused import: 'package:material_design_icons_flutter/material_design_icons_flutter.dart' • lib/pages/more_page.dart:6:8 • unused_import
   info • Unused import: 'package:supermercado_nova/pages/profile_page.dart' • lib/pages/new_password.dart:5:8 • unused_import
   info • 'await' applied to 'void', which is not a 'Future' • lib/pages/notification_page.dart:48:5 • await_only_futures
   info • This function has a return type of 'Future<void>', but doesn't end with a return statement • lib/pages/promotion_item_page.dart:26:16 • missing_return
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/promotion_item_page.dart:65:35 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/promotion_item_page.dart:87:11 • non_constant_identifier_names
   info • This function has a return type of 'Future<void>', but doesn't end with a return statement • lib/pages/promotion_page.dart:23:16 • missing_return
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/promotion_page.dart:134:43 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/promotion_page.dart:165:11 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/pages/promotion_page.dart:225:11 • non_constant_identifier_names
   info • Unused import: 'package:flutter/services.dart' • lib/pages/splash_screen.dart:3:8 • unused_import
   info • Set literals weren't supported until version 2.2, but this code is required to be able to run on earlier versions • lib/ui.dart:265:28 • sdk_version_set_literal
   info • Set literals weren't supported until version 2.2, but this code is required to be able to run on earlier versions • lib/ui.dart:308:28 • sdk_version_set_literal
   info • Name non-constant identifiers using lowerCamelCase • lib/ui/cep_input.dart:4:8 • non_constant_identifier_names
   info • The declaration '_KSuccessLight' isn't referenced • lib/ui/custom_stepper.dart:32:13 • unused_element
   info • The declaration '_kDisabledLight' isn't referenced • lib/ui/custom_stepper.dart:37:13 • unused_element
   info • The declaration '_kDisabledDark' isn't referenced • lib/ui/custom_stepper.dart:38:13 • unused_element
   info • 'ancestorWidgetOfExactType' is deprecated and shouldn't be used. Use findAncestorWidgetOfExactType instead. This feature was deprecated after v1.12.1. • lib/ui/custom_stepper.dart:529:19 •
          deprecated_member_use
   info • 'ancestorRenderObjectOfType' is deprecated and shouldn't be used. Use findAncestorRenderObjectOfType instead. This feature was deprecated after v1.12.1. • lib/ui/gradient_app_bar.dart:450:20 •
          deprecated_member_use
   info • 'TypeMatcher' is deprecated and shouldn't be used. TypeMatcher has been deprecated because it is no longer used in framework(only in deprecated methods). This feature was deprecated after
          v1.12.1. • lib/ui/gradient_app_bar.dart:451:15 • deprecated_member_use
   info • This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: HomeDrawer.itensDrawer • lib/ui/home_drawer.dart:15:7 •
          must_be_immutable
   info • Avoid using braces in interpolation when not needed • lib/ui/item_card.dart:99:38 • unnecessary_brace_in_string_interps
   info • Avoid using braces in interpolation when not needed • lib/ui/item_card.dart:106:36 • unnecessary_brace_in_string_interps
   info • Avoid using braces in interpolation when not needed • lib/ui/item_card.dart:181:35 • unnecessary_brace_in_string_interps
   info • Name non-constant identifiers using lowerCamelCase • lib/ui/normal_input.dart:12:9 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/ui/normal_input.dart:54:8 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/ui/password_input.dart:5:8 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/ui/sex_selection.dart:5:8 • non_constant_identifier_names

67 issues found. (ran in 9.0s)
[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Mac OS X 10.15.3 19D76, locale pt-BR)
    • Flutter version 1.12.13+hotfix.7 at /Users/decxus/development/flutter
    • Framework revision 9f5ff2306b (2 weeks ago), 2020-01-26 22:38:26 -0800
    • Engine revision a67792536c
    • Dart version 2.7.0


[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/decxus/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/decxus/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.9.0.beta.3

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.42.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-iosiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions