Skip to content

Commit

Permalink
fix(ios): fix to add resources and sources file in widget extension (#…
Browse files Browse the repository at this point in the history
…11920)

Fixes TIMOB-27985
  • Loading branch information
vijaysingh-axway committed Sep 10, 2020
1 parent 4a835fd commit 4b97cec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3462,7 +3462,8 @@ iOSBuilder.prototype.createXcodeProject = function createXcodeProject(next) {
// add the groups and files
let hasSwiftFiles = false;
extObjs.PBXGroup[extPBXProject.mainGroup].children.some(function (child) {
if (child.comment !== target.name) {
// While creating Widget Extention, in target name 'Extension' is appended.
if (child.comment !== target.name && `${child.comment}Extension` !== target.name) {
return false;
}

Expand Down

0 comments on commit 4b97cec

Please sign in to comment.