Install Error
Hello,
I have just upgraded my SDK to 4.o and titanium SDK 1.4.0 but while building app. it will give "install error" what is a problem?
my build log says:
warning: iPhone/iPod Touch: default_app_logo.png: icon dimensions (512 x 512) don't meet the size requirements. The icon file must be 57x57 pixels, in .png format (-19014)
iPhone/iPod Touch: default_app_logo.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)
BUILD FAILED
The following build commands failed:
viblosdemo_new2:
PhaseScriptExecution Pre-Compile /Users/atharva/Desktop/umesh/viblosdemonew2/viblosdemo_new2/build/iphone/build/viblosdemo_new2.build/Release-iphoneos/viblosdemo_new2.build/Script-241EAF36118E30260081A5BE.sh
(1 failure)
EXIT CODE WAS: 1
Exception detected in script:
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 962, in main
execute_xcode("iphoneos%s" % iphone_version,args,False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/builder.py", line 758, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.0/iphone/run.py", line 31, in run
sys.exit(rc)
SystemExit: 1
Anybody help me.
1 Answer
-
I kept getting that same build error:
iPhone/iPod Touch: Icon.png: icon dimensions (512 x 512) don't meet the size requirements. The icon file must be 57x57 pixels, in .png format.
But, I know for a fact the icon image was 57x57. As it turns out, for some reason, when I was using Xcode to build the app, it appeared to be looking for the icons in:
/AppDir/Resources/iphone
Instead of where I thought I should change them in:
/AppDir/build/iphone/Resources
Thus, perhaps check and make sure the icon image sizes are correct in the
Resources/iphone
folder.