Commit d21d7ec6 authored by Samuel E. Giddins's avatar Samuel E. Giddins

Merge pull request #4692 from CocoaPods/seg-update-xcodeproj

[Bundle] Update Xcodeproj
parents 5e13b2d1 4fc49822
GIT
remote: https://github.com/CocoaPods/CLAide.git
revision: 4ded02e52c34d5bbe5f6f031d917394286445aa6
revision: f16fb46831ae1ca77f0d1dc7e538a50044ee4951
branch: master
specs:
claide (0.9.1)
......@@ -24,7 +24,7 @@ GIT
GIT
remote: https://github.com/CocoaPods/Xcodeproj.git
revision: eea8f8d58eef635f2cc9121ee1af6a5478a2841c
revision: ffeadb7ca0edc5afafbac0304cf088c4e4b75ae5
branch: master
specs:
xcodeproj (0.28.2)
......
......@@ -6,7 +6,7 @@ module Pod
end
def save_as(path)
Xcodeproj::PlistHelper.write(plist, path)
Xcodeproj::Plist.write_to_path(plist, path)
end
def plist
......
......@@ -54,7 +54,7 @@ describe Pod::Generator::Plist do
basepath = config.sandbox.root + 'Pods-acknowledgements'
given_path = @generator.class.path_from_basepath(basepath)
expected_path = config.sandbox.root + 'Pods-acknowledgements.plist'
Xcodeproj::PlistHelper.expects(:write).with(equals(@generator.plist), equals(expected_path))
Xcodeproj::Plist.expects(:write_to_path).with(equals(@generator.plist), equals(expected_path))
@generator.save_as(given_path)
end
end
......@@ -69,7 +69,7 @@ module Pod
generator = Generator::InfoPlistFile.new(mock('Target', :platform => stub(:name => :ios)))
file = temporary_directory + 'Info.plist'
generator.save_as(file)
Xcodeproj::PlistHelper.read(file).should == {
Xcodeproj::Plist.read_from_path(file).should == {
'CFBundleDevelopmentRegion' => 'en',
'CFBundleExecutable' => '${EXECUTABLE_NAME}',
'CFBundleIdentifier' => '${PRODUCT_BUNDLE_IDENTIFIER}',
......@@ -89,7 +89,7 @@ module Pod
generator = Generator::InfoPlistFile.new(pod_target)
file = temporary_directory + 'Info.plist'
generator.save_as(file)
Xcodeproj::PlistHelper.read(file)['UIRequiredDeviceCapabilities'].should == %w(arm64)
Xcodeproj::Plist.read_from_path(file)['UIRequiredDeviceCapabilities'].should == %w(arm64)
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment