Make separate "create" and "update" functions for LC_BUILD_VERSION
Remove offset param where it was unused to cleanup function param lists
This fixes an issue where a library (GoogleMaps) has a LC_BUILD_VERSION command with a non-default size. Creation of a new section in this case was causing a corruption of offsets. When the command already exists, it's better to patch it instead of overwriting.
LC_BUILD_VERSION
offset
param where it was unused to cleanup function param listsThis fixes an issue where a library (
GoogleMaps
) has aLC_BUILD_VERSION
command with a non-default size. Creation of a new section in this case was causing a corruption of offsets. When the command already exists, it's better to patch it instead of overwriting.