mirror of
https://github.com/StikDebug/StikJIT.git
synced 2026-10-15 20:10:31 +00:00
Merge pull request #4 from khanhduytran0/patch-1
This commit is contained in:
commit
709898d500
1 changed files with 9 additions and 3 deletions
12
project.yml
12
project.yml
|
|
@ -34,12 +34,18 @@ targets:
|
|||
DEFINES_MODULE: YES
|
||||
BUILD_LIBRARY_FOR_DISTRIBUTION: YES
|
||||
SKIP_INSTALL: NO
|
||||
# idevice FFI: modulemap/headers to compile `import idevice`, and force_load the
|
||||
# static lib so all its symbols are embedded in the framework binary (self-contained).
|
||||
# Embed only the idevice code reachable from StikJIT. Keep archive symbols
|
||||
# private so unused FFI/Rust exports do not become dead-strip roots.
|
||||
SWIFT_INCLUDE_PATHS: "$(SRCROOT)/idevice $(SRCROOT)/iokit"
|
||||
HEADER_SEARCH_PATHS: "$(SRCROOT)/idevice $(SRCROOT)/iokit"
|
||||
LIBRARY_SEARCH_PATHS: "$(SRCROOT)/idevice"
|
||||
OTHER_LDFLAGS: "-force_load $(SRCROOT)/idevice/libidevice_ffi.a"
|
||||
OTHER_LDFLAGS: "$(inherited) -Wl,-hidden-lidevice_ffi"
|
||||
DEAD_CODE_STRIPPING: YES
|
||||
configs:
|
||||
Release:
|
||||
# Remove private symbol names from the shipped binary; keep the dSYM.
|
||||
STRIP_INSTALLED_PRODUCT: YES
|
||||
STRIP_STYLE: non-global
|
||||
|
||||
schemes:
|
||||
StikJIT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue