Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19411] iOS project containing extension will warn about bumping deployment target even though it's already 9.0

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-08-26T16:53:20.000+0000
Affected Version/sRelease 5.0.0
Fix Version/sRelease 5.0.0
ComponentsiOS
Labelsn/a
ReporterFokke Zandbergen
AssigneeChris Barber
Created2015-08-26T11:55:47.000+0000
Updated2015-09-08T09:00:33.000+0000

Description

Even when I've set { 9.0}} and even <min-sdk-ver>9.0</min-sdk-ver> (but that's unrelated right?) I will still get a warning that the deployment target will be changed from 7.1 to 9.0. When I remove the <extension> I can confirm that after a new clean build build/iphone/*.xcodeproject/project.pbxproj correctly has IPHONEOS_DEPLOYMENT_TARGET = 9.0; already, so I don't get the warning.
[INFO]  Building using iOS SDK: 9.0
[INFO]  Building for iOS Simulator: iPhone 6
[INFO]  Building for device family: universal
[INFO]  Minimum iOS version: 9.0
[INFO]  Debugging disabled
[INFO]  Profiler disabled
[INFO]  Set to copy files instead of symlinking
[INFO]  Forcing clean build: /Users/fokkezb/dev/samples/appc-sample-ti500/build/iphone/build-manifest.json does not exist
[INFO]  Initializing the build directory
[INFO]  Found Alloy app in /Users/fokkezb/dev/samples/appc-sample-ti500/app
[INFO]  Executing Alloy compile: /usr/local/bin/node /Users/fokkezb/.appcelerator/install/5.0.0-16/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy compile /Users/fokkezb/dev/samples/appc-sample-ti500/app --config platform=ios,version=0,simtype=none,devicefamily=universal,deploytype=development,target=simulator
[INFO]   [config.json] regenerating CFG.js from config.json...
[INFO]  ----- MVC GENERATION -----
[INFO]  [app.tss] global style processing...
[INFO]  [global style] writing to cache...
[INFO]  [index.xml] view processing...
[INFO]    style:      "index.tss"
[INFO]    view:       "index.xml"
[INFO]    controller: "index.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/index.js"
[INFO]    created:     "Resources/iphone/alloy/styles/index.js"
[INFO]
[INFO]
[INFO]  [app.js] Titanium entry point processing...
[INFO]    created:    "Resources/iphone/app.js"
[INFO]
[INFO]  ----- OPTIMIZING -----
[INFO]  - iphone/alloy.js
[INFO]  - iphone/alloy/sync/localStorage.js
[INFO]  - iphone/alloy/sync/properties.js
[INFO]  - iphone/alloy/sync/sql.js
[INFO]
[INFO]  Alloy compiled in 0.60172s
[INFO]  Alloy compiler completed successfully
[INFO]  Creating Xcode project
[WARN]  WatchKit App detected, changing minimum iOS deployment target from 7.1 to 9.0

Comments

  1. Chris Barber 2015-08-26

    ioslib PR: https://github.com/appcelerator/ioslib/pull/21 timob PR: https://github.com/appcelerator/titanium_mobile/pull/7074
  2. Satyam Sekhri 2015-09-08

    Verified on: Mac OS 10.10.4 Appc CLI NPM: 4.2.0-1 Appc CLI Core: 5.0.0-41 Titanium CLI: 5.0.1 SDK: 5.0.0.v20150907115518 Xcode: 7 beta 6

JSON Source