WeTransfer / Mocker

Mock Alamofire and URLSession requests without touching your code implementation
MIT License
1.12k stars 96 forks source link

CocoaPods delivery is broken #88

Closed AvdLee closed 3 years ago

AvdLee commented 3 years ago

Currently, CocoaPods releases are broken:

[09:01:09]: Pod push failed: Exit status of command 'pod trunk push' was 1 instead of 0.
[!] Found podspec `Mocker.podspec`
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
Updating spec repo `trunk`
Validating podspec
 -> Mocker
 -> Mocker (2.5.1)
    - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - NOTE  | xcodebuild:  note: Using new build system
    - NOTE  | xcodebuild:  note: Building targets in parallel
    - NOTE  | xcodebuild:  note: Using codesigning identity override: -
    - NOTE  | [iOS] xcodebuild:  note: Planning build
    - NOTE  | [iOS] xcodebuild:  note: Constructing build description
    - NOTE  | [iOS] xcodebuild:  warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the App editor. (in target 'App' from project 'App')
    - NOTE  | [iOS] 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')
    - ERROR | xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/lib/swift/XCTest.swiftmodule/x86_64-apple-ios-simulator.swiftinterface:6:19: error: no such module 'XCTest'
    - ERROR | xcodebuild:  Mocker/Sources/Mock.swift:12:8: error: failed to build module 'XCTest' from its module interface; the compiler that produced it, 'Apple Swift version 5.3.3 (swiftlang-1200.2.41.2 clang-1200.0.32.8)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)'
    - ERROR | xcodebuild:  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/lib/swift/XCTest.swiftmodule/i386-apple-ios-simulator.swiftinterface:6:19: error: no such module 'XCTest'

This means latest versions are not available through CocoaPods.

letatas commented 3 years ago

I think I've found it, I'll create a PR for it.

letatas commented 3 years ago

Can you try https://github.com/WeTransfer/Mocker/pull/89 and see if it fixes it?

letatas commented 3 years ago

@AvdLee The v2.5.2 has been released, but it is still unavailable on CocoaPods, can you please paste the error log to figure it out?

AvdLee commented 3 years ago

@letatas:

[08:03:58]: ▸ [!] Authentication token is invalid or unverified. Either verify it with the email that was sent or register a new session.

Something I will try to fix today!

AvdLee commented 3 years ago

It should work now. Closing this one!

letatas commented 3 years ago

Yay! Great, it works! Thanks for your time on it!