App Store still complaining
Thorsten Hohage
thohage at genericobjects.de
Sun Feb 20 07:33:00 CST 2011
Hi Erne,
On 2011-02-20, at 13:36, Ernesto Giannotta wrote:
> Hi Ruslan,
>
> still a problem with the App Store here:
>
>
>> We've completed the review of your app but cannot post this version to the App Store because it is linking against a missing framework:
>>
>> </Applications/Notepad.app/Contents/Frameworks/V4CC.framework/V4CC>
>> links against: </Library/Frameworks/V4CC.framework> (MISSING)
>>
>> This is not in compliance with the App Store Review Guidelines <https://developer.apple.com/appstore/mac/resources/approval/guidelines.html>
>>
>> 2.24 Apps that use deprecated or optionally installed technologies (e.g., Java, Rosetta) will be rejected
>>
>
> Is there some install_name_tool command I can add to the install script to fix this?
You can even do this more sexy and set it up in XCode! Special copy phase to copy vcomponents in bundle, copy V4CC in Bundle and then run script
Sorry, currently I'm in a medical labor and working hard to get my new app up running with these machines, so no time to strip the script, but here is the full version
regards,
Thorsten Hohage
--
Valentina Technology Evangelist
generic objects GmbH - Leiter Solution Center Nord
app_vcomp="$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/vcomponents_x64"
v4cc="$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/SharedFrameworks/V4CC_x64.framework/Versions/A/V4CC_x64"
ddo="$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/SharedFrameworks/DDO.framework/Versions/A/DDO"
dbo="$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/SharedFrameworks/DBO.framework/Versions/A/DBO"
tomR="$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/SharedFrameworks/TomR.framework/Versions/A/TomR"
seminarC="$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/SharedFrameworks/SeminarContor.framework/Versions/A/SeminarContor"
wineC="$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/SharedFrameworks/WineContor.framework/Versions/A/WineContor"
mC="$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/SharedFrameworks/MContor.framework/Versions/A/MContor"
thC="$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/SharedFrameworks/THContor.framework/Versions/A/THContor"
#####################################
# CHANGE executable_path for engine dylibs:
#####################################
# change id of VSHARED
install_name_tool -id "@executable_path/../vcomponents_x64/libvshared_fat_release_x64.dylib" "$app_vcomp"/libvshared_fat_release_x64.dylib
# change id of VKERNEL
install_name_tool -id "@executable_path/../vcomponents_x64/libvkernel_fat_release_x64.dylib" "$app_vcomp"/libvkernel_fat_release_x64.dylib
install_name_tool -change "/usr/local/lib/vcomponents_x64/libvshared_fat_release_x64.dylib" "@executable_path/../vcomponents_x64/libvshared_fat_release_x64.dylib" "$app_vcomp"/libvkernel_fat_release_x64.dylib
install_name_tool -change "/usr/local/lib/vcomponents_x64/VSDK.framework/Versions/A/VSDK" "@executable_path/../vcomponents_x64/VSDK.framework/Versions/A/VSDK" "$app_vcomp"/libvkernel_fat_release_x64.dylib
# change id of VCLIENT
install_name_tool -id "@executable_path/../vcomponents_x64/libvclient_fat_release_x64.dylib" "$app_vcomp"/libvclient_fat_release_x64.dylib
install_name_tool -change "/usr/local/lib/vcomponents_x64/libvshared_fat_release_x64.dylib" "@executable_path/../vcomponents_x64/libvshared_fat_release_x64.dylib" "$app_vcomp"/libvclient_fat_release_x64.dylib
# change if of VSDK.framework
install_name_tool -id "@executable_path/../vcomponents_x64/VSDK.framework/Versions/A/VSDK" "$app_vcomp"/VSDK.framework/Versions/A/VSDK
#####################################
# change V4CC
#####################################
install_name_tool -change "/usr/local/lib/vcomponents_x64/libvshared_fat_release_x64.dylib" "@executable_path/../vcomponents_x64/libvshared_fat_release_x64.dylib" "$v4cc"
install_name_tool -change "/usr/local/lib/vcomponents_x64/libvkernel_fat_release_x64.dylib" "@executable_path/../vcomponents_x64/libvkernel_fat_release_x64.dylib" "$v4cc"
install_name_tool -change "/usr/local/lib/vcomponents_x64/libvclient_fat_release_x64.dylib" "@executable_path/../vcomponents_x64/libvclient_fat_release_x64.dylib" "$v4cc"
install_name_tool -change "/usr/local/lib/vcomponents_x64/VSDK.framework/Versions/A/VSDK" "@executable_path/../vcomponents_x64/VSDK.framework/Versions/A/VSDK" "$v4cc"
install_name_tool -change "/usr/local/lib/vcomponents_x64/libicudata_x64.dylib" "@executable_path/../vcomponents_x64/libicudata_x64.dylib" "$v4cc"
install_name_tool -change "/usr/local/lib/vcomponents_x64/libicuuc_x64.dylib" "@executable_path/../vcomponents_x64/libicuuc_x64.dylib" "$v4cc"
install_name_tool -change "/usr/local/lib/vcomponents_x64/libicui18n_x64.dylib" "@executable_path/../vcomponents_x64/libicui18n_x64.dylib" "$v4cc"
install_name_tool -change "/usr/local/lib/vcomponents_x64/libicuio_x64.dylib" "@executable_path/../vcomponents_x64/libicuio_x64.dylib" "$v4cc"
#####################################
# change Frameworks
#####################################
install_name_tool -change "/Library/Frameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "@executable_path/../SharedFrameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "$ddo"
install_name_tool -change "/Library/Frameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "@executable_path/../SharedFrameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "$dbo"
install_name_tool -change "/Library/Frameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "@executable_path/../SharedFrameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "$tomR"
install_name_tool -change "/Library/Frameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "@executable_path/../SharedFrameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "$seminarC"
install_name_tool -change "/Library/Frameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "@executable_path/../SharedFrameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "$wineC"
install_name_tool -change "/Library/Frameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "@executable_path/../SharedFrameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "$mC"
install_name_tool -change "/Library/Frameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "@executable_path/../SharedFrameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "$thC"
#####################################
# change APPLICATION
#####################################
install_name_tool -change "/usr/local/lib/vcomponents_x64/$SharedLibName" "@executable_path/../vcomponents_x64/$SharedLibName" "$TARGET_BUILD_DIR/$EXECUTABLE_PATH"
install_name_tool -change "/usr/local/lib/vcomponents_x64/$DynamicLibName" "@executable_path/../Frameworks/$DynamicLibName" "$TARGET_BUILD_DIR/$EXECUTABLE_PATH"
install_name_tool -change "/Library/Frameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "@executable_path/../SharedFrameworks/V4CC_x64.framework/Versions/A/V4CC_x64" "$TARGET_BUILD_DIR/$EXECUTABLE_PATH"
More information about the Valentina
mailing list