Added support for Xcode 5.
ARCHSoption is not set anymore and will use Xcode’s defaults. This fixes the build and archive issue with the new
The default of the
ONLY_ACTIVE_ARCHsetting has changed to
Debugconfiguration. This means that if this is a static library, the application that links the library in will have to make the same adjustment, or the build will fail.
#add_system_frameworkhas been removed in favor of
[Command] Added new subcommand
sort, to sort projects from the command line. This command is useful for sorting projects as well to easy comparison of existing projects.
#add_dependencyto avoid duplicates.
[PBXFileReference, PBXGroup] Added
[Command] Fixed opening existing projects.
[GroupableHelper] Improved handling of ambiguous parents.
Decode XML entities in project paths when reading workspace files. This prevents double-encoding the entities (for example,
&apos;) when writing the file. amolloy
- Build configurations are now deeply copied. CocoaPods/CocoaPods#1288,
To initialize a project a path is required even is the project is being initialized from scratch.
To open an existing project
Xcodeproj::Project.openshould be used in place of
Xcodeproj::Project.new, which now is deprecated for that purpose.
Project#save_ashas been renamed to
Project#savewhich uses the path provided during initialization by default.
The parameter to specify a subgroup of the helper methods to create file references and new groups (e.g.
#group) has been deprecated.
#update_last_known_file_typehas been renamed to
#add_system_frameworknow adds the reference to the frameworks build phase of the target as well.
[PBXGroup, PBXFileReference] Improved source tree handling in creation helpers. Now it is possible to specify the source tree which will be used to adjust the provided path as needed.
Xcodeproj will automatically utilize the xcproj command line tool if available in the path of the user to touch saved projects. This will result in projects serialized in the exact format used by Xcode.
[PBXGroup] Improved deletion.
[PBXGroup, PBXFileReference] Added
Frameworks are added using the last sdks version reported by the xcodebuild if the target links against the last SDK.
Improvements in the handling of file references to frameworks.
Improvements to the schemes logic.
Added support for resources bundle targets.
Project::Group#new_file will now create XCVersionGroup for xcdatamodeld file.
- The file type of the frameworks file references has be corrected.