Skip to content
Snippets Groups Projects
Commit 72c99722 authored by Alexandre Janniaux's avatar Alexandre Janniaux
Browse files

export_plugin: fix codesign bundle identifier

parent 0266a225
No related branches found
No related merge requests found
......@@ -121,13 +121,15 @@ for plugin in $(find "${INPUT_PATH}" -name '*plugin.dylib'); do
-id "@rpath/${name}_plugin.framework/${name}_plugin" \
-change "@rpath/libvlccore.dylib" "@rpath/vlccore.framework/vlccore"
normalized_name="$(echo ${name} | tr '_' '-')"
EXECUTABLE_NAME=${name}_plugin \
BUNDLE_IDENTIFIER=${BASE_IDENTIFIER}.$(echo ${name} | tr '_' '-')-plugin \
BUNDLE_IDENTIFIER="${BASE_IDENTIFIER}.${normalized_name}-plugin" \
bash template.info.plist.sh > "${OUTPUT_PATH}/${name}_plugin.framework/Info.plist"
plutil -convert binary1 "${OUTPUT_PATH}/${name}_plugin.framework/Info.plist"
codesign -f -v -s "${CODESIGN_IDENTITY}"\
-i ${BASE_IDENTIFIER}.${name}_plugin \
-i ${BASE_IDENTIFIER}.${normalized_name}-plugin \
"${OUTPUT_PATH}/${name}_plugin.framework"
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment