-
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
Error satisfying GoogleUtilities/MethodSwizzler dependency. #1845
Comments
Analyzing dependencies Specs satisfying the Specs satisfying the |
This looks like a CocoaPods bug with version resolution. A workaround is adding We'll continue to investigate. Thanks for the detailed report @zgosalvez |
@paulb777, I can confirm that the workaround works. Thanks. No problem; It's the least I could do. Please keep us posted. |
@jayahariv Thanks for the update. I'll delete your comments here to keep this thread focused on original topic. |
firebase/firebase-ios-sdk#1845 (comment) Signed-off-by: Jakub Sokołowski <jakub@status.im>
firebase/firebase-ios-sdk#1845 (comment) Signed-off-by: Jakub Sokołowski <jakub@status.im>
firebase/firebase-ios-sdk#1845 (comment) Signed-off-by: Jakub Sokołowski <jakub@status.im>
firebase/firebase-ios-sdk#1845 (comment) Signed-off-by: Jakub Sokołowski <jakub@status.im>
A better workaround is Meanwhile, we're working on doing a Firebase 5.8.1 patch to eliminate the need for the workaround. |
firebase/firebase-ios-sdk#1845 (comment) Signed-off-by: Jakub Sokołowski <jakub@status.im>
Fixed in Firebase 5.8.1 |
firebase/firebase-ios-sdk#1845 (comment) Signed-off-by: Jakub Sokołowski <jakub@status.im>
@paulb777 do you know if this issue is also presented in the Unity SDK and if it is, has it been fixed? |
I am having the same issue. Even empty project just with Firebase Auth and database plugin-ins added to project doesn't get a proper build. Spend almost a day to figure it out which also support cloud build but I am empty handed :/ |
I tried to build the Firebase dynamic_links sample app in Unity using Firebase 5.3 SDK and got this error: pod install output: Analyzing dependencies
Specs satisfying the |
It seems where every Firebase needs Core, this error is throwing. The sad part is I was able to get a working build without any problem 5 days ago but now I can't. |
I'll follow up with the Unity SDK team today on updating to at least the iOS Firebase SDK 5.8.1. |
@paulb777 do you know of any workaround for this issue? |
@phuong-unity @ozbra I solved it by adding |
Another workaround that seems to work is supporting iOS 11.0 and higher in your project and in the podfile. Obviously not possible from many apps but if you're updating anyways to support 11.0+, you can get by. |
Hi everyone, We're working on patching the Firebase C++ and Unity releases to migrate them to the
to...
|
Thank for information, although I still get an error. This time it is different. It seems FirebaseAuth gives an error. Analyzing dependencies |
@ozbra you just need to update your CocoaPods version. in terminal enter this command: gem install cocoapods |
Thank you. That worked. |
@stewartmiles @paulb777 - thanks for the update. Looking forward to the fix in the new version. @hex thanks for the workaround! |
Hi! I have the same issue
But it started failing today in one CI machine, the others still install the dependencies fine. I'm using the Unity Plugin 5.2.1. I'll add the AppDelegateSwizzler 5.2.3 in the xxDependencies.xml to make this work, but would love to know why this started failing from one day to another. |
A recent |
Hi guys, I've had the same issue here. Using Unity 2018.1.0f2, Firebase Dynamic Links v5.3.0 and the Unity Cloud Build service. Initially I got this message: I added this to the AppDependancies.xml: And updated this line in AppDependancies.xml and DynamicLinksDependances.xml: ...based on the advice listed above, which has now removed that error message. However I am now getting a different error in the Unity Cloud Build: I can't find anything useful by googling and I can't figure out what's missing. Do you think this error is related? There isn't much to configure in Unity and I've checked there are no missing files by re-downloading Firebase v5.3.0 so I'm not sure what to try next. Any suggestions are welcome. |
Hi @RobertBateman, I had this exact issue yesterday. The fix for me was to add the iosPod GoogleUtilities/MethodSwizzler xml line to AppDependancies.xml (per @hex's suggestion) but do NOT change the version number(s) in *Dependancies.xml from 5.6.0 to 5.9.0 -- just leave them as-is or you'll get the FDLURLComponents file not found error, not sure what fix is for that. |
Hi @MiketoString , yeah that fixed it. Thank you kindly :) |
For the various Unity SDK users on this thread, we just released the 5.3.1 SDK with the fix for this issue. |
hi @stewartmiles, after importing v5.3.1 of the Unity SDK, I am now seeing the following build error on iOS:
|
Hi @stewartmiles, I built a clean version from the 5.3.1 version and there is a compilation problem in Xcode. There is no much information about the error, just that code. |
I can't find the 5.3.1 version. The 5.3.0 still have this issue. |
@hohund Looks like a problem with the link at https://firebase.google.com/docs/unity/setup. Try https://dl.google.com/dl/firebase/sdk/unity/firebase_unity_sdk_5.3.1.zip |
Hi @paulb777 and @stewartmiles I've just downloaded 5.3.1 from the secret link and now I'm getting the same error... /FirebaseDynamicLinks/Firebase/DynamicLinks/FDLURLComponents/FDLURLComponents.m:19:9: 'DynamicLinks/FDLURLComponents/FDLURLComponents+Private.h' file not found Update: Looks like this happens in Unity Cloud Build, but works fine locally on the machine. In the cloud build log I see a lot of new "skipping" messages including: This didn't happen in previous (successful) builds with firebase 5.2.0. |
I am sorry to revive this post again but starting from today build errors started to occur. I am having @forgedk error. If you solve this, can you guide me? Here is my problem. I was using Firebase SDK 5.3.0 with manual modification which showing here and it was working until 2 days ago. Which is where I got a working build. Today, when I tried to get build I am getting this error. I have upgraded Firebase SDK to 5.3.1 and tried also but the result is the same. I even went further and created an empty project just with Firebase Auth and Database sdk included version of 5.3.1 and it gave the same problem. Is there a way around? Why this happens? What I am using are |
Thank you for all those answers and guidance. Thank you for redirection but the problem is Unity Firebase Unity support channels are not responding to anything. Similar question asked like 15 days but not a single proper answer yet. That is why I wanted to post here. |
Seeing this same issue on Unity Cloud Build building for iOS. I was on 5.4.4 and upgraded just now to 5.5.0 and have the issue in both versions. Has anyone solved this on UCB? |
Steps to reproduce:
pod init
Note: Changing the platform to
platform :ios, '12.0'
causes the same issue.pod install
The text was updated successfully, but these errors were encountered: