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

‘FIRAnalytics+AppDelegate.h' is beyond a symbolic link (from Cocoapods in ver10.24.0) #12801

Closed
mushyoom opened this issue Apr 17, 2024 · 5 comments

Comments

@mushyoom
Copy link

mushyoom commented Apr 17, 2024

Description

Hi,

I am unable to push the updated frameworks to Git after updating Firebase SDK from version 10.22.0 to 10.24.0 using Cocoapods.
There were no issues with version 10.22.0.

The error message is as follows:

error: 'Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h' is beyond a symbolic link
fatal: Unable to process path Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.xcframework/ios-arm64_x86_64-maccatalyst/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h

スクリーンショット 2024-04-17 15 32 13

the same error I found in other issues:
#12668 (comment)
#12668 (comment)

Is any solution to avoid it ?

Reproducing the issue

  1. Modify the Podfile by changing the version from 10.22.0 to 10.24.0 as follows::
スクリーンショット 2024-04-17 15 38 56
  1. Execute the command :
    pod install

  2. Build the app to confirm that there are no build problems

  3. Commit the code. <---error is here.

Firebase SDK Version

10.24.0

Xcode Version

15.0

Installation Method

CocoaPods

Firebase Product(s)

Analytics

Targeted Platforms

iOS

Relevant Log Output

No response

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

Xcode 15.3 started requiring symlinks in frameworks and Firebase updated accordingly. More context at #12505 and #12587

It looks like however you're using git needs to be updated to handle symlinks. See https://stackoverflow.com/q/14783847/556617 and https://stackoverflow.com/a/18791647/556617.

If you're still stuck and can reproduce in the git command line, we can take a deeper look.

@mushyoom
Copy link
Author

@paulb777
Thank you for your response.
I referred to the link you provided (https://stackoverflow.com/questions/14783847/git-file-is-beyond-a-symbolic-link) and resolved the error. (just execute "git add ." before commit it in github GUI)
It's kind of you.

@ycwjjjj
Copy link

ycwjjjj commented May 3, 2024

I encountered the same. After 10.23.0 (from 10.22.0), it was no problem at 10.22.0.
I tried "git add .", but failed.
Even I want to stage all changed files from unstaged files.
Please consider to have a deep look.
Thanks!

@iOSDev33
Copy link

I first started seeing this issue with version 10.23 ( I am currently using 10.25) using sourcetree to stage the files. I opened the project in terminal and ran "git add ." and that fixed the issue for me. It maybe an issue with sourcetree.

@firebase firebase locked and limited conversation to collaborators May 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants