Version: 2019.3

PBXProject

class in UnityEditor.iOS.Xcode

マニュアルに切り替える

説明

Xcode プロジェクト(pbxproj ファイル)

コンストラクタ

PBXProjectPBXProject クラスの新規インスタンスを作成します

Public 関数

AddAssetTagForFileAdds an asset tag for the given file.
AddAssetTagToDefaultInstallAdds the asset tag to the list of tags to download during initial installation.
AddBuildConfigCreates a new set of build configurations for all targets in the project.
AddBuildPropertyAdds a value to build property list in all build configurations for the specified target(s).
AddBuildPropertyForConfigAdds a value to build property list of the given build configuration(s).
AddCapabilityAdd a target capability to the Xcode project. This enables behavior based on the capability type. Some capabilities will require additional setup within Xcode. For more control over the specific settings of capability use the ProjectCapabilityManager class.
AddCopyFilesBuildPhaseCreates a new copy files build phase for given target.
AddFileAdds a new file reference to the list of known files.
AddFileToBuildConfigures file for building for the given native target.
AddFileToBuildSectionConfigures file for building for the given native target on specific build section.
AddFileToBuildWithFlags特定のコンパイラーフラグを加えて指定した target でビルドするためにファイルを設定します。
AddFolderReferenceAdds a new folder reference to the list of known files.
AddFrameworksBuildPhaseCreates a new frameworks build phase for given target.
AddFrameworkToProjectAdds a system framework dependency for the specified target.
AddResourcesBuildPhaseCreates a new resources build phase for given target.
AddShellScriptBuildPhaseCreates a new copy shell script phase for given target.
AddSourcesBuildPhaseCreates a new sources build phase for given target.
AddTargetCreates a new native target.
BuildConfigByNameReturns the GUID of build configuration with the given name for the specific target.
BuildConfigNamesReturns the names of the build configurations available in the project.
ContainsFileByProjectPathファイルのプロジェクトパスからプロジェクトにファイルが含まれているかを確認します。
ContainsFileByRealPathファイルの「物理的な」パスからファイルがプロジェクトに含まれているかを確認します。
ContainsFrameworkChecks whether the given system framework is a dependency of a target.
FindFileGuidByProjectPathFinds a file with the given project path in the project, if any.
FindFileGuidByRealPathFinds a file with the given physical path in the project, if any.
GetAllBuildPhasesForTargetReturns all build phases for the specified target.
GetBuildPhaseNameReturns the name of the build phase with the specified GUID.
GetBuildPhaseTypeReturns the type of the build phase with the specified GUID.
GetBuildPropertyForAnyConfigGets a build property value for the given name in all build configurations for the specified target(s). If a property has multiple values they are delimited by a space.
GetBuildPropertyForConfigGets a build property value for the given name in the specified build configuration(s). If a property has multiple values they are delimited by a space.
GetCompileFlagsForFileReturns compile flags set for the specific file on a given target.
GetCopyFilesBuildPhaseByTargetReturns the GUID of matching copy files build phase for the given target.
GetFrameworksBuildPhaseByTargetReturns the GUID of frameworks build phase for the given target.
GetResourcesBuildPhaseByTargetReturns the GUID of resources build phase for the given target.
GetShellScriptBuildPhaseForTargetReturns the GUID of matching copy shell script build phase for the given target.
GetSourcesBuildPhaseByTargetReturns the GUID of sources build phase for the given target.
GetTargetProductFileRefReturns the file reference of the artifact created by building target.
InsertCopyFilesBuildPhaseCreates a new copy files build phase for given target.
InsertShellScriptBuildPhaseCreates a new shell script build phase for given target.
ProjectGuidReturns the GUID of the project.
ReadFromFileパスで指定されたファイルからプロジェクトを読み込みます。
ReadFromStreamTextReader からプロジェクトを読み込みます。
ReadFromString文字列からプロジェクトを読み込みます。
RemoveAssetTagRemoves an asset tag.
RemoveAssetTagForFileRemoves an asset tag for the given file.
RemoveAssetTagFromDefaultInstallRemoves the asset tag from the list of tags to download during initial installation.
RemoveBuildConfigRemoves all build configurations with the given name from all targets in the project.
RemoveFileプロジェクトからファイルを削除します。
RemoveFileFromBuild指定した target のビルドするファイルリストから指定したファイルを削除します。
RemoveFrameworkFromProjectRemoves a system framework dependency for the specified target.
SetBuildPropertySets a build property to the given value in all build configurations for the specified target(s).
SetBuildPropertyForConfigSets a build property to the given value in the specified build configuration(s).
SetCompileFlagsForFile指定したターゲットにある、指定したファイルのコンパイル フラグを設定します。
SetTeamIdSet the Team ID of an Xcode project.
TargetGuidByName名前からネイティブターゲットの GUID を取得します
UpdateBuildProperty指定した target のすべてのビルド設定にあるビルドプロパティーから値を追加 / 削除します。
UpdateBuildPropertyForConfigビルド設定のビルドプロパティーから値を追加 / 削除します。
WriteToFile指定したファイルにプロジェクトの内容を書き込みます。
WriteToStream指定した TextWriter にプロジェクト内容を書き込みます。
WriteToStringプロジェクトの内容を文字列として取得します。

Static 関数

GetPBXProjectPathReturns the path to PBX project in the given Unity build path.
GetUnityTargetNameDeprecated. Returns the default main target name in Unity project.
GetUnityTestTargetNameデフォルトのテスト ターゲット名を返します。
IsBuildableXcode によるビルドが可能な拡張子かどうかを確認します。
IsKnownExtensionPBXProject が判別できる拡張子かどうかを確認します。