@@ -27,7 +27,7 @@ def build_for_iosish_platform(sandbox,
27
27
other_options += [ 'BITCODE_GENERATION_MODE=bitcode' ]
28
28
end
29
29
xcodebuild ( sandbox , target_label , device , deployment_target , other_options )
30
- xcodebuild ( sandbox , target_label , simulator , deployment_target , other_options + [ 'ARCHS=x86_64' , 'ONLY_ACTIVE_ARCH=NO' , 'DEBUG_INFORMATION_FORMAT=dwarf' ] )
30
+ xcodebuild ( sandbox , target_label , simulator , deployment_target , other_options + [ 'ARCHS=x86_64' , 'ONLY_ACTIVE_ARCH=NO' ] )
31
31
32
32
# paths
33
33
root_name = target . pod_name
@@ -56,11 +56,11 @@ def build_for_iosish_platform(sandbox,
56
56
# handle the dSYM files
57
57
device_dsym = "#{ device_framwork_path } .dSYM"
58
58
if File . exist? device_dsym
59
- ## lipo the simulator dsym
60
- # tmp_lipoed_binary_path = "#{output_path}/#{module_name}.draft"
61
- # lipo_log = `lipo -create -output #{tmp_lipoed_binary_path} #{device_framwork_path}.dSYM /Contents/Resources/DWARF/#{module_name} #{simulator_framwork_path}.dSYM/Contents/Resources/DWARF/#{module_name}`
62
- # puts lipo_log unless File.exist?(tmp_lipoed_binary_path)
63
- # FileUtils.mv tmp_lipoed_binary_path, "#{device_framwork_path}.dSYM/Contents/Resources/DWARF/#{module_name}", :force => true
59
+ # lipo the simulator dsym
60
+ tmp_lipoed_binary_path = "#{ output_path } /#{ module_name } .draft"
61
+ lipo_log = `lipo -create -output #{ tmp_lipoed_binary_path } #{ device_dsym } /Contents/Resources/DWARF/#{ module_name } #{ simulator_framwork_path } .dSYM/Contents/Resources/DWARF/#{ module_name } `
62
+ puts lipo_log unless File . exist? ( tmp_lipoed_binary_path )
63
+ FileUtils . mv tmp_lipoed_binary_path , "#{ device_framwork_path } .dSYM/Contents/Resources/DWARF/#{ module_name } " , :force => true
64
64
FileUtils . mv device_dsym , output_path , :force => true
65
65
end
66
66
0 commit comments