mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Fix build
This commit is contained in:
parent
0ee92ae6a6
commit
d7027eb76c
@ -454,8 +454,6 @@ def resolve_codesigning(arguments, base_path, build_configuration, provisioning_
|
|||||||
)
|
)
|
||||||
elif arguments.xcodeManagedCodesigning is not None and arguments.xcodeManagedCodesigning == True:
|
elif arguments.xcodeManagedCodesigning is not None and arguments.xcodeManagedCodesigning == True:
|
||||||
profile_source = XcodeManagedCodesigningSource()
|
profile_source = XcodeManagedCodesigningSource()
|
||||||
elif arguments.noCodesigning is not None:
|
|
||||||
return ResolvedCodesigningData(aps_environment='production')
|
|
||||||
else:
|
else:
|
||||||
raise Exception('Neither gitCodesigningRepository nor codesigningInformationPath are set')
|
raise Exception('Neither gitCodesigningRepository nor codesigningInformationPath are set')
|
||||||
|
|
||||||
@ -602,9 +600,6 @@ def build(bazel, arguments):
|
|||||||
bazel_command_line.set_show_actions(arguments.showActions)
|
bazel_command_line.set_show_actions(arguments.showActions)
|
||||||
bazel_command_line.set_enable_sandbox(arguments.sandbox)
|
bazel_command_line.set_enable_sandbox(arguments.sandbox)
|
||||||
|
|
||||||
if arguments.noCodesigning is not None:
|
|
||||||
bazel_command_line.set_disable_provisioning_profiles()
|
|
||||||
|
|
||||||
bazel_command_line.set_split_swiftmodules(arguments.enableParallelSwiftmoduleGeneration)
|
bazel_command_line.set_split_swiftmodules(arguments.enableParallelSwiftmoduleGeneration)
|
||||||
|
|
||||||
bazel_command_line.invoke_build()
|
bazel_command_line.invoke_build()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user