You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd expect the following changes would fix the problem, but for some reason don't work. Looks like the type checking may be broken.
diff --git a/lib/cocoapods-core/specification/dsl.rb b/lib/cocoapods-core/specification/dsl.rb
index d6e398e..89fed94 100644
--- a/lib/cocoapods-core/specification/dsl.rb+++ b/lib/cocoapods-core/specification/dsl.rb@@ -301,6 +301,7 @@ module Pod
# A short description of the Pod.
#
root_attribute :summary,
+ :types => String,
:required => true
#------------------#
@@ -322,7 +323,8 @@ module Pod
# @param [String] description
# A longer description of the Pod.
#
- root_attribute :description+ root_attribute :description,+ :types => String
#------------------#
@@ -362,7 +364,8 @@ module Pod
# @param [String] documentation_url
# The link of the web documentation of the Pod.
#
- root_attribute :documentation_url+ root_attribute :documentation_url,+ :types => String
#------------------#
@@ -776,7 +779,8 @@ module Pod
# The path to the prefix header file.
#
attribute :prefix_header_file,
- :inherited => true+ :inherited => true,+ :types => String
#------------------#
String is the default type, but I'm working on a fix -- only question: should this happen on validation or when creating the Specification from the DSL, or both?
I'd expect the following changes would fix the problem, but for some reason don't work. Looks like the type checking may be broken.
From CocoaPods/CocoaPods#3134
The text was updated successfully, but these errors were encountered: