我正在尝试使用xCode 4.4构建Build For Archiving应用程序(来自Titanium Mobile),但是我收到了这个错误:
Validate "/Users/admin/Library/Developer/Xcode/DerivedData/Sweet_Dream-gmqsujzdxwsgxtdhddwaatzuspsq/Build/Products/Release-iphoneos/Sweet Dream.app"
cd "/Users/admin/Desktop/TitaniumWorkspace2/Sweet Dream/build/iphone"
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PRODUCT_TYPE com.apple.product-type.application
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation "/Users/admin/Library/Developer/Xcode/DerivedData/Sweet_Dream-gmqsujzdxwsgxtdhddwaatzuspsq/Build/Products/Release-iphoneos/Sweet Dream.app"
warning: iPhone/iPod Touch: appicon.png: icon dimensions (512 x 512) don't meet the size requirements. The icon file must be 57x57 pixels, in .png format (-19014)
Unable to validate your application. - (null)
Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation failed with exit code 1
任何帮助都非常感激。
捐赠。
答案 0 :(得分:1)
你的xcode中没有设置应用程序图标,说明appicon.png的尺寸为515x515,但它应该是57x57。因此,在项目的构建设置中更改应用程序图标