Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9865

Device plugin build failure for iOS

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: cordova-plugin-device
    • Labels:
    • Environment:

      OS X Yosemite, Xcode 6.4

      Description

      cordova create hw
      cd hw
      cordova platform add ios
      cordova plugin add https://github.com/apache/cordova-plugin-device
      cordova build
      
      <...>
      
      use of undeclared identifier 'TARGET_OS_SIMULATOR'
      return TARGET_OS_SIMULATOR;
      ^
      1 error generated.
      
      ** BUILD FAILED **
      

        Attachments

          Activity

            People

            • Assignee:
              alsorokin Alexander Sorokin
              Reporter:
              alsorokin Alexander Sorokin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: