lib/installer.rb in cocoapods-keys-0.6.0 vs lib/installer.rb in cocoapods-keys-0.6.1
- old
+ new
@@ -14,10 +14,10 @@
Pod::UI.section 'Adding keys' do
key_master = KeyMaster.new(keyring)
keys_folder = File.join(@sandbox_root, 'Keys')
- keys_headers_folder = File.join(@sandbox_root, 'Headers', 'CocoaPods-Keys')
+ keys_headers_folder = File.join(@sandbox_root, 'Headers', 'Public', 'CocoaPods-Keys')
interface_file = File.join(keys_headers_folder, key_master.name + '.h')
implementation_file = File.join(keys_folder, key_master.name + '.m')
Dir.mkdir keys_folder unless Dir.exists? keys_folder
Dir.mkdir keys_headers_folder unless Dir.exists? keys_headers_folder
File.open(interface_file, 'w') { |f| f.write(key_master.interface) }