fix iOS build

This commit is contained in:
Lucas Nogueira
2023-01-16 18:08:36 -03:00
parent 42037a7a99
commit 13fcc06087
+4 -8
View File
@@ -283,14 +283,10 @@ impl Builder {
#[cfg(target_os = "ios")]
{
let mut subsystem = String::new();
for (i, w) in app_handle
.config()
.tauri
.bundle
.identifier
.split('.')
.enumerate()
{
let identifier = &app_handle.config().tauri.bundle.identifier;
let mut s = identifier.split('.');
let last = s.clone().count() - 1;
for (i, w) in s.enumerate() {
if i != last {
subsystem.push_str(w);
subsystem.push('.');