XCode giving (“CFBundleExecutable” is not specified)

1,590

My flutter app is using Firebase and some google dependencies. The issue seems to have been caused by GoogleService-Info.plist being either corrupted or not found.

When I downloaded a new copy of it, I was able to drag to it into XCode from finder into the Runner location. This seems to have fixed the issue and I'm able to build to my phone and simulator fine now.

Share:
1,590
Jack
Author by

Jack

Updated on January 03, 2023

Comments

  • Jack
    Jack 10 months

    I'm trying to build and run a flutter app on my iPhone or iOS simulator. When I do a build, the build succeeds but it's giving me: Unable to install “Runner”. “Runner” does not contain a valid Info.plist, so it cannot be installed and (“CFBundleExecutable” is not specified)

    I'm not able to install the app on the simulator or my actual iPhone, both give the same error.

    I'm on a Mac Mini M1, running macOS Monterey Version 12.1 with XCode Version Version 13.2.1

    I've checked everywhere I could for the issue on Apples docs and stackoverflow and tried the following so far:

    • Restarting computer, reconnecting iOS device, restarting iOS device
    • Making sure Bundle Identifier is set, version is set, and Build is set in general settings for runner
    • Validated it's pointing to the correct location for the info.plist file
    • Validated info.plist is correct and CFBundleExecutable is set