Conversation
…pplicationExtension
…s not supported by tvOSApplicationExtension
…to be compatible with tvOS
Codecov Report
@@ Coverage Diff @@
## dev-v3.2.0 #77 +/- ##
==============================================
- Coverage 90.23% 86.83% -3.41%
==============================================
Files 14 14
Lines 1116 1116
==============================================
- Hits 1007 969 -38
- Misses 109 147 +38 |
AEPAnalytics/Tests/FunctionalTests/AnalyticsTrack+LifecycleTestBase.swift
Show resolved
Hide resolved
| #endif | ||
|
|
||
| @UIApplicationMain | ||
| @available(tvOSApplicationExtension, unavailable) |
There was a problem hiding this comment.
Is this something that the app developer needs to declare in their App/SceneDelegate when using Analytics ext?
There was a problem hiding this comment.
Only in the tvOS target.
There was a problem hiding this comment.
@cdhoffmann do you mind sharing a quick summary of your findings on this and should we add a task to remind us to update the code once this issue is resolved?
|
@cdhoffmann @praveek @emdobrin Errors are as follows (I see it same with Analytics and Signal): As a fix I can suggest adding as example: after this line I am adding this to our platform plugin using your SDK and it is resolving to compile the framework correctly, probably it is related to Xcode and could be resolved on their side on some point but for now it can help it to continue to work for tvOS. |
Hi @alexzchut, We are aware of this issue with the Xcode and we recommend using this workaround documented here. Please let us know if you this works for you. Thanks, |
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
AppleTv Sample App UI:

ExtensionVersion and trackAction with context data:

Sample trackAction ping:

Types of changes
Checklist: