Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11904] iOS: Xcode Base - log messages are not logged for Minimum ios version mentioned in Tiapp.xml

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2012-12-03T14:28:00.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelsqe-ios100112, regression
ReporterAnshu Mittal
AssigneeChris Barber
Created2012-11-30T07:15:56.000+0000
Updated2017-03-22T21:08:27.000+0000

Description

Log messages are not logged for Minimum ios version mentioned in Tiapp.xml. There is no info of the version used. This is regression since the issue does not occur in 2.1.4 GA. Steps to reproduce: 1) Create a project in Studio with an iOS target 2) Edit the tiapp.xml to include the following and save the changes: 3.2 3) Build the project for any version iOS simulator and observe logs Expected results: The following appears in the log: [INFO] Minimum iOS version 3.2 is lower than 4.3: Using 4.3 as minimum [INFO] Minimum iOS version: 4.3 Actual: Building for iOS 6.0; using 4.3 as minimum iOS version

Comments

  1. Natalie Huynh 2012-11-30

    Tested with the same SDK and Titanium Studio, build: 3.0.0.201211291910 and I am seeing: [INFO] Minimum iOS version 3.2 is lower than 4.0: Using 4.3 as minimum [INFO] Minimum iOS version: 4.3 Linked iOS Version 6.0
  2. Thomas Huelbert 2012-11-30

    Not repro on any other machines, Anshu please work with Satyam to get this achine into a workable state, or reproduce this issue on a second machine and re-open. thanks.
  3. Anshu Mittal 2012-12-01

    The issue is reproducible at our end on 3.0 SDK build and works fine on 2.1.4 SDK. Tried the same scenario on couple of more systems with same environment and could reproduce on one of those as well. Note: On both the system on which the issue occurs, when we run the project on iOS simulator using the 3.0 SDK build the console has a title "Titanium iPhone Simulator - testapp1 [Titanium iOS Simulator] iOS build and deploy" whereas on 2.1.4 SDK the console has a title "Titanium iPhone Simulator - testapp1 [Titanium iOS Simulator] iOS Simulator".
  4. Thomas Huelbert 2012-12-01

    Thanks for the update Anshu!
  5. Chris Barber 2012-12-03

    This is the expected functionality. The minimum iOS version is used in conjunction with the iOS SDK to determine the architecture targets to compile for. If someone, puts an irrational min-ios-ver, the build scripts will correct it.
  6. Ingo Muschenetz 2012-12-03

    @Chris, the issue is that in the old SDK, it appears to be notifying the user that the correction has occurred. Is it still doing the same in the new CLI? It's a useful message.
  7. Chris Barber 2012-12-03

    @Ingo, yes, it detects various settings and will display a useful message. If the iOS SDK version is >= 6.0 AND the min-ios-ver is < 4.3, then it forces the min-ios-ver to 4.3 and prints "Building for iOS 6.0; using 4.3 as minimum iOS version". If the min-ios-ver is < 4.0, then it forces the min-ios-ver to 4.0 and prints "The min-ios-ver of the iOS section in the tiapp.xml is lower than minimum supported version: Using 4.0 as minimum". If the min-ios-ver is > the iOS SDK version, then it forces the min-ios-ver to the specified iOS SDK version and prints "The min-ios-ver of the iOS section in the tiapp.xml is greater than the specified ios-version: Using as minimum".
  8. Lee Morris 2017-03-22

    Closing ticket as "Won't Fix".

JSON Source