Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
8b75633c
Commit
8b75633c
authored
Oct 08, 2017
by
Dimitris Koutsogiorgas
Committed by
GitHub
Oct 08, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7112 from dnkoutso/strip_dysm
Strip vendored dSYMs during embed script phase
parents
467beead
0b8fd4cf
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
CHANGELOG.md
CHANGELOG.md
+4
-0
embed_frameworks_script.rb
lib/cocoapods/generator/embed_frameworks_script.rb
+9
-0
cocoapods-integration-specs
spec/cocoapods-integration-specs
+1
-1
No files found.
CHANGELOG.md
View file @
8b75633c
...
...
@@ -30,6 +30,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes
*
Strip vendored dSYMs during embed script phase
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
#7111
](
https://github.com/CocoaPods/CocoaPods/issues/7111
)
*
Warn when a pod that was added or changed includes script phases
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
#7110
](
https://github.com/CocoaPods/CocoaPods/pull/7110
)
...
...
lib/cocoapods/generator/embed_frameworks_script.rb
View file @
8b75633c
...
...
@@ -102,6 +102,15 @@ module Pod
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter
\\
"- CVS/
\\
" --filter
\\
"- .svn/
\\
" --filter
\\
"- .git/
\\
" --filter
\\
"- .hg/
\\
" --filter
\\
"- Headers
\\
" --filter
\\
"- PrivateHeaders
\\
" --filter
\\
"- Modules
\\
"
\\
"${source}
\\
"
\\
"${DWARF_DSYM_FOLDER_PATH}
\\
""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}"
fi
local basename
basename="$(basename -s .framework.dSYM "$source")"
binary="${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
# Strip invalid architectures so "fat" simulator / device frameworks work on device
if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
strip_invalid_archs "$binary"
fi
}
# Signs a framework with the provided identity
...
...
cocoapods-integration-specs
@
16b191d9
Subproject commit
70e3f73d93e62c964c0ef96c340d4a35e63907c5
Subproject commit
16b191d98446d2aad1e8a1ec73d1c5a743bb9f43
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment