Has anybody had any success with debugging on the iPad.
When I run mkb from the terminal window with the --iphone option the resulting project fails to link. It complains about the a variety of the support libs - libjpeg and the like - being compiled for the wrong architecture.
My application is composed of several different libs which seem to be set to armv6 by default, where as the main app is set to be armv7. Inconsistency thrown up by the lib option in the mkbs? Aligning all of the options to armv6 or armv7 by hand in xCode doesn't seem to fix the issue.
I found a post suggesting that the --iphone option is broken in 6.0 and to try 5.2, but again I've had no luck.
Any ideas?












It's recently come to our attention that this is broken and we're currently working on a fix which we hope will be available in the 6.0.4 release. We'll keep this thread updated with any progress.
The bug reference is [MAINT-565].
I didnt think you could debug on a device - even with a mac?
Has this changed ? This would be an invaluable aid.
Could someone from marmalade please clarify this. A simple yes or no will do.
Thanks
Yes you can, theoretically anyway, there's a special build mode, but it's broken for XCode 4.3 due to a linker problem. Have a look here;
http://www.madewithmarmalade.com/devnet/faqs#
and click on the "Marmalade for iOS" topic.
Steve
On device debugging with the iPad still doesnt work for me using version 6.0.5 of Marmalade under Mac OS with XCode 4.2.1.
I get the following linker error:
/Users/michael/.local/share/marmalade/packages/6.0.5/zlib_1.2.4/lib/armv6/iphone/libz_d.a, file was built for archive which is not the architecture being linked (armv6) for architecture armv6
On device debugging is not currently supported. We investigated it under [MAINT-565] but it requires much more investigation than a hotfix. Support for this has been added to the feature requests list
Lester-Madden: to use the feature, should be Marmalade downgraded? Or only Xcode downgrade is required – to e.g. 4.2.1? Or 4.1?
I hope this will be fixed quickly, it is necessary for debugging any native API, like Game Center.
I actually succeed: downgrade to Xcode 4.2.1 and to Marmalade 5.2.4. I had luck that my code compiled.