Skip to content

Build Errors with WatchOS Target #192

Answered by marcprux
cengelbart39 asked this question in Q&A
Discussion options

You must be logged in to vote

I'm seeing this error too when I add a watchOS target to the default HelloSkip app. Unfortunately, it seems to be a known issue with plugins and watchOS targets: mac-cain13/R.swift#815 (found via https://stackoverflow.com/a/76030048/10253094).

Unfortunately, I can't think of any good workaround that doesn't involve duplicating the target with one that shares the code but doesn't invoke the transpiler. You might be able to get creative with symbolic links between source files in different targets, but I'll see if I can think of a better solution. Note that this might be fixed by Xcode 16 – since I know they refactored how plugin targets are structured somewhat – but we are currently having…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@cengelbart39
Comment options

Comment options

You must be logged in to vote
1 reply
@cengelbart39
Comment options

Answer selected by cengelbart39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants