[go: nahoru, domu]

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

Build errors w.r.t FIRDynamicLinks #6548

Closed
shamithmukundan opened this issue Sep 23, 2020 · 2 comments · Fixed by #8405
Closed

Build errors w.r.t FIRDynamicLinks #6548

shamithmukundan opened this issue Sep 23, 2020 · 2 comments · Fixed by #8405
Labels
api: dynamiclinks extensions For iOS extensions targets (i.e. share, messages)

Comments

@shamithmukundan
Copy link

Xcode: 11.3
Swift Version 4.0

Cocoapods:
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'

Successfully integrated the firebase sdk via cocoapods.

But on compiling the project getting the following error.

  1. Semantic Issue:
    Path/Pods/FirebaseDynamicLinks/FirebaseDynamicLinks/Sources/FIRDynamicLinks.m:517:66: 'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.
  2. Lexical or Preprocessor Issue:
    Path/Pods/FirebaseDynamicLinks/FirebaseDynamicLinks/Sources/FIRDynamicLinks.m:20:9: 'FirebaseDynamicLinks/Sources/Public/FirebaseDynamicLinks/FIRDynamicLinks.h' file not found

Can you please check.

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@paulb777
Copy link
Member

@shamithmukundan thanks for the report.

We can potentially fix the semantic issue with a solution like https://github.com/firebase/firebase-ios-sdk/blob/master/FirebaseAuth/Sources/Auth/FIRAuth.m#L482, but Dynamic Links are not supported in App Extensions so you may want to remove the dependency from the extension target.

@paulb777 paulb777 added the extensions For iOS extensions targets (i.e. share, messages) label Dec 5, 2020
@firebase firebase locked and limited conversation to collaborators Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: dynamiclinks extensions For iOS extensions targets (i.e. share, messages)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants