Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to push to CocoaPods trunk due to watchOS build failiure #68

Closed
1ec5 opened this issue Nov 5, 2020 · 1 comment
Closed

Unable to push to CocoaPods trunk due to watchOS build failiure #68

1ec5 opened this issue Nov 5, 2020 · 1 comment
Labels

Comments

@1ec5
Copy link
Collaborator

1ec5 commented Nov 5, 2020

Even after #66 and #67, I’m still unable to push to CocoaPods trunk because of the following watchOS build failures:

 -> Polyline (5.0.0)
    - NOTE  | xcodebuild:  note: Using new build system
    - NOTE  | xcodebuild:  note: Building targets in parallel
    - NOTE  | xcodebuild:  note: Using codesigning identity override: -
    - NOTE  | xcodebuild:  note: Planning build
    - NOTE  | xcodebuild:  note: Constructing build description
    - NOTE  | xcodebuild:  warning: Skipping code signing because the target does not have an Info.plist file and one is not being generated automatically. (in target 'App' from project 'App')
    - NOTE  | xcodebuild:  note: Using codesigning identity override: 
    - ERROR | [watchOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - ERROR | xcodebuild:  Polyline/Sources/Polyline/Polyline.swift:67:28: error: 'MKPolyline' is unavailable in watchOS
    - NOTE  | xcodebuild:  MapKit.MKPolyline:2:12: note: 'MKPolyline' has been explicitly marked unavailable here
    - ERROR | xcodebuild:  Polyline/Sources/Polyline/Polyline.swift:69:26: error: 'MKPolyline' is unavailable in watchOS
    - ERROR | xcodebuild:  /path/to/Library/Developer/Xcode/DerivedData/App-goywuiviyktyrhbjimdmhbiluvey/Build/Products/Release-watchsimulator/Polyline/Polyline.framework/Modules/module.modulemap:9:12: error: header 'Polyline-Swift.h' not found
    - ERROR | xcodebuild:  /var/folders/cl/8cgpg37n5cl78pjkbpgml94w0000gn/T/CocoaPods-Lint-20201105-33632-l36e5x-Polyline/App/main.swift:1:8: error: could not build Objective-C module 'Polyline'

Analyzed 1 podspec.

It’s as if the !os(watchOS) conditional isn’t working even after #67. I also have no idea what the deal is with Polyline-Swift.h

/cc @frederoni @MaximAlien

@1ec5 1ec5 added the build label Nov 5, 2020
@1ec5
Copy link
Collaborator Author

1ec5 commented Nov 5, 2020

Never mind, I needed to clear my global CocoaPods cache because of deleting and recreating the v5.0.0 tag.

@1ec5 1ec5 closed this as completed Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant