Skip to content

Releases: CocoaPods/Xcodeproj

0.12.0

29 Oct 00:06
Compare
Choose a tag to compare
Breaking
  • [PBXGroup] #new_static_library has been replaced by the more versatile
    #new_product_ref_for_target.
    Fabio Pelosin
  • [XCScheme] Overhauled interface to support multiple targets.
    Jason Prado
    #95
  • [PBXGroup] renamed #recursively_sort_by_type to
    #sort_recursively_by_type.
    Fabio Pelosin
Enhancements
  • [PBXNativeTarget] #add_system_framework now adds the system frameworks
    relative to the developer directory. Xcode behaviour is following: if the
    target has the same SDK of the project it adds the reference relative to the
    SDK root otherwise the reference is added relative to the Developer
    directory. This can create confusion or duplication of the references of
    frameworks linked by iOS and OS X targets. For this reason the new Xcodeproj
    behaviour is to add the frameworks in a subgroup according to the platform.
    The method will also honor the SDK version of the target if available
    (otherwise the last known version is used).
    Fabio Pelosin
  • [Project] The project can now recreate it schemes from scratch and optionally
    hide them.
    Fabio Pelosin
  • Added support for booleans in the C extension which handles Property list
    files.
    Fabio Pelosin
  • Improvements to the generation of new targets.
    Fabio Pelosin
  • [Project] Added possibility to specify the position of groups while sorting.
    Fabio Pelosin
  • [PBXGroup] Now defaults to sorting by name.
    Fabio Pelosin
  • [XCScheme] The string representation of schemes now closely matches Xcode
    behaviour.
    Fabio Pelosin
  • [PBXGroup, PBXFileReference] Added #parents.
    Fabio Pelosin
  • [PBXGroup] Added #recursive_children_groups.
    Fabio Pelosin
  • [AbstractTarget] Add #sdk_version.
    Fabio Pelosin
  • Added default build settings to new projects according to Xcode defaults.
    Fabio Pelosin

0.11.1

29 Oct 00:06
Compare
Choose a tag to compare
Bug Fixes
  • No longer allow PBXTargetDependency to sort recursively. When two targets
    depend on each other, this would lead to the two targets endlessly sorting
    each other and finally crashing with a stack overflow.
    Eloy Durán
    CocoaPods#1384

0.11.0

29 Oct 00:06
Compare
Choose a tag to compare
Breaking
  • Added support for Xcode 5.
  • The ARCHS option is not set anymore and will use Xcode’s defaults. This
    fixes the build and archive issue with the new arm64 architecture.
    CocoaPods#1352
  • The default of the ONLY_ACTIVE_ARCH setting has changed to YES
    in the Debug configuration. 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.
  • [Project] #add_system_framework has been removed in favor of
    PBXNativeTarget#add_system_framework.
Enhancements
  • [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.
  • [Project::Object] Added #sort.
  • [Project] Added #sort, #add_system_library.
  • [Project::ObjectList] Added #move and #move_from.
  • [PBXNativeTarget] Improve #add_dependency to avoid duplicates.
  • [PBXNativeTarget] Added #add_system_framework, #add_system_frameworks,
    #add_system_library, #add_system_libraries.
  • [PBXFileReference, PBXGroup] Added set_source_tree and #set_path.
  • [PBXGroup] Added find_file_by_path.
  • [AbstractBuildPhase] Added #file_display_names, #build_file, and #include.
Bug Fixes
  • [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, ') when writing
    the file.
    amolloy
  • Fix C-ext memory leak by closing and releasing the CFWriteStream used to write
    projects when done.
    #93
    jasonprado

0.10.1

29 Oct 00:06
Compare
Choose a tag to compare
Enhancements

0.10.0

29 Oct 00:06
Compare
Choose a tag to compare
Breaking
  • To initialize a project a path is required even is the project is being
    initialized from scratch.
  • To open an existing project Xcodeproj::Project.open should be used in place
    of Xcodeproj::Project.new, which now is deprecated for that purpose.
  • Project#save_as has been renamed to Project#save which 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. #new_file, #group) has been deprecated.
  • Removed PBXGroup#new_xcdatamodel_group.
  • [PBXFileReference] #update_last_known_file_type has been renamed to
    #set_last_known_file_type. Added #set_explicit_file_type.
  • [PBXGroup] Renamed #sort_by_type! to #sort_by_type.
  • [Project] #add_system_framework now adds the reference to the frameworks
    build phase of the target as well.
Enhancements
  • CoreData versioned models are now properly handled respecting the contents of
    the .xccurrentversion file.
    CocoaPods/CocoaPods#1288,
    #83
    Ashton-W
  • [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.
  • Added PBXGroup#parent, PBXGroup#real_path, PBXFileReference#parent
    (replaces #group), and PBXFileReference#real_path.
  • 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] Added #recursively_sort_by_type.
  • [PBXGroup, PBXFileReference] Added #move.
  • [AbstractTarget] Added #add_build_configuration.

0.9.0

29 Oct 00:16
Compare
Choose a tag to compare
Enhancements
  • 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.
Bug Fixes
  • The file type of the frameworks file references has be corrected.