fix iOS build

pull/96/head
Lucas Nogueira 2 years ago
parent 42037a7a99
commit 13fcc06087
No known key found for this signature in database
GPG Key ID: C54D79C4018F1D19

@ -283,14 +283,10 @@ impl Builder {
#[cfg(target_os = "ios")] #[cfg(target_os = "ios")]
{ {
let mut subsystem = String::new(); let mut subsystem = String::new();
for (i, w) in app_handle let identifier = &app_handle.config().tauri.bundle.identifier;
.config() let mut s = identifier.split('.');
.tauri let last = s.clone().count() - 1;
.bundle for (i, w) in s.enumerate() {
.identifier
.split('.')
.enumerate()
{
if i != last { if i != last {
subsystem.push_str(w); subsystem.push_str(w);
subsystem.push('.'); subsystem.push('.');

Loading…
Cancel
Save