File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
lib/cocoapods-binary/rome Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,11 @@ def build_for_iosish_platform(sandbox,
4242 module_name = target . product_module_name
4343 device_framework_path = "#{ build_dir } /#{ CONFIGURATION } -#{ device } /#{ target_name } /#{ module_name } .framework"
4444 simulator_framework_path = "#{ build_dir } /#{ CONFIGURATION } -#{ simulator } /#{ target_name } /#{ module_name } .framework"
45+ if !File . directory? ( device_framework_path )
46+ # Newer Xcodes seem to build all in one directory.
47+ device_framework_path = "#{ build_dir } /#{ CONFIGURATION } -#{ device } /#{ module_name } .framework"
48+ simulator_framework_path = "#{ build_dir } /#{ CONFIGURATION } -#{ simulator } /#{ module_name } .framework"
49+ end
4550
4651 device_binary = device_framework_path + "/#{ module_name } "
4752 simulator_binary = simulator_framework_path + "/#{ module_name } "
You can’t perform that action at this time.
0 commit comments