C# 클래스 Google.IOSResolver

파일 보기 프로젝트 열기: googlesamples/unity-jar-resolver 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TARGET_NAME string

Private Properties

프로퍼티 타입 설명
FindFile List
FindPodTool string
FindPodsWithBitcodeDisabled List
IOSResolver GooglePlayServices
InitializeTargetName void
InjectDependencies bool
Log void
OnPostProcessGenPodfile void
OnPostProcessInstallPods void
OnPostProcessPatchProject void
OnPostProcessUpdateProjectDeps void
ResolveUnityEditoriOSXcodeExtension System.Reflection.Assembly
TargetSdkNeedsUpdate List>.KeyValuePair
TargetSdkStringToVersion int
TargetSdkVersionToString string
UpdateTargetSdk bool

공개 메소드들

메소드 설명
AddPod ( string podName, string version = null, bool bitcodeEnabled = true, string minTargetSdk = null ) : void

Tells the app what pod dependencies are needed. This is called from a deps file in each API to aggregate all of the dependencies to automate the Podfile generation.

GetProjectPath ( string relativeTo ) : string

Get the generated xcode project path relative to the specified directory.

PodPresent ( string pod ) : bool

Determine whether a Pod is present in the list of dependencies.

RemapXcodeExtension ( ) : void
UpdateTargetSdk ( ) : bool

Update the target SDK if it's required.

비공개 메소드들

메소드 설명
FindFile ( string searchPath, string fileToFind, int maxDepth, int currentDepth ) : List
FindPodTool ( ) : string

Find the "pod" tool.

FindPodsWithBitcodeDisabled ( ) : List

Determine whether any pods need bitcode disabled.

IOSResolver ( ) : GooglePlayServices

Initialize the module.

InitializeTargetName ( ) : void

Initialize the TARGET_NAME property.

InjectDependencies ( ) : bool

Whether to inject iOS dependencies in the Unity generated Xcode project.

Log ( string message, bool verbose = false, LogLevel level = LogLevel.Info ) : void

Log a message.

OnPostProcessGenPodfile ( BuildTarget buildTarget, string pathToBuiltProject ) : void
OnPostProcessInstallPods ( BuildTarget buildTarget, string pathToBuiltProject ) : void
OnPostProcessPatchProject ( BuildTarget buildTarget, string pathToBuiltProject ) : void
OnPostProcessUpdateProjectDeps ( BuildTarget buildTarget, string pathToBuiltProject ) : void
ResolveUnityEditoriOSXcodeExtension ( object sender, ResolveEventArgs args ) : Assembly
TargetSdkNeedsUpdate ( ) : List>.KeyValuePair

Determine whether the target SDK needs to be updated based upon pod dependencies.

TargetSdkStringToVersion ( string targetSdk ) : int

Convert a target SDK string into a value of the form (major * 10) + minor.

TargetSdkVersionToString ( int version ) : string

Convert an integer target SDK value into a string.

UpdateTargetSdk ( Pod pod, bool notifyUser = true ) : bool

Update the iOS target SDK if it's lower than the minimum SDK version specified by the pod.

메소드 상세

AddPod() 공개 정적인 메소드

Tells the app what pod dependencies are needed. This is called from a deps file in each API to aggregate all of the dependencies to automate the Podfile generation.
public static AddPod ( string podName, string version = null, bool bitcodeEnabled = true, string minTargetSdk = null ) : void
podName string pod path, for example "Google-Mobile-Ads-SDK" to /// be included
version string Version specification. See Pod.version.
bitcodeEnabled bool Whether the pod was compiled with bitcode /// enabled. If this is set to false on a pod, the entire project will /// be configured with bitcode disabled.
minTargetSdk string Minimum SDK revision required by this /// pod.
리턴 void

GetProjectPath() 공개 정적인 메소드

Get the generated xcode project path relative to the specified directory.
public static GetProjectPath ( string relativeTo ) : string
relativeTo string Path the project is relative to.
리턴 string

PodPresent() 공개 정적인 메소드

Determine whether a Pod is present in the list of dependencies.
public static PodPresent ( string pod ) : bool
pod string
리턴 bool

RemapXcodeExtension() 공개 정적인 메소드

public static RemapXcodeExtension ( ) : void
리턴 void

UpdateTargetSdk() 공개 정적인 메소드

Update the target SDK if it's required.
public static UpdateTargetSdk ( ) : bool
리턴 bool

프로퍼티 상세

TARGET_NAME 공개적으로 정적으로 프로퍼티

Main executable target of the Xcode project generated by Unity.
public static string TARGET_NAME
리턴 string