-
Notifications
You must be signed in to change notification settings - Fork 335
Latest version - Use of unresolved identifier 'AppEventsLogger' #433
Comments
The same for me |
Nothing is working in 0.7.0. |
Same problem for me as well. |
Same for me |
I had the same problem and the changed the It's compiling and logging for me now, but in the test events each log seems to be quadruplicated. |
@adrianorezena did you had changed your .activate method? Neither AppEventsLogger.activate, nor AppEvents.activate works |
@iKisliy , have you tried AppEvents.activateApp()? |
Yup, spent more than two hours trying to integrate the SDK with my app. |
I added
|
@dfmarulanda on which one you had downgraded? |
same problem here |
Facing same issue |
Having the same problem. Going to downgrade right now. |
13 days and @facebook-github-bot hasn't fixed this yet. SHAME |
One month… |
Any workaround for this? |
Can someone please walk through their steps for a working solution, via downgrading or otherwise? This is still very much a problem, and I bet most people who go to implement the SDK in their Swift apps using the official FB docs are going to end up here sooner or later. |
|
So the long story is that this SDK is a wrapper around the ObjC SDK. There's a little more information about this in the recently merged roadmap. TLDR: If you look at the changes between v0.6.0 and v0.7.0 - compare we updated to point to version 5.0 of the ObjC SDK. This was a breaking change and we should have cut a major release to reflect that. We also deprecated a number of wrapper classes including Those changes constituted a major effort to enhance the usability of the Swift interface that's generated from the ObjC SDK but it was not communicated well in terms of this project. The changes are documented reasonably well in this changelog under the 5.0 release. While it is completely reasonable to be upset about this series of events, I hope that this is enough explanation to unblock people who upgraded. Closing the issue as this was a bug in an evolving process and cannot be fixed by a simple code change. |
@joesus the docs you're linking to don't say what changes were done to |
@moesalih, good call. I just merged a pr to update the changelog so it's easier to see what was changed on the Swift SDK end of things. Check out: v0.6.0...v0.7.0 I just realized I referenced this change-set in the previous message but did not call out the Swift changes specifically. I updated the previous message to include that breadcrumb. Thanks for bringing that to my attention! |
For those who have simple implementations, the answer to get things working is simply this change:
is now
|
Checklist
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
10.2.1
5.0
[Cocoapods]
version1.6.1
Goals
Upgrade from FacebookCore 0.6.0 to FacebookCore 0.7.0
Expected Results
Being able to upgrade without any major change to the code.
Actual Results
AppEventsLogger is undefined.
Steps to Reproduce
Code Samples & Details
My Podfile
The text was updated successfully, but these errors were encountered: