APPLE App Rejected :-(

Previous topic - Next topic

Kitty Hello

Ahh..... Did you enable the PNG compression Apple has built into XCode?

mangoo

png compression? you mean when i exported my pics in a program like photoshop?

i didnt change my xcode project.

Kitty Hello

XCode has an option to compress PNG images (but they are not compatible with real PNGs then :/ )

The step is called "compress resources". Make sure it's disabled (for distribution _and_ release).

Can someone help here, please?

matchy

If your image media files are PNG then it will compress them although it hasn't effected me lately. The other option is to shoebox them so xcode doesn't compress them.

(Image found via omg google)




mangoo

#34
yes compression is on,

i will turn it off and release a new version. hopefully it works then



i just noticed:


request: fopen("/var/mobile/Applications/093A74C7-A098-4793-B009-ED53EEBC3638/Documents/irace3d/user.ini", "rb") failed
wrt-request: fopen("", "wb") failed
can't write to file: 




i cant save files anymore:

Code (glbasic) Select

LOCAL dir$ = PLATFORMINFO$("Documents") + "/" + "irace3d/"
LOCAL userfilename$ = dir$ + "user.ini"

IF NOT DOESDIREXIST(dir$)
CREATEDIR(dir$)
ELSE
KILLFILE userfilename$
ENDIF

INIOPEN userfilename$
INIPUT "general","muted",settingsmuted
INIOPEN "settings.ini"




maybe there is another problem?

Kitty Hello

Are you using 10x version, already?
can't write to file: L
the "L" character is a bad sign. This smells like a bug.

mangoo

i am using the current beta,

but mylast submitted version that didnt work was builded with the official version of glbasic.


*update*

ah there is already a 10.x beta, i am not sure which version i have, i will have a look this evening

mangoo

i ve update to the newest beta version now   10.013
still the same error


here is the full log
Code (glbasic) Select
[GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:56:02 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=x86_64-apple-darwin --target=arm-apple-darwin".tty /dev/ttys000
target remote-mobile /tmp/.XcodeGDBRemote-5454-24
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 11523 thread 0x0]
[Switching to process 11523 thread 0x0]
`/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/dyld' has changed; re-reading symbols.
`/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/dyld' has changed; re-reading symbols.
sharedlibrary apply-load-rules all
`/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/dyld' has changed; re-reading symbols.
`/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/dyld' has changed; re-reading symbols.
2000-03-13 22:22:34.-104 iRace3D[809:307] *** __NSAutoreleaseNoPool(): Object 0x3eb98aa8 of class NSCFString autoreleased with no pool in place - just leaking
`/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/dyld' has changed; re-reading symbols.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/usr/lib/info/dns.so (file not found).
init with frame.
Scaleing available: self.contentScaleFactor = 1.000000
desktop backing: 320 x 480
mainScreen: 320x480
-applicationDidBecomeActive    -> unpause
BGRA ext supported
init fbo
2D VP
OGRB init [OK]
Cptn
Network
Input
Window mode
Create DXin
reptr
getexe
cd
set cdir to: /var/mobile/Applications/093A74C7-A098-4793-B009-ED53EEBC3638/iRace3D.app
exepath=curdir= /var/mobile/Applications/093A74C7-A098-4793-B009-ED53EEBC3638/iRace3D.app
AudioStreamBasicDescription:  2 ch,  44100 Hz, 'lpcm' (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
Init Finalized
set cdir to: Media
request: fopen("/var/mobile/Applications/093A74C7-A098-4793-B009-ED53EEBC3638/Documents/irace3d/user.ini", "rb") failed
wrt-request: fopen("", "wb") failed

can't write to file: 
Loading Music: menu.mp3
[Switching to process 13059 thread 0x0]
Status: 0
code]

MrTAToad

Looks like its trying to write to an empty file there...  In addition, it looks like the MP3 could be the cause of the problem, or at least the loading of it...

mangoo

hm ya, strange thing is that saving and loading worked before, can i set any writing/reading permissions in my xcode project?

saving and loading is really not working anymore, i tried it changing and saving settings


do i have to convert the mp3 for the new xcode? dou suggest a specific format?









Dark Schneider