Skip to content

Commit

Permalink
ios: delete .deps gyp paths from app build
Browse files Browse the repository at this point in the history
Deletes the .deps temporary paths created by Gyp from the
application's build, as they are unneeded and can cause App Store
rejections.
  • Loading branch information
jaimecbernardo committed Jun 18, 2018
1 parent 5f5447d commit 757294e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/module-postlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ embed_framework()
}
find "$CODESIGNING_FOLDER_PATH/nodejs-project/" -name "*.framework" -type d | while read frmwrk_path; do embed_framework "$frmwrk_path"; done
#Delete gyp temporary .deps dependency folders from the project structure.
find "$CODESIGNING_FOLDER_PATH/nodejs-project/" -path "*/.deps/*" -delete
find "$CODESIGNING_FOLDER_PATH/nodejs-project/" -name ".deps" -type d -delete
#Delete frameworks from their build paths
find "$CODESIGNING_FOLDER_PATH/nodejs-project/" -path "*/*.framework/*" -delete
find "$CODESIGNING_FOLDER_PATH/nodejs-project/" -name "*.framework" -type d -delete
Expand Down

0 comments on commit 757294e

Please sign in to comment.