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

Device plugin build failure for iOS

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • Master
    • None
    • cordova-plugin-device
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment