public class XcodeProjectUtil extends Object
| Constructor and Description |
|---|
XcodeProjectUtil(String pbxProjLocation) |
| Modifier and Type | Method and Description |
|---|---|
List<ca.mestevens.ios.xcode.parser.models.CommentedIdentifier> |
addBuildFiles(List<File> files,
boolean dynamicFrameworks) |
void |
addDependenciesToTarget(String targetName,
List<File> dynamicFrameworks,
List<File> staticFrameworks,
List<File> libraries) |
List<ca.mestevens.ios.xcode.parser.models.CommentedIdentifier> |
addFileReferences(List<File> files) |
void |
addPropertyToList(String buildConfiguration,
String key,
String value) |
void |
addPropertyToString(String buildConfiguration,
String key,
String value) |
void |
createGroup(List<ca.mestevens.ios.xcode.parser.models.CommentedIdentifier> identifiers) |
void |
embedLibraries(ca.mestevens.ios.xcode.parser.models.PBXTarget target,
List<ca.mestevens.ios.xcode.parser.models.CommentedIdentifier> identifiers) |
ca.mestevens.ios.xcode.parser.models.PBXTarget |
getNativeTarget(String targetName) |
void |
linkLibraries(String targetIdentifier,
List<ca.mestevens.ios.xcode.parser.models.CommentedIdentifier> identifiers) |
void |
removeBuildFile(String identifier) |
void |
writeProject() |
public XcodeProjectUtil(String pbxProjLocation) throws ca.mestevens.ios.xcode.parser.exceptions.InvalidObjectFormatException
ca.mestevens.ios.xcode.parser.exceptions.InvalidObjectFormatExceptionpublic void addDependenciesToTarget(String targetName, List<File> dynamicFrameworks, List<File> staticFrameworks, List<File> libraries) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void addPropertyToList(String buildConfiguration, String key, String value)
public void addPropertyToString(String buildConfiguration, String key, String value)
public List<ca.mestevens.ios.xcode.parser.models.CommentedIdentifier> addBuildFiles(List<File> files, boolean dynamicFrameworks) throws ca.mestevens.ios.xcode.parser.exceptions.FileReferenceDoesNotExistException
ca.mestevens.ios.xcode.parser.exceptions.FileReferenceDoesNotExistExceptionpublic List<ca.mestevens.ios.xcode.parser.models.CommentedIdentifier> addFileReferences(List<File> files)
public void createGroup(List<ca.mestevens.ios.xcode.parser.models.CommentedIdentifier> identifiers)
public void linkLibraries(String targetIdentifier, List<ca.mestevens.ios.xcode.parser.models.CommentedIdentifier> identifiers)
public void embedLibraries(ca.mestevens.ios.xcode.parser.models.PBXTarget target,
List<ca.mestevens.ios.xcode.parser.models.CommentedIdentifier> identifiers)
public ca.mestevens.ios.xcode.parser.models.PBXTarget getNativeTarget(String targetName)
public void removeBuildFile(String identifier)
public void writeProject()
throws IOException
IOExceptionCopyright © 2015. All rights reserved.