Repository navigation
Xcode: copy addon dylibs into the app's Frameworks folder and set the runpath - #692
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #320
Updated cmdLine from 0.118.0 to 0.119.0 and PG GUI from 0.112.0 to 0.113.0
#321 added
addDylib, but addon dylibs were still not copied into the app:.frameworkfiles, so dylibs were skippedaddDylibalso put the dylib in Compile Sources (no rule to process file ... of type 'compiled.mach-o.dylib'); it's linked through OTHER_LDFLAGS already@rpath/lib.dylibinstall name couldn't be foundNow the dylib goes in Copy Files -> Frameworks (code signed on copy) and LD_RUNPATH_SEARCH_PATHS gets
@executable_path/../Frameworks(macOS) /@executable_path/Frameworks(iOS / tvOS), once per build config.Tested with an addon carrying
libs/dyltest/lib/osx/libdyltest.dylib(@rpath/libdyltest.dylib): before, warning + not in the bundle; now it's indylibTest.app/Contents/Frameworks, signed, and the app runs (also after moving the .app elsewhere with the addon folder renamed, so it's the bundled copy). Updating again doesn't duplicate the runpath or the file.