Debugging on the iPad

8 replies [Last post]
by: Mking
Status: Offline
Joined: 2012-04-05

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?

by: Samantha C
Status: Offline
Joined: 2011-11-23
It's recently come to our

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].

by: wherry
Status: Offline
Joined: 2011-10-26
I didnt think you could debug

I didnt think you could debug on a device - even with a mac?

Has this changed ? This would be an invaluable aid.

by: wherry
Status: Offline
Joined: 2011-10-26
Could someone from marmalade

Could someone from marmalade please clarify this. A simple yes or no will do.

Thanks

by: Steve Monks
Status: Offline
Joined: 2011-06-24
Yes you can, theoretically

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

by: mriekert2
Status: Offline
Joined: 2012-05-02
On device debugging with the

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

by: Lester-Madden
Status: Offline
Joined: 2012-05-08
On device debugging is not

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

by: ShapeMaster
Status: Offline
Joined: 2012-08-29
Lester-Madden: to use the

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.

by: ShapeMaster
Status: Offline
Joined: 2012-08-29
I actually succeed: downgrade

I actually succeed: downgrade to Xcode 4.2.1 and to Marmalade 5.2.4. I had luck that my code compiled.

Latest Posts

Latest Comments

Top Contributors

  • amanda
  • riaan
  • alexand3
  • alexand4
  • alexand7
  • alexand889
  • alexand12191
  • remote9991
  • remote9992
  • test