Skip to content

Build failed for IOS :Could not build the application for the simulator. #30104

@mdtaqi98

Description

@mdtaqi98

Steps to Reproduce

[!] Automatically assigning platform ios with version 12.2 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 Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig or include the Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig in your build configuration (Flutter/Release.xcconfig).

Logs

Launching lib/main.dart on iPhone 6s in debug mode...
Running pod install...
Running Xcode build...
Xcode build done.                                           45.4s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    === BUILD AGGREGATE TARGET Flutter OF PROJECT Pods WITH CONFIGURATION Debug ===
    /Users/mdtaqi/Desktop/analise_test/ios/Pods/BoringSSL-GRPC/crypto/asn1/f_string.c:57:10: fatal error: 'openssl_grpc/asn1.h' file not found
    #include <openssl_grpc/asn1.h>
             ^~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    /Users/mdtaqi/Desktop/analise_test/ios/Pods/FirebaseDatabase/Firebase/Database/Persistence/FPersistenceManager.m:17:9: fatal error: 'FirebaseCore/FIRLogger.h' file not found
    #import <FirebaseCore/FIRLogger.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.

Could not build the application for the simulator.
Error launching application on iPhone 6s.

[✓] Flutter (Channel beta, v1.3.8, on Mac OS X 10.14.3 18D109, locale en-IN)
    • Flutter version 1.3.8 at /Users/mdtaqi/Downloads/flutter
    • Framework revision e5b1ed7a7f (3 weeks ago), 2019-03-06 14:23:37 -0800
    • Engine revision f4951df193
    • Dart version 2.2.1 (build 2.2.1-dev.0.0 571ea80e11)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/mdtaqi/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/mdtaqi/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_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 33.4.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.3.5)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 33.4.2
    • Dart plugin version 183.5912.23

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

[✓] Connected device (1 available)
    • iPhone 6s • 649A0E13-9AA1-4F2B-9458-99DD1FC2CD19 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

• No issues found!
Process finished with exit code 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions