Skip to content

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

Draft
carson-katri wants to merge 2 commits intomainfrom
auto-addon-registration
Draft

Add AutoAddonPlugin to detect @LiveElement views in a project#1553
carson-katri wants to merge 2 commits intomainfrom
auto-addon-registration

Conversation

@carson-katri
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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