Skip to content

Commit

Permalink
For CocoaPods#3008 Only codesign swift runtime libs if code signing i…
Browse files Browse the repository at this point in the history
…s required.
  • Loading branch information
jrosssavant committed Jan 6, 2015
1 parent 3b06846 commit 540af85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/cocoapods/generator/embed_frameworks_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def script
for lib in $swift_runtime_libs; do
echo "rsync -av \\"${SWIFT_STDLIB_PATH}/${lib}\\" \\"${destination}\\""
rsync -av "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
code_sign "${destination}/${lib}"
if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then
code_sign "${destination}/${lib}"
fi
done
}
Expand Down

0 comments on commit 540af85

Please sign in to comment.