File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,10 @@ def install_when_cache_hit!
6969 # Build the needed framework files
7070 def prebuild_frameworks!
7171
72+ # check
73+ # give a early warning, instead of after compiling all the pods
74+ Prebuild . check_one_pod_should_have_only_one_target ( self . pod_targets )
75+
7276 # build options
7377 sandbox_path = sandbox . root
7478 existed_framework_folder = sandbox . generate_framework_path
@@ -114,10 +118,6 @@ def prebuild_frameworks!
114118
115119 targets = targets . reject { |pod_target | sandbox . local? ( pod_target . pod_name ) }
116120
117- # check
118- # give a early warning, instead of after compiling all the pods
119-
120- Prebuild . check_one_pod_should_have_only_one_target ( self . pod_targets )
121121
122122 # build!
123123 Pod ::UI . puts "Prebuild frameworks (total #{ targets . count } )"
You can’t perform that action at this time.
0 commit comments