Fix VALID_ARCHS, make samples work on 64-bit targets
Fix screen orientation support in advancedmap samples
Basic Swift sample