rlsbl v0.92.0 /rlsbl.targets.native_ios
On this page

Native iOS release target supporting version management via MARKETING_VERSION in Xcode project files and Tuist Project.swift.

#rlsbl.targets.native_ios

#rlsbl.targets.native_ios

Native iOS release target supporting version management via MARKETING_VERSION in Xcode project files and Tuist Project.swift.

#NativeIosTarget

Release target for native iOS apps using Xcode or Tuist.

#name

python
def name(self)

#_find_pbxproj

python
def _find_pbxproj(self, dir_path)

Find the first .xcodeproj/project.pbxproj with version keys.

Returns the path to the pbxproj file, or None.

#_find_tuist

python
def _find_tuist(self, dir_path)

Find Project.swift with CFBundleShortVersionString.

Returns the path to Project.swift, or None.

#detect

python
def detect(self, dir_path)

Detect native iOS project. Rejects SPM projects (Package.swift).

#read_version

python
def read_version(self, dir_path)

Read marketing version from pbxproj or Tuist Project.swift.

#write_version

python
def write_version(self, dir_path, version, ctx)

Write version to pbxproj or Tuist, incrementing build number.

Returns a list of relative file paths that were modified.

#version_file

python
def version_file(self, dir_path=None)

#read_name

python
def read_name(self, dir_path, ctx)

Return the xcodeproj name without .xcodeproj suffix, or directory basename.

#template_dir

python
def template_dir(self)

#template_mappings

python
def template_mappings(self, ctx)

#_atomic_write

python
def _atomic_write(path, content)

Write content to path atomically via tmpfile + os.replace.