Skip to content

Commit

Permalink
fix(cli): use correct lib name in xcode project (#6387)
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Mar 8, 2023
1 parent 8631eec commit d1752fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changes/lib-name-xcode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri': 'patch'
---

Use correct lib name in xcode project.
6 changes: 3 additions & 3 deletions tooling/cli/templates/mobile/ios/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ targets:
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: true
groups: [app]
dependencies:
- framework: lib{{snake-case app.name}}.a
- framework: lib{{app.lib_name}}.a
embed: false
{{~#each ios-libraries}}
- framework: {{this}}
Expand Down Expand Up @@ -120,8 +120,8 @@ targets:
name: Build Rust Code
basedOnDependencyAnalysis: false
outputFiles:
- $(SRCROOT)/target/aarch64-apple-ios/${CONFIGURATION}/deps/lib{{snake-case app.name}}.a
- $(SRCROOT)/target/x86_64-apple-ios/${CONFIGURATION}/deps/lib{{snake-case app.name}}.a
- $(SRCROOT)/target/aarch64-apple-ios/${CONFIGURATION}/deps/lib{{app.lib_name}}.a
- $(SRCROOT)/target/x86_64-apple-ios/${CONFIGURATION}/deps/lib{{app.lib_name}}.a
{{~#if ios-post-compile-scripts}}
postCompileScripts:
{{~#each ios-post-compile-scripts}}{{#if this.path}}
Expand Down

0 comments on commit d1752fb

Please sign in to comment.