Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-2906

iOS: Build for device does not use platform specific folder

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Labels:
    • Environment:

      Mac OSX 10.7.4
      Titanium Studio 2.0.1.201204132053
      SDK 2.0.1.GA2
      SDK 2.1.0.v20120518141721
      iOS 5.1
      iPhone 4S
      XCODE Version 4.3.2 (4E2002)

      Description

      When building the app for simulator, Titanium uses the correct file from the platform specific folder (iphone). When running on device, platform specific file is not loaded, but instead file used from the resources folder.

      Way to duplicate:
      1. Create new titanium mobile project (single page)
      2. Run the app on simulator and device - Works fine.
      3. Copy the file from resources/ui/common/FirstView.js to resources/iphone/ui/common/FirstView.js
      4. modify label to include additional info, indicating located in iPhone folder.
      5. Clean project.
      6. Run on simulator. Correct file used.
      7. Run on device. File from resources/ui/common/FirstView.js is used, instead of platform specific.
      8. If the file from resources/ui/common is removed, build to device uses correct file (platform specific), but then generates Slider related error (second bug).

        Attachments

          Activity

            People

            • Assignee:
              vjoshi Varun Joshi
              Reporter:
              mor_eli Eli Mor
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration