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

Hyperloop - IPHONEOS_DEPLOYMENT_TARGET of 7.0 despite value of min-ios-ver in tiapp.xml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.4.0
    • Component/s: Hyperloop, iOS
    • Labels:
    • Environment:

      Hyperloop 1.2.0 from labs.appcelerator.com
      Appc CLI 5.3.0
      SDK 5.4.0.v20160608165242

    • Story Points:
      3
    • Sprint:
      2016 Sprint 13 SDK

      Description

      I've set `min-ios-ver` to 9.0 within tiapp.xml, and when running `appc ti build` I can see an INFO message of `Minimum iOS version: 9.0`

      When it gets to the Hyperloop section, I see a TRACE message of

      [Hyperloop] CocoaPods     IPHONEOS_DEPLOYMENT_TARGET = 7.0
      

      I believe this is leading to parameter of `-target x86_64-apple-ios7.0` being set during swift compilation, causing an error for the particular pod I am trying to use (ImagePicker)

      One of the errors:

      error: 'dispatch_queue_attr_make_with_qos_class' is only available on iOS 8.0 or newer 
      

      There are lots more like this in the logs

      Recreating this error can be done by using a Podfile with the below contents:

      use_frameworks!
      platform :ios, '9.0'
      target 'Hyperloop_Sample' do
      	pod 'ImagePicker'
      end
      

      I have copy/pasted the failing swift build command, replaced the `-target x86_64-apple-ios7.0` with `-target x86_64-apple-ios9.0` and it completes successfully.

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              rpiwetz Ron Piwetz
              Reviewer:
              Chee Kiat Ng (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration