AppStore hoops

Ernesto Giannotta erne at apimac.com
Sun Apr 24 03:59:16 CDT 2011


Hello Ruslan & list,

yet another hoop to jump through when posting an update to your app in the AppStore:

> Thank you for your recent binary submission for "Notepad by Apimac" to the App Store. Unfortunately we discovered an issue with your binary that you will need to correct in order for your application to proceed to the review stage. The specific issue is outlined below:
> 
> Unsupported Architecture - Application executables may support either or both of the Intel architectures:
> 
> 	• i386 (32-bit)
> 	• x86_64 (64-bit)
> Other architectures may not be included in submitted binaries. Confirm that your Xcode project's build settings include those architectures and no others.
> 

Don't know why this didn't come up in first post, which was approved.

Anyway, here's a solution (add it to the deployment script):

# strip ppc support
# Framework
lipo "$app_frmw"/V4CC.framework/Versions/A/V4CC -thin i386 -output "$app_frmw"/V4CC.framework/Versions/A/V4CC

# VSHARED
if [ -e "$app_vcomp"/libvshared_fat_release.dylib ] ; then
	lipo "$app_vcomp"/libvshared_fat_release.dylib -thin i386 -output "$app_vcomp"/libvshared_fat_release.dylib
fi

# VKERNEL
if [ -e "$app_vcomp"/libvkernel_fat_release.dylib ] ; then
	lipo "$app_vcomp"/libvkernel_fat_release.dylib -thin i386 -output "$app_vcomp"/libvkernel_fat_release.dylib
fi

# VCLIENT
if [ -e "$app_vcomp"/libvclient_fat_release.dylib ] ; then
	lipo "$app_vcomp"/libvclient_fat_release.dylib -thin i386 -output "$app_vcomp"/libvclient_fat_release.dylib
fi

# WX (required for VREPORT only)
#if [ -e "$app_vcomp"/libwx_mac.dylib ] ; then
#	lipo "$app_vcomp"/libwx_mac.dylib -thin i386 -output "$app_vcomp"/libwx_mac.dylib
#fi

# VREPORT
#if [ -e "$app_vcomp"/libvreport_fat_release.dylib ] ; then
#	lipo "$app_vcomp"/libvreport_fat_release.dylib i386 -output "$app_vcomp"/libvreport_fat_release.dylib
#fi

HTH someone.

Cool Runnings,
Erne.



More information about the Valentina mailing list