-
-
Notifications
You must be signed in to change notification settings - Fork 197
Kddimitrov/watch app #4568
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
Kddimitrov/watch app #4568
Conversation
f1d48d8
to
5b34894
Compare
5b34894
to
be2ee2a
Compare
test cli-smoke |
test cli-smoke |
const addedWatchApp = await this.$iOSWatchAppService.addWatchAppFromPath({ watchAppFolderPath: path.join(resourcesDirectoryPath, platformData.normalizedPlatformName), projectData, platformData, pbxProjPath }); | ||
|
||
if (addedWatchApp) { | ||
this.$logger.warn("The support for Apple Watch App is currently in Beta. For more information about the current development state and any known issues, please check the relevant GitHub issue: ISSUE LINK"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to add the link here
{name: "PRODUCT_BUNDLE_IDENTIFIER", value: identifier}, | ||
{name: "SDKROOT", value: "watchos"}, | ||
{name: "TARGETED_DEVICE_FAMILY", value: IOSDeviceTargets.watchos}, | ||
{name: "WATCHOS_DEPLOYMENT_TARGET", value: 5.2}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we hardcode this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that its not obvious, but I left a way for the user to override this setting in the watchapp.json
and extension.json
. The method call here will read the JSON file and set all target build configuration properties listed in the property - the code is here.
For an example how the JSON file will look like you can check point 7 in the related issue description here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the great explanation and please excuse me for not checking the related issue.
PR Checklist
What is the current behavior?
What is the new behavior?
Fixes/Implements/Closes #4541