lib/cocoapods-binary/Integration.rb in cocoapods-binary-0.2.1 vs lib/cocoapods-binary/Integration.rb in cocoapods-binary-0.2.2

- old
+ new

@@ -26,10 +26,14 @@ return if standard_sanbox.local? self.name target_folder.rmtree if target_folder.exist? target_folder.mkdir unless target_folder.exist? target = target_folder + "#{self.name}.framework" - File.symlink(source, target) + + + # make a relatvie symbol link + relative_source = source.relative_path_from(target_folder) + FileUtils.ln_sf(relative_source, target) end end end end