Added
- Deterministic reference generation #185 by @pepibumur
Removed
- Breaking Change
Referenceable
protocol #185 by @pepibumur. - Breaking Change Deprecated methods to access objects from the
PBXProj
. Developers should use thePBXProj.objects
property instead. #185 by @pepibumur.
Fixed
- Breaking:
PBXSourceTree
no longer has raw values and gained an associated value case to support custom locations #198 by @briantkelley
Changed
- Breaking: The
buildableProductRunnable
property onXCScheme.LaunchAction
andXCScheme.ProfileAction
is now optional. Similarly,macroExpansion
onXCScheme.TestAction
is also optional. #194 by @briantkelley - The
XCScheme
initialization from an XML file has been relaxed, better matching Xcode's behavior. Default values will be used if the XML file is missing the relevant element or attribute. #194 by @briantkelley
Migrate from 1.x.x to 2.x.x
- If you were using objects getters in
PBXProj
you should use the getters inPBXProj.objects
instead. - Objects don't include a
reference
property anymore. Objects associated references are the keys in the dictionary that contains them. - When objects are added to the
PBXProj.objects
collection a reference needs to be passed. The reference can be calculated using the functionPBXProj.objects.generateReference
that generates a unique and deterministic reference based on the given object and identifier. - If you were using
buildableProductRunnable
andmacroExpansion
properties fromXCScheme
actions they are now optionals.