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
a4e15873
Commit
a4e15873
authored
May 04, 2013
by
Eloy Durán
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Doc] Make clear that an error occurred in a pre/post hook.
parent
11dca2a8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
installer.rb
lib/cocoapods/installer.rb
+8
-8
No files found.
lib/cocoapods/installer.rb
View file @
a4e15873
...
@@ -416,8 +416,8 @@ module Pod
...
@@ -416,8 +416,8 @@ module Pod
def
run_spec_pre_install_hook
(
spec
,
lib_representation
)
def
run_spec_pre_install_hook
(
spec
,
lib_representation
)
spec
.
pre_install!
(
pod_rep
(
spec
.
root
.
name
),
lib_representation
)
spec
.
pre_install!
(
pod_rep
(
spec
.
root
.
name
),
lib_representation
)
rescue
=>
e
rescue
=>
e
raise
Informative
,
"
The pre install hook of
#{
spec
}
is not
"
\
raise
Informative
,
"
An error occurred while processing the pre-install
"
\
"
compatible with this version of CocoaPods
."
\
"
hook of
#{
spec
}
."
\
"
\n\n
#{
e
.
message
}
\n\n
#{
e
.
backtrace
*
"
\n
"
}
"
"
\n\n
#{
e
.
message
}
\n\n
#{
e
.
backtrace
*
"
\n
"
}
"
end
end
...
@@ -430,8 +430,8 @@ module Pod
...
@@ -430,8 +430,8 @@ module Pod
def
run_podfile_pre_install_hook
def
run_podfile_pre_install_hook
podfile
.
pre_install!
(
installer_rep
)
podfile
.
pre_install!
(
installer_rep
)
rescue
=>
e
rescue
=>
e
raise
Informative
,
"
The pre install hook of the Podfile is not
"
\
raise
Informative
,
"
An error occurred while processing the pre-install
"
\
"
compatible with this version of CocoaPods
."
\
"
hook of the Podfile
."
\
"
\n\n
#{
e
.
message
}
\n\n
#{
e
.
backtrace
*
"
\n
"
}
"
"
\n\n
#{
e
.
message
}
\n\n
#{
e
.
backtrace
*
"
\n
"
}
"
end
end
...
@@ -475,8 +475,8 @@ module Pod
...
@@ -475,8 +475,8 @@ module Pod
def
run_spec_post_install_hook
(
spec
,
lib_representation
)
def
run_spec_post_install_hook
(
spec
,
lib_representation
)
spec
.
post_install!
(
lib_representation
)
spec
.
post_install!
(
lib_representation
)
rescue
=>
e
rescue
=>
e
raise
Informative
,
"
The post install hook of
#{
spec
}
is not
"
\
raise
Informative
,
"
An error occurred while processing the post-install
"
\
"
compatible with this version of CocoaPods
."
\
"
hook of
#{
spec
}
."
\
"
\n\n
#{
e
.
message
}
\n\n
#{
e
.
backtrace
*
"
\n
"
}
"
"
\n\n
#{
e
.
message
}
\n\n
#{
e
.
backtrace
*
"
\n
"
}
"
end
end
...
@@ -489,8 +489,8 @@ module Pod
...
@@ -489,8 +489,8 @@ module Pod
def
run_podfile_post_install_hook
def
run_podfile_post_install_hook
podfile
.
post_install!
(
installer_rep
)
podfile
.
post_install!
(
installer_rep
)
rescue
=>
e
rescue
=>
e
raise
Informative
,
"
The post install hook of the Podfile is not
"
\
raise
Informative
,
"
An error occurred while processing the post-install
"
\
"
compatible with this version of CocoaPods
."
\
"
hook of the Podfile
."
\
"
\n\n
#{
e
.
message
}
\n\n
#{
e
.
backtrace
*
"
\n
"
}
"
"
\n\n
#{
e
.
message
}
\n\n
#{
e
.
backtrace
*
"
\n
"
}
"
end
end
...
...
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