Commit daf72f5c authored by Eloy Duran's avatar Eloy Duran

Generated Pods.xcodeproj and workspace for ConfigureTest app.

With: cd examples/ConfigureTest && ../../bin/pod install ConfigureTest.xcodeproj
parent dbcd3f64
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Workspace version="1.0"><FileRef location="group:ConfigureTest.xcodeproj"></FileRef><FileRef location="group:Pods/Pods.xcodeproj"></FileRef></Workspace>
\ No newline at end of file
...@@ -123,24 +123,16 @@ module Pod ...@@ -123,24 +123,16 @@ module Pod
end end
app_project.main_group << configfile app_project.main_group << configfile
libfile = app_project.files.new({
# This doesn't work yet. 'path' => 'libPods.a',
# A working example from having dragged libPods.a over: 'lastKnownFileType' => 'archive.ar',
# {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libPods.a; 'includeInIndex' => '0',
# path = "Pods/build/Release-iphoneos/libPods.a"; sourceTree = "<group>"; }; 'sourceTree' => 'BUILT_PRODUCTS_DIR'
# Need to figure out how to calculate that path, which appears to be })
# based on the Pods.xcodeproj's BUILT_PRODUCTS_DIR. app_project.objects.select_by_class(Xcode::Project::PBXFrameworksBuildPhase).each do |build_phase|
# build_phase.files << libfile.build_file
# libfile = app_project.files.new({ end
# 'path' => 'libPods.a', app_project.main_group << libfile
# 'lastKnownFileType' => 'archive.ar',
# 'includeInIndex' => '0',
# 'sourceTree' => 'BUILT_PRODUCTS_DIR'
# })
# app_project.objects.select_by_class(Xcode::Project::PBXFrameworksBuildPhase).each do |build_phase|
# build_phase.files << libfile.build_file
# end
# app_project.main_group << libfile
app_project.save_as(projpath) app_project.save_as(projpath)
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