Skip to content

Commit

Permalink
Always embed Swift standard libaries to prevent device-specific crash…
Browse files Browse the repository at this point in the history
…es on launch when linking Pods reliant on libswiftCore (BrainiumLLC#72)
  • Loading branch information
mworleybr committed Feb 25, 2022
1 parent 5395f1a commit 35e419d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/platforms/xcode/project.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ targets:
VALID_ARCHS: arm64 x86_64 # rustc doesn't support arm64e yet
LIBRARY_SEARCH_PATHS[sdk=iphoneos*]: $(inherited) "{{prefix-path "target/aarch64-apple-ios/$(CONFIGURATION)"}}"
LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*]: $(inherited) "{{prefix-path "target/x86_64-apple-ios/$(CONFIGURATION)"}}"
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: true
groups: [app]
dependencies:
- target: lib_{{app.name}}_iOS
Expand Down

0 comments on commit 35e419d

Please sign in to comment.