Skip to content

Commit

Permalink
Merge pull request #7890 from hansemannn/TIMOB-17335
Browse files Browse the repository at this point in the history
[TIMOB-17335] iOS: Support share extensions (again)
  • Loading branch information
cb1kenobi committed Mar 28, 2016
2 parents af7ca02 + 40bd563 commit 9f27375
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3131,10 +3131,10 @@ iOSBuilder.prototype.createXcodeProject = function createXcodeProject(next) {
xobjs.PBXBuildFile[copyFilesUuid + '_comment'] = productName + ' in ' + name;
}

if (targetInfo.isWatchAppV1Extension) {
addEmbedBuildPhase.call(this, 'Embed App Extensions', null, 13 /* type "plugin" */);
} else if (targetInfo.isWatchAppV2orNewer) {
if (targetInfo.isWatchAppV2orNewer) {
addEmbedBuildPhase.call(this, 'Embed Watch Content', '$(CONTENTS_FOLDER_PATH)/Watch', 16 /* type "watch app" */);
} else {
addEmbedBuildPhase.call(this, 'Embed App Extensions', null, 13 /* type "plugin" */);
}
}
}, this);
Expand Down

0 comments on commit 9f27375

Please sign in to comment.