Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 15.3b3: app installation failed due to missing Info.plist #12390

Closed
doroshenko opened this issue Feb 14, 2024 · 12 comments · Fixed by #12396
Closed

Xcode 15.3b3: app installation failed due to missing Info.plist #12390

doroshenko opened this issue Feb 14, 2024 · 12 comments · Fixed by #12396
Assignees
Labels
zip Issues related to binary distribution (zip file) zip-builder Tools related to building the zip file.

Comments

@doroshenko
Copy link

Description

Installing an app on a simulator or a device using the latest Xcode beta fails due a missing Info.plist with Firebase version 10.21.0. The problem is solved when downgrading to 10.19.0. I assume it's related to the removal of this file mentioned in the release notes here: https://firebase.google.com/support/release-notes/ios#version_10200_-_january_16_2023

The framework is included through SPM. I've tried clearing project and SPM caches, and resetting the simulator, but the issue persists.

Reproducing the issue

No response

Firebase SDK Version

10.21.0

Xcode Version

15.3b3

Installation Method

Swift Package Manager

Firebase Product(s)

Analytics

Targeted Platforms

iOS

Relevant Log Output

Please try again later. Failed to load Info.plist from bundle at path /Users/<snip>/Library/Developer/CoreSimulator/Devices/FE2E39CC-56A1-41B2-AB52-8C7E3F4B0483/data/Library/Caches/com.apple.mobile.installd.staging/temp.WoIC6R/extracted/Payload/<snip>.app/Frameworks/GoogleAppMeasurement.framework; Extra info about "/Users/<snip>/Library/Developer/CoreSimulator/Devices/FE2E39CC-56A1-41B2-AB52-8C7E3F4B0483/data/Library/Caches/com.apple.mobile.installd.staging/temp.WoIC6R/extracted/Payload/<snip>.app/Frameworks/GoogleAppMeasurement.framework/Info.plist": Couldn't stat /Users/<snip>/Library/Developer/CoreSimulator/Devices/FE2E39CC-56A1-41B2-AB52-8C7E3F4B0483/data/Library/Caches/com.apple.mobile.installd.staging/temp.WoIC6R/extracted/Payload/<snip>.app/Frameworks/GoogleAppMeasurement.framework/Info.plist: No such file or directory

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@paulb777
Copy link
Member

@doroshenko Thanks for the report.

Did you also clear the project's DerivedData? Does it make a difference to use an earlier version of Xcode?

@ncooke3
Copy link
Member

ncooke3 commented Feb 14, 2024

In addition to Paul's above recommendations, I recommend cleaning the SwiftPM cache at ~/Library/Caches/org.swift.swiftpm/repositories

edit: I re-read the original post and see that you've tried clearing SPM caches.

@doroshenko
Copy link
Author

I've done another series of tests, making sure to clear SPM caches and DerivedData folders between every run.

The issue is not present in Xcode 15.1 (stable). The app builds and runs fine with the framework version 10.21.0
The issue is present in Xcode 15.3 beta 2 and beta 3. The app builds fine, but I get an error mentioning Info.plist when attempting to install and run it on a device. Same framework version 10.21.0

@paulb777
Copy link
Member

Thanks for sharing the investigation @doroshenko.

We're working on restoring the Info.plist files for the next release.

@paulb777 paulb777 added zip-builder Tools related to building the zip file. zip Issues related to binary distribution (zip file) labels Feb 15, 2024
@paulb777 paulb777 added this to the 10.22.0 - M144 milestone Feb 15, 2024
@kushsolitary
Copy link

Hello, any updates on this? I am also facing the same issue.

@ncooke3
Copy link
Member

ncooke3 commented Feb 27, 2024

Hi @kushsolitary, this issue will be fixed in the upcoming 10.22.0 release. Until then, downgrading to 10.19.0 should unblock your workflow.

@kushsolitary
Copy link

Hi @kushsolitary, this issue will be fixed in the upcoming 10.22.0 release. Until then, downgrading to 10.19.0 should unblock your workflow.

thank you, downgrading to 10.19.0 worked!

@ChrisGarmanJD
Copy link

FYI Also occurring on Xcode 15.3 RC - the tip to downgrade worked!

@Wallman
Copy link

Wallman commented Mar 9, 2024

Works great with 10.22, thanks

@brntbeer
Copy link

As someone just learning Swift, it's great to find issues like this to remind myself that after new xcode releases, i may have to right-click to update package 😃

Thanks!

@diamont1001
Copy link

Works great with 10.22+, thanks

@firebase firebase locked and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
zip Issues related to binary distribution (zip file) zip-builder Tools related to building the zip file.
Projects
None yet
10 participants