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

pod lib lint fails with Code Signing error #285

Closed
1 of 9 tasks
bizz84 opened this issue Oct 12, 2017 · 5 comments
Closed
1 of 9 tasks

pod lib lint fails with Code Signing error #285

bizz84 opened this issue Oct 12, 2017 · 5 comments

Comments

@bizz84
Copy link
Owner

bizz84 commented Oct 12, 2017

Platform

  • iOS
  • macOS
  • tvOS

In app purchase type

  • Consumable
  • Non-consumable
  • Auto-Renewable Subscription
  • Non-Renewing Subscription

Environment

  • Sandbox
  • Production

Version

Latest master

System Information

Running this command:

{ sw_vers; echo "---"; xcodebuild -version; echo "---"; echo "Cocoapods version: $(pod --version)"; }

yields this:

ProductName:	Mac OS X
ProductVersion:	10.12.6
BuildVersion:	16G29
---
Xcode 9.0
Build version 9A235
---
Cocoapods version: 1.3.1

Related issues

CocoaPods/CocoaPods#6451

Report

Issue summary

On command line, run:

pod lib lint --verbose

What did you expect to happen

SwiftyStoreKit passed validation.

What happened instead

Validation fails with:

[!] SwiftyStoreKit did not pass validation, due to 1 error.
You can use the `--no-clean` option to inspect any issue.

The build log reveals the two following problems on the macOS build:

Code Signing Warning: "App" isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'macOS 10.13'
   Testing with xcodebuild. 
 -> SwiftyStoreKit (0.11.0)
    - ERROR | [OSX] xcodebuild: Returned an unsuccessful exit code.
    - NOTE  | [OSX] xcodebuild:  ld: warning: both MACOSX_DEPLOYMENT_TARGET and IPHONEOS_DEPLOYMENT_TARGET are set

build.log

The same problem applies when trying to publish a new pod:

pod trunk push SwiftyStoreKit.podspec

This prevents from publishing a new pod version.

I have tried resetting the code signing settings as suggested here but to no avail.

Any ideas?

@bizz84 bizz84 added macOS directly related to Mac and removed macOS directly related to Mac labels Oct 12, 2017
@shuhrat10
Copy link

@bizz84 I just tried clone master and run pod lib lint --verbose

** BUILD SUCCEEDED **
-> SwiftyStoreKit (0.10.8)
SwiftyStoreKit passed validation.

How did you get SwiftyStoreKit (0.11.0) ?

@bizz84
Copy link
Owner Author

bizz84 commented Oct 13, 2017

@shuhrat10 which cocoapods version are you using?

Could you paste the result of this?

{ sw_vers; echo "---"; xcodebuild -version; echo "---"; echo "Cocoapods version: $(pod --version)"; }

@shuhrat10
Copy link

shuhrat10 commented Oct 14, 2017 via email

@bizz84
Copy link
Owner Author

bizz84 commented Oct 16, 2017

Just tried this again and it worked.

Published version 0.11.0.

@bizz84 bizz84 closed this as completed Oct 16, 2017
@shuhrat10
Copy link

shuhrat10 commented Oct 16, 2017 via email

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

No branches or pull requests

2 participants