mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-20 20:23:03 +02:00
[iOS] workaround having TBB symlink in NullkillerAI’s RPATH
AltStore doesn't sign symlinks
This commit is contained in:
parent
494e2c2c92
commit
409ab51036
@ -272,6 +272,7 @@ if(APPLE_IOS)
|
||||
add_custom_command(TARGET vcmiclient POST_BUILD
|
||||
COMMAND ios/set_build_version.sh "$<TARGET_BUNDLE_CONTENT_DIR:vcmiclient>"
|
||||
COMMAND ${CMAKE_COMMAND} --install "${CMAKE_BINARY_DIR}" --component "${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME}" --config "$<CONFIG>" --prefix "$<TARGET_BUNDLE_CONTENT_DIR:vcmiclient>"
|
||||
COMMAND ios/rpath_remove_symlinks.sh
|
||||
COMMAND ios/codesign.sh
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
)
|
||||
|
7
ios/rpath_remove_symlinks.sh
Executable file
7
ios/rpath_remove_symlinks.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd "$CODESIGNING_FOLDER_PATH/Frameworks"
|
||||
tbbFilename=$(otool -L libNullkiller.dylib | egrep --only-matching 'libtbb\S+')
|
||||
if [[ -L "$tbbFilename" ]]; then
|
||||
mv -f "$(readlink "$tbbFilename")" "$tbbFilename"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user