Insert command only inserts to first architecture in universal binaries
jonpalmisc opened this issue · 3 comments
jonpalmisc commented
I've attempted to insert a load command as follows:
ktool insert --lc load --payload libExample.dylib --out TargetPatched Target
This succeeds in adding the load command to the first architecture in the universal binary, however, it does not insert it to the second. The ability to either;
- choose which architecture to add the load command for; or
- automatically insert the load command in both architectures
would be helpful.
0cyn commented
It should already be doing this; currently, it doesn't have slice selection (but should) and just iterates through all of them. Something must be broken.
0cyn commented
Fix published in 1.3.0