Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

SDK won't compile with Xcode 7.3.1 #6906

Closed

Description

@boundsj

Changes introduced in e2797d1 broke the project when using Xcode 7.3.1. Specifically:

  • In MGLGeoJSONSource.h, const was moved so that MGLOfflinePackProgressChangedNotification, MGLOfflinePackErrorNotification, and MGLOfflinePackMaximumMapboxTilesReachedNotification are pointers to constant NSString instead of constant pointers to NSString. This fails to compile in Xcode 7.3.1 at the call site
  • In MGLTypes
    • the new shim does not define NSErrorDomain and is not above where NSErrorDomain is used
    • #if !defined(FOUNDATION_SWIFT_SDK_EPOCH_LESS_THAN) || FOUNDATION_SWIFT_SDK_EPOCH_LESS_THAN(8) actually uses FOUNDATION_SWIFT_SDK_EPOCH_LESS_THAN which is not defined before iOS 10.0

cc @1ec5

Activity

  1. added
    release blocker
    on Nov 4, 2016
  2. added this to the ios-v3.4.0 milestone on Nov 4, 2016
  3. added
    iOS
    macOS
    on Nov 4, 2016
  4. boundsj commented on Nov 4, 2016

    @boundsj
    ContributorAuthor

    7.3.1 is required as noted in #6842

  5. 1ec5 commented on Nov 4, 2016

    @1ec5
    Contributor

    #if !defined(FOUNDATION_SWIFT_SDK_EPOCH_LESS_THAN) || FOUNDATION_SWIFT_SDK_EPOCH_LESS_THAN(8) actually uses FOUNDATION_SWIFT_SDK_EPOCH_LESS_THAN which is not defined before iOS 10.0

    Shouldn't it short-circuit on the first clause?

  6. boundsj commented on Nov 4, 2016

    @boundsj
    ContributorAuthor

    Shouldn't it short-circuit on the first clause?

    It did not appear to do that

  7. self-assigned this
    on Nov 4, 2016
  8. added 2 commits that reference this issue on Nov 4, 2016
    9cc7509
    4e8121a
  9. boundsj commented on Nov 7, 2016

    @boundsj
    ContributorAuthor

    Fixed by #6923

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

Metadata

Metadata

Assignees

Labels

buildiOSmacOSrelease blocker

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions