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

Carthage support is broken in carthage 0.15.1 #131

Closed
amitayd opened this issue Mar 27, 2016 · 3 comments · Fixed by #132
Closed

Carthage support is broken in carthage 0.15.1 #131

amitayd opened this issue Mar 27, 2016 · 3 comments · Fixed by #132
Milestone

Comments

@amitayd
Copy link

amitayd commented Mar 27, 2016

Trying to install in Carthage using a Cartfile fails on carthage 0.15.1 with the message Failed to read file or folder.

I've opened an issue at Carthage, and the maintainers say it's an issue with IBAnimatable's plist.info , declaring an app target and not an framework target (see Carthage/Carthage#1218 (comment) ).

Following are the reproduction details:

Created a folder with the following Cartfile:
github "JakeLin/IBAnimatable"

Installed Carthage 0.15.1 via homebrew.

Getting the Failed to read file or folder when running carthage update:

amitayd@Amitays-MacBook-Pro:~/code/carthageBug$ carthage update
*** Fetching IBAnimatable
*** Checking out IBAnimatable at "2.0"
*** xcodebuild output can be found in /var/folders/mv/n3cq2bh54q70brj2g8gpbbzh0000gn/T/carthage-xcodebuild.ON7LAQ.log
*** Building scheme "IBAnimatable" in IBAnimatableApp.xcodeproj
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/PanInteractiveAnimator.swift:27:51: warning: use '#selector' instead of explicitly constructing a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/PanInteractiveAnimator.swift:32:70: warning: use '#selector' instead of explicitly constructing a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:15:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:19:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:23:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/PanInteractiveAnimator.swift:27:51: warning: use '#selector' instead of explicitly constructing a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/PanInteractiveAnimator.swift:32:70: warning: use '#selector' instead of explicitly constructing a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:15:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:19:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:23:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/PanInteractiveAnimator.swift:27:51: warning: use '#selector' instead of explicitly constructing a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/PanInteractiveAnimator.swift:32:70: warning: use '#selector' instead of explicitly constructing a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:15:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:19:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:23:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/PanInteractiveAnimator.swift:27:51: warning: use '#selector' instead of explicitly constructing a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/PanInteractiveAnimator.swift:32:70: warning: use '#selector' instead of explicitly constructing a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:15:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:19:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
/Users/amitayd/code/carthageBug/Carthage/Checkouts/IBAnimatable/IBAnimatable/TableViewCellDesignable.swift:23:29: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' or explicitly construct a 'Selector'
Failed to read file or folder at /Users/amitayd/Library/Developer/Xcode/DerivedData/IBAnimatableApp-eqqkqtewnxvrasghwofhtzfrsrar/Build/Products/Release-iphoneos/IBAnimatable.framework

Seems like the build itself in carthage-xcodebuild.ON7LAQ.log completes successfully:

...
** BUILD SUCCEEDED **

Reproduced with XCode 7.2 and 7.3.

Downgrading by install Carthage 0.11 from https://github.com/Carthage/Carthage/releases resolves the issue.

@JakeLin
Copy link
Member

JakeLin commented Mar 27, 2016

Thanks for reporting that, looking at it.

@JakeLin
Copy link
Member

JakeLin commented Mar 27, 2016

@amitayd As you mentioned I have tried it is working with Carthage 0.11 at that moment. Could you please use 0.11 for now? and will fix it by creating a new plist for the framework target. Thanks again.

Jake

@JakeLin JakeLin added this to the 2.1 milestone Mar 27, 2016
@amitayd
Copy link
Author

amitayd commented Mar 27, 2016

@JakeLin Sure, using 0.11 now as a workaround. Thanks for looking into that!

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

Successfully merging a pull request may close this issue.

3 participants