Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-5975

iOS: Default Module Template with Xcode 4.2 Doesn't Target Latest iOS, Excludes armv6

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 1.8.0
    • Fix Version/s: Sprint 2011-44, Release 1.8.0
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      Xcode 4.2

      Description

      Problem

      When building with Xcode 4.2, modules don't target the latest iOS, and since the default architecture changed, they also don't target armv6. This results in the module not being usable in a Titanium Mobile project that is targeting armv6.

      Solution

      The project template for modules should be updated to:

      1. Also target armv6, where appropriate
      2. Target the latest iOS

      How To Test

      • Create a module from the terminal:

        titanium create --type=module --platform=iphone --name=armtesting --id=ti.armtesting

      • Open the module's project in Xcode 4.2:

        open armtesting/armtesting.xcodeproj

      • In Xcode, verify that it does NOT say "missing base SDK" beneath the project name in the Project navigator.
      • Click on the project name in the Project navigator to open up the settings.
      • Under the Build Settings tab for BOTH the project and the target, verify that all references to armv7 are accompanied by armv6. It shouldn't say just "armv7" anywhere.

      Pull Request

      https://github.com/appcelerator/titanium_mobile/pull/625

        Attachments

          Activity

            People

            • Assignee:
              dtoth Dawson Toth
              Reporter:
              dtoth Dawson Toth
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-5075
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code