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.

pod broken in 0.37.0 (proper fix) #1426

Closed

Description

@incanus

I think this is the upstream issue: CocoaPods/CocoaPods#3106

Per the changelog:

Do not create pod target if source_files only contains headers.

m.source_files = 'Headers/*.h'

Things work fine right now with 0.36.4, so do this:

  • gem uninstall cocoapods cocoapods-core
  • gem install cocoapods -v 0.36.4
  • rm -rf Podfile.lock Pods
  • pod install

Activity

  1. added
    iOS
    on May 5, 2015
  2. self-assigned this
    on May 5, 2015
  3. added this to the iOS Beta 1 milestone on May 5, 2015
  4. incanus commented on May 5, 2015

    @incanus
    ContributorAuthor

    Yeah, this is flat-out a bug in CocoaPods 0.37.0. Hopefully it'll get fixed in time for our launch 😬

  5. neonichu commented on May 6, 2015

    @neonichu

    Worst case you should be able to work around it by adding a dummy/empty .m file to your source_files.

  6. incanus commented on May 6, 2015

    @incanus
    ContributorAuthor

    Ah, I had thought about that — thanks for the tip.

  7. added a commit that references this issue on May 6, 2015
  8. incanus commented on May 6, 2015

    @incanus
    ContributorAuthor

    Managed to fix this using @neonichu's workaround above. Once tests pass, I will merge this and move this ticket to b2 milestone since non-critical.

    @geografa @katydecorah @mapbox/mobile CocoaPods 0.37.0 will work again once this lands.

    • gem uninstall -a cocoapods cocoapods-core
    • gem install cocoapods -v 0.37.0
    • rm -rf Podfile.lock Pods
    • pod install
  9. incanus commented on May 6, 2015

    @incanus
    ContributorAuthor

    Travis acting up — tests locally.

  10. added a commit that references this issue on May 6, 2015
  11. incanus commented on May 6, 2015

    @incanus
    ContributorAuthor

    In master as of 6c31d92. Moving eventual proper resolution to b2.

  12. modified the milestones: iOS Beta 2, iOS Beta 1 on May 6, 2015
  13. 2 remaining items

  14. modified the milestones: iOS Beta 3, iOS Beta 2 on Jun 1, 2015
  15. changed the title [-]pod broken in 0.37.0[/-] [+]pod broken in 0.37.0 (proper fix)[/+] on Jun 1, 2015
  16. modified the milestone: iOS Beta 3 on Jul 7, 2015
  17. incanus commented on Nov 9, 2015

    @incanus
    ContributorAuthor

    Obsoleted by #2132; we should clean up here.

  18. incanus commented on Nov 9, 2015

    @incanus
    ContributorAuthor

    cf.

    step "Setting up dummy source file for CocoaPods 0.37.0..."
    echo "// https://github.com/mapbox/mapbox-gl-native/issues/1426" > "${OUTPUT}/static/MGLDummy.m"

  19. added this to the ios-v3.1.0 milestone on Nov 23, 2015
  20. added a commit that references this issue on Dec 4, 2015
    69d9316
  21. 1ec5 commented on Dec 7, 2015

    @1ec5
    Contributor

    This will be moot once we move to a dynamic framework in #3182 and/or #3183.

  22. added a commit that references this issue on Dec 7, 2015
    032e3a6
  23. added a commit that references this issue on Dec 7, 2015
    9507bc0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugbuildiOS

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions