File tree 1 file changed +5
-0
lines changed
lib/cocoapods-binary/rome
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,
42
42
module_name = target . product_module_name
43
43
device_framework_path = "#{ build_dir } /#{ CONFIGURATION } -#{ device } /#{ target_name } /#{ module_name } .framework"
44
44
simulator_framework_path = "#{ build_dir } /#{ CONFIGURATION } -#{ simulator } /#{ target_name } /#{ module_name } .framework"
45
+ if !device_framework_path . directory?
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
45
50
46
51
device_binary = device_framework_path + "/#{ module_name } "
47
52
simulator_binary = simulator_framework_path + "/#{ module_name } "
You can’t perform that action at this time.
0 commit comments