GLBasic forum

Main forum => GLBasic - en => Topic started by: TI-994A on 2013-Apr-11

Title: Xcode Warnings & Errors
Post by: TI-994A on 2013-Apr-11
I've got some issues with iPhone development and hope that someone could help. Everytime I compile my GLBasic app in XCode, I get a whole lot of warnings, but mostly these:

Apple Mach-0 Linker Warning: CPU_SUBTYPE_ARM_ALL subtype is deprecated

The app deploys to device and runs well, but what does it mean?

And also, I was getting a CopyPNGFile error when using the default GLBasic icon, which was resolved when I switched the icon with one from an XCode example. Why is that?

Thank you.
Title: Re: Xcode Warnings & Errors
Post by: TI-994A on 2013-Apr-20
Anyone?
Title: Re: Xcode Warnings & Errors
Post by: kanonet on 2013-Apr-20
Use forum search? I found this, maybe it helps?
www.glbasic.com/forum/index.php?topic=6256.msg49628#msg49628
www.glbasic.com/forum/index.php?topic=7590.msg62853#msg62853
Sounds like you can ignore them.
Title: Re: Xcode Warnings & Errors
Post by: TI-994A on 2013-Apr-20
Thanks kanonet; much obliged.

Might you have any idea about the CopyPNGFile error?
Title: Re: Xcode Warnings & Errors
Post by: kanonet on 2013-Apr-20
No, since I dont have an iOS Device/ dont use XCode, sorry. Maybe someone else can help,or maybe you need to give more informations.
Title: Xcode Warnings & Errors
Post by: Kitty Hello on 2013-Apr-20
Yes. Just ignore them.
Title: Re: Xcode Warnings & Errors
Post by: TI-994A on 2013-Apr-21
Quote from: Kitty Hello on 2013-Apr-20
Yes. Just ignore them.
Hello Gernot, and thank you for the answer; the CPU_SUBTYPE_ARM_ALL subtype is deprecated warning can be ignored safely.

Could you please advise on the other error: why do I get a CopyPNGFile error when using the default GLBasic icon?
Title: Re: Xcode Warnings & Errors
Post by: spacefractal on 2013-Apr-21
Just ignore the cpu warning. Apple even still accept with those warnings with newest Xcode (to support iPhone 5)

I'm have seen the png issue. You might need to set all icons by your self, not using the default one. Also if you have upgraded glbasic recently (example from v10 to v11 beta), you might need to recreate the Xcode project from beginning.
Title: Re: Xcode Warnings & Errors
Post by: TI-994A on 2013-Apr-22
Quote from: spacefractal on 2013-Apr-21
... You might need to set all icons by your self, not using the default one. Also if you have upgraded glbasic recently (example from v10 to v11 beta), you might need to recreate the Xcode project from beginning.

Yes, changing the icons solved the problem. So, it seems to be an issue with the GLBasic default icons then. Thanks for the info, spacefractal.