All Marmalade examples should be runnable after proper setup. (/Developer/Marmalade/6.0/examples/)
If any error comes up, there should be some settings to be added.
As at Marmalade 6.0, it is NOT yet a very complete system settings for OSX 10.7 and XCode 4.3.2.
This is a reference for shortcutting the problems you may meet on Marmalade 6.0
1.
Q: Can build for x86, but not ARM and Deploy Tool
A: Try install Marmalade GCC plugin. Located at /Developer/Marmalade/6.0/tools/xcode/.
Copy the file to /Users/(username)/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
2.
Q: The error shown in Deploy Tool for iPhone: ERROR: codesign_allocate not found: /Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
A: find the file: /Developer/Marmalade/6.0/s3e/deploy/plugins/iphone/sign_app.py, line 495
codesign_allocate = join(root, ‘Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate’)
change the path to:
codesign_allocate = join(root, ‘/usr/bin/codesign_allocate’)