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

Podspec: pod lib lint doesn't work (v1.2.0) #2

Closed
Jeehut opened this issue Jun 8, 2016 · 1 comment
Closed

Podspec: pod lib lint doesn't work (v1.2.0) #2

Jeehut opened this issue Jun 8, 2016 · 1 comment

Comments

@Jeehut
Copy link
Member

Jeehut commented Jun 8, 2016

Unfortunately the Cocoapods installation method won't install v1.2.0 right now since the Podspec seems to be broken. The issue is that I'm using AppKit on the OS X target which doesn't seem to be recognized by Cocoapods even after explicitly listing it.

Output:

$ pod lib lint

 -> HandySwift (1.2.0)
    - ERROR | xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.
    - ERROR | xcodebuild:  /Users/Dschee/Code/Flinesoft/ApplePlatforms/HandySwift/Sources/Extensions/CoreGraphicsExtensions.swift:75:12: error: no such module 'AppKit'
    - NOTE  | xcodebuild:  clang: error: linker command failed with exit code 1 (use -v to see invocation)
    - NOTE  | [iOS] xcodebuild:  fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/Dschee/Library/Developer/Xcode/DerivedData/App-criesqgevvftrmciwougseuwlluo/Build/Intermediates/Pods.build/Release-iphonesimulator/HandySwift.build/Objects-normal/i386/HandySwift (No such file or directory)
    - NOTE  | [iOS] xcodebuild:  error: cannot parse the debug map for "/Users/Dschee/Library/Developer/Xcode/DerivedData/App-criesqgevvftrmciwougseuwlluo/Build/Products/Release-iphonesimulator/HandySwift/HandySwift.framework/HandySwift": No such file or directory
    - ERROR | xcodebuild:  /Users/Dschee/Library/Developer/Xcode/DerivedData/App-criesqgevvftrmciwougseuwlluo/Build/Products/Release-iphonesimulator/HandySwift/HandySwift.framework/Modules/module.modulemap:9:12: error: header 'HandySwift-Swift.h' not found
    - ERROR | xcodebuild:  /var/folders/c1/slwc_7ln1wq8kq619bcc33h40000gn/T/CocoaPods/Lint/App/main.swift:1:8: error: could not build Objective-C module 'HandySwift'
    - NOTE  | [iOS] xcodebuild:  fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: /Users/Dschee/Library/Developer/Xcode/DerivedData/App-criesqgevvftrmciwougseuwlluo/Build/Intermediates/App.build/Release-iphonesimulator/App.build/Objects-normal/i386/App (No such file or directory)
    - NOTE  | [iOS] xcodebuild:  error: cannot parse the debug map for "/Users/Dschee/Library/Developer/Xcode/DerivedData/App-criesqgevvftrmciwougseuwlluo/Build/Products/Release-iphonesimulator/App.app/App": No such file or directory
    - NOTE  | [tvOS] xcodebuild:  error: cannot parse the debug map for "/Users/Dschee/Library/Developer/Xcode/DerivedData/App-criesqgevvftrmciwougseuwlluo/Build/Products/Release-appletvsimulator/HandySwift/HandySwift.framework/HandySwift": No such file or directory
    - ERROR | [tvOS] xcodebuild:  /Users/Dschee/Library/Developer/Xcode/DerivedData/App-criesqgevvftrmciwougseuwlluo/Build/Products/Release-appletvsimulator/HandySwift/HandySwift.framework/Modules/module.modulemap:9:12: error: header 'HandySwift-Swift.h' not found
    - NOTE  | [tvOS] xcodebuild:  error: cannot parse the debug map for "/Users/Dschee/Library/Developer/Xcode/DerivedData/App-criesqgevvftrmciwougseuwlluo/Build/Products/Release-appletvsimulator/App.app/App": No such file or directory
@Jeehut Jeehut changed the title Podspec: pod lib lint doesn't work Podspec: pod lib lint doesn't work (v1.2.0) Jun 8, 2016
@Jeehut
Copy link
Member Author

Jeehut commented Oct 10, 2016

There is now a 1.3.0 release, see #6 for additional details. Closing this for now, I hope no one needs the 1.2.0 features soon with Swift 2 – long term there is a 1.3.0+ release with Swift 3 support that works on CocoaPods.

@Jeehut Jeehut closed this as completed Oct 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant