-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Only five of six xcframeworks get installed from the specified zip #3185
Comments
Interesting. The problem seems to be that Foundation isn't parsing any of the fields of the Info.plist in
@paulb777 do you if this framework had trouble in earlier versions of Carthage? Obviously not as an xcframework, but I'm curious if the system doesn't like the |
Figured it out:
Removing that directory causes Foundation to be able to load it fine. @paulb777 do you happen to know if that directory was put in the xcframework manually, or if this is from a legitimate FWIW, renaming the directory to anything other than "Resources" fixes the issue. If we were to try to accomodate this case, we'd have to fall back to manually loading and parsing the Info.plist here:
|
@elliottwilliams Thanks for the investigation and sharing the analysis! And sorry about my lack of responsiveness. I was off last week. We do use There is still arguably a Carthage issue that it should give an error message for an unparsed |
@paulb777 The same is happening with FirebaseInAppMessagingBinary (using carthage 0.38.0): Cartfile
Carthage Output
Actual outcome
Expected outcome After downloading https://dl.google.com/dl/firebase/ios/carthage/8.0.0/FirebaseInAppMessaging-7bb7459ed9f4d27d.zip in the browser and unzipping:
|
@cassianodialpad Yep. It's the same Firebase issue since FirebaseInAppMessaging also has resources. The fix from firebase/firebase-ios-sdk#8182 will be available in the upcoming Firebase 8.2.0 release. In the meantime, see firebase/firebase-ios-sdk#8112 for workaround info. |
@paulb777 Awesome, thanks! |
@paulb777 Agreed. If there's a decent way to plumb this through the codebase I'd like to do it. The "right" way to do this would likely be to add a new |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
which carthage
: /usr/local/bin/carthagecarthage version
: 0.38.0xcodebuild -version
: Xcode 12.5--no-build
? No--no-use-binaries
? No--use-submodules
? No--cache-builds
? No--new-resolver
? NoCartfile
Carthage Output
Actual outcome
Expected outcome
Carthage should have also installed
gRPC-C++.xcframework
After downloading
https://dl.google.com/dl/firebase/ios/carthage/8.0.0/FirebaseFirestore-6c7035fccbea27c0.zip
in the browser and unzipping:Original report at firebase/firebase-ios-sdk#7576 (comment) and also tracked at firebase/firebase-ios-sdk#8112
The text was updated successfully, but these errors were encountered: