Skip to content

fix: addTarget allow different productType#22

Merged
NathanWalker merged 1 commit intoNativeScript:mainfrom
farfromrefug:patch-3
Mar 11, 2026
Merged

fix: addTarget allow different productType#22
NathanWalker merged 1 commit intoNativeScript:mainfrom
farfromrefug:patch-3

Conversation

@farfromrefug
Copy link

It seems when you create watchapp in xcode it creates an "application" and not a "watch_app" target.
So when trying to simulate with nativescript-dev-xcode, creating an "application" would then not embed the watch app.
being able to specify a different product target type (watch_app) allows to fix that issue.

This PR is needed for the coming cli PR

@NathanWalker NathanWalker merged commit c696dbe into NativeScript:main Mar 11, 2026
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