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 update fails for GPUHaishinKit #422

Closed
psegalen opened this issue May 14, 2018 · 6 comments
Closed

Carthage update fails for GPUHaishinKit #422

psegalen opened this issue May 14, 2018 · 6 comments

Comments

@psegalen
Copy link
Contributor

When installing HaishinKit with Carthage everything is fine but when trying to add GPUHaishinKit it won't compile because it doesn't find GPUImage.framework

Cartfile content:

github "shogo4405/HaishinKit.swift" ~> 0.8.8
github "shogo4405/GPUHaishinKit.swift" ~> 1.2.0

Carthage log:

*** Fetching HaishinKit.swift
*** Fetching GPUHaishinKit.swift
*** Fetching Logboard
*** Fetching GPUImage
*** Checking out HaishinKit.swift at "0.8.8"
*** Checking out GPUHaishinKit.swift at "1.2.0"
*** Checking out GPUImage at "0.1.7"
*** Checking out Logboard at "1.1.6"
*** xcodebuild output can be found in /var/folders/zm/wh3028ts72572_tgh36xwsp80000gn/T/carthage-xcodebuild.XuFlLS.log
*** Building scheme "GPUImage" in GPUImageMac.xcodeproj
*** Building scheme "GPUImageFramework" in GPUImage.xcodeproj
Failed to write to /[...]/Carthage/Build/iOS/GPUImage.framework: Error Domain=NSCocoaErrorDomain Code=260 "The file “GPUImage.framework” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///[...]/Carthage/Checkouts/GPUImage/build/ArchiveIntermediates/GPUImageFramework/BuildProductsPath/Release-iphoneos/GPUImage.framework, NSFilePath=/[...]/Carthage/Checkouts/GPUImage/build/ArchiveIntermediates/GPUImageFramework/BuildProductsPath/Release-iphoneos/GPUImage.framework, NSUnderlyingError=0x7f9f9750cd90 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
@psegalen
Copy link
Contributor Author

psegalen commented May 14, 2018

FYI, I do have a GPUImage.framework file but in /[...]/Carthage/Checkouts/GPUImage/build/Release-iphonesimulator/, not in /[...]/Carthage/Checkouts/GPUImage/build/ArchiveIntermediates/GPUImageFramework/BuildProductsPath/Release-iphoneos/ since /[...]/Carthage/Checkouts/GPUImage/build/ArchiveIntermediates/ doesn't exist

@psegalen
Copy link
Contributor Author

psegalen commented Jun 18, 2018

@shogo4405 it changed a little since last time, I now have a big log file telling me everything went great compiling GPUImage.framework for iphonesimulator but task

/usr/bin/xcrun lipo -create /[...]/Carthage/Checkouts/GPUImage/build/ArchiveIntermediates/GPUImageFramework/BuildProductsPath/Release-iphoneos/GPUImage.framework/GPUImage /[...]/Carthage/Checkouts/GPUImage/build/Release-iphonesimulator/GPUImage.framework/GPUImage -output /[...]/Carthage/Build/iOS/GPUImage.framework/GPUImage

fails.
It seems that Carthage misses instructions to compile an iOS version of GPUImage.framework, does it ring any bell to you?

@psegalen
Copy link
Contributor Author

FYI: I have the same issue cloning GPUHaishinKit.swift and then perform a carthage update in the root folder.

@psegalen
Copy link
Contributor Author

Seems related to BradLarson/GPUImage#2573

@psegalen
Copy link
Contributor Author

PR submitted on GPUImage (BradLarson/GPUImage#2577) it should fix this issue.

@psegalen
Copy link
Contributor Author

I'm closing it since I found out I don't need GPUHK.
If GPUImage PR mentioned above is merged one day, it should make GPUHK installation to be successful again.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant