Skip to content

[Carthage] Some frameworks are missing Info.plist files and fail installation in Simulator #5562

Closed
@daltonclaybrook

Description

[REQUIRED] Step 1: Describe your environment

  • Xcode version: Xcode 11.4.1 (11E503a)
  • Firebase SDK version: Latest Carthage binary
  • Firebase Component: Analytics
  • Component version: Latest Carthage binary
  • Installation method: Carthage

[REQUIRED] Step 2: Describe the problem

I'm attempting to use the Firebase Analytics framework using Carthage, but when I attempt to run the app on the simulator with this framework and dependent frameworks included in the bundle, I receive the following error in Xcode:

Failed to load Info.plist from bundle at path /Users/daltonclaybrook/Library/Developer/CoreSimulator/Devices/506C25EF-1588-4AA5-A19A-79D71FE85875/data/Library/Caches/com.apple.mobile.installd.staging/temp.1Fh1ur/extracted/Payload/Argon.app/Frameworks/GoogleAppMeasurement.framework
Failed to load Info.plist from bundle at path /Users/daltonclaybrook/Library/Developer/CoreSimulator/Devices/506C25EF-1588-4AA5-A19A-79D71FE85875/data/Library/Caches/com.apple.mobile.installd.staging/temp.1Fh1ur/extracted/Payload/Argon.app/Frameworks/GoogleAppMeasurement.framework

Upon inspection of the framework in the Carthage builds folder, it is clear that this framework does not contain an Info.plist. As a test, I manually created an Info.plist for this framework and received the error again for FIRAnalyticsConnector and FirebaseAnalytics. Once I created Info.plists for all three frameworks, the build seems to install correctly.

Steps to reproduce:

  1. Make a new app and install the Firebase Analytics framework and all dependencies using Carthage.
  2. Run the app on the simulator.
  3. App fails to install in simulator with the above errors

Metadata

Assignees

Labels

Carthagezip-builderTools related to building the zip file.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions