Skip to content

MapboxNavigation podspec fails validation #172

Closed

Description

@1ec5

MapboxNavigation.podspec fails CocoaPods validation due to some warnings. (I have to pass --allow-warnings every time I push the podspec to trunk.) Some of these warnings are upstream in AWSCore and Pulley. The warnings in MGLMapView+MGLNavigationAdditions.h are caused by the hack in #57. Until mapbox/mapbox-gl-native#6867 is fixed, we should silence the warning using #pragma clang compiler directives.

Validating podspec
 -> MapboxNavigation (0.3.0)
    - WARN  | xcodebuild:  AWSCore/AWSCore/Fabric/Fabric.h:43:11: warning: parameter 'kits' not found in the function declaration [-Wdocumentation]
    - NOTE  | xcodebuild:  AWSCore/AWSCore/Fabric/Fabric.h:43:11: note: did you mean 'kitClasses'?
    - WARN  | xcodebuild:  Pulley/PulleyLib/PulleyViewController.swift:747:94: warning: 'FLT_EPSILON' is deprecated: Please use 'Float.ulpOfOne' or '.ulpOfOne'.
    - WARN  | xcodebuild:  Pulley/PulleyLib/PulleyViewController.swift:750:75: warning: 'FLT_EPSILON' is deprecated: Please use 'Float.ulpOfOne' or '.ulpOfOne'.
    - WARN  | xcodebuild:  AWSPolly/AWSPolly/AWSPollySynthesizeSpeechURLBuilder.h:200:9: warning: parameter 'configuration' not found in the function declaration [-Wdocumentation]
    - WARN  | xcodebuild:  AWSPolly/AWSPolly/AWSPollySynthesizeSpeechURLBuilder.h:217:9: warning: parameter 'preSignedURLRequest' not found in the function declaration [-Wdocumentation]
    - NOTE  | xcodebuild:  AWSPolly/AWSPolly/AWSPollySynthesizeSpeechURLBuilder.h:217:9: note: did you mean 'getPreSignedURLRequest'?
    - WARN  | xcodebuild:  MapboxNavigation/MapboxNavigation/MGLMapView+MGLNavigationAdditions.m:3:17: warning: method definition for 'locationManager:didUpdateLocations:' not found [-Wincomplete-implementation]
    - NOTE  | xcodebuild:  MapboxNavigation/MapboxNavigation/MGLMapView+MGLNavigationAdditions.h:6:1: note: method 'locationManager:didUpdateLocations:' declared here

[!] The spec did not pass validation, due to 6 warnings (but you can use `--allow-warnings` to ignore them).

/cc @frederoni @bsudekum

Activity

  1. added
    build
    on Apr 25, 2017
  2. 1ec5 commented on May 1, 2017

    @1ec5
    ContributorAuthor

    Let’s keep this open to track reporting and fixing the upstream warnings, since they block pushing to CocoaPods trunk without the special flag.

  3. reopened this on May 1, 2017
  4. added a commit that references this issue on Feb 28, 2018
  5. 1ec5 commented on Mar 18, 2019

    @1ec5
    ContributorAuthor

    This issue is long out of date: we removed the AWS SDK and Polly dependencies in #617 and the Polly dependency in #785.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions