159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
# File 'lib/cocoapods-tj/config/config_builder.rb', line 159
def xcode_BuildProductsPath_dir
@xcode_BuildProductsPath_dir ||= begin
temp_xcode_BuildProductsPath_dir = "xcode-build/Build/Intermediates.noindex/ArchiveIntermediates/#{target_name}/BuildProductsPath/"
full_path = File.join(root_dir, temp_xcode_BuildProductsPath_dir)
if (File.exist?(full_path))
Dir.chdir(full_path) do
iphoneos = Dir.glob('*-iphoneos')
if iphoneos.length > 0
full_path = File.join(full_path,iphoneos.first)
else
end
end
end
Pathname.new(full_path)
end
end
|