Skip to content

Add AutoAddonPlugin to detect @LiveElement views in a project #1553

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

carson-katri
Copy link
Member

The AutoAddonPlugin can be added to an Xcode project from the "Build Phases" tab under "Run Build-Tool Plugins".

Screenshot 2025-03-06 at 10 15 04 AM

It will generate an addon containing all @LiveElement Views in the target. The addon will be named after the target. For example, if you have a target named MyApp, the addon will be .myApp.

@carson-katri carson-katri marked this pull request as draft March 6, 2025 19:53
@carson-katri carson-katri added this to the 0.5.0 milestone Mar 6, 2025
@bcardarella
Copy link
Collaborator

can you make sure the CHANGELOG has this added. Just add a new section for 0.5.0

Comment on lines -26 to +28
environment: ProcessInfo.processInfo.environment,
// environment: ProcessInfo.processInfo.environment,
// environment: ["SDKROOT": "/Applications/Xcode-16-3.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk"],
// environment: ["SDKROOT": "/Applications/Xcode-16-3.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk"],
environment: ["SDKROOT": "/Applications/Xcode-16-3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk"],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be reverted if/when SDKROOT is added back to the environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants