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
99890bab
Commit
99890bab
authored
Nov 11, 2015
by
Muhammed Yavuz Nuzumlali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ask user to run 'pod install' when a resource to copy not found
parent
462be233
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
CHANGELOG.md
CHANGELOG.md
+3
-0
copy_resources_script.rb
lib/cocoapods/generator/copy_resources_script.rb
+6
-0
No files found.
CHANGELOG.md
View file @
99890bab
...
...
@@ -8,6 +8,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Enhancements
*
Ask user to run
`pod install`
when a resource not found during in copy resources script.
[
Muhammed Yavuz Nuzumlalı
](
https://github.com/manuyavuz
)
*
Add support to track
`.def`
sources.
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
#4490
](
https://github.com/CocoaPods/CocoaPods/pull/4490
)
...
...
lib/cocoapods/generator/copy_resources_script.rb
View file @
99890bab
...
...
@@ -114,6 +114,12 @@ realpath() {
install_resource()
{
if [ ! -e "${PODS_ROOT}/$1" ]; then
cat << EOM
error: Resource "${PODS_ROOT}/$1" not found. Run 'pod install' to update the copy resources script.
EOM
exit 1
fi
case $1 in
*
\.
storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename
\\
"$1
\\
" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
...
...
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