Skip to content

Commit

Permalink
fix(ios): exclude all frameworks from optimizing files step (8_1_X) (t…
Browse files Browse the repository at this point in the history
…idev#10996)

* fix: exclude all frameworks from optimizing files step

* use proper regex
  • Loading branch information
janvennemann authored and ssekhri committed Aug 20, 2019
1 parent 06e17a5 commit 27eba2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -6439,7 +6439,7 @@ iOSBuilder.prototype.optimizeFiles = function optimizeFiles(next) {
}
}
});
}(this.xcodeAppDir, /^(PlugIns|Watch|TitaniumKit\.framework)$/i));
}(this.xcodeAppDir, /^(PlugIns|Watch|.+\.framework)$/i));

parallel(this, [
function (next) {
Expand Down
2 changes: 1 addition & 1 deletion iphone/cli/hooks/frameworks.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ class FrameworkIntegrator {
isa: 'PBXBuildFile',
fileRef: fileRefUuid,
fileRef_comment: frameworkPackageName,
settings: { ATTRIBUTES: [ 'CodeSignOnCopy' ] }
settings: { ATTRIBUTES: [ 'CodeSignOnCopy', 'RemoveHeadersOnCopy' ] }
};
this._xobjs.PBXBuildFile[embeddedBuildFileUuid + '_comment'] = frameworkPackageName + ' in Embed Frameworks';

Expand Down

0 comments on commit 27eba2a

Please sign in to comment.