-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
Swift Compiler Error (Xcode): 'addApplicationDelegate' is unavailable in application extensions for iOS #201
Comments
Can you please let me know some Infos:
|
Having the same issue as @rohanots & @ThuyenPV:
@ABausG there was a very similar issue on |
Update on this: Found the culprit and noticed this happens when adding interactivity to iOS Widgets (and including the Library in the Pods for the Extension) I am working on a fix for this |
Running into same issue. Replacing |
This does not fixes the issue. As the author mentioned, adding interactivity is the culprit. When you apply your workaround, you won't be able to |
It's a workaround, yes, but it allows you to import the |
Inheriting search paths worked fine until it didn't. I've created a PR with a fix that allows importing PR: #228 |
You were right, I'm sorry. I guess I confused something because I tried to apply tons of workaround to fix this issue. I'm using your workaround and Now I realized you made pull request for [ignoreSetup] too. (#219 (comment)) 🚀🚀🚀 |
Fixed in Version 0.5.0 |
Could not build the precompiled application for the device. Swift Compiler Error (Xcode): 'addApplicationDelegate' is unavailable in application extensions for iOS: Disallowed in plugins used in app extensions /Users/thupv2/thupv/research/home_widget/ios/Classes/SwiftHomeWidget Plugin.swift:32:14 Error launching application on Thuyen Pham Iphone.
The text was updated successfully, but these errors were encountered: