Closed shtnkgm closed 1 year ago
The folder called ArchiveIntermediates does not exist under the Carthage / Build folder.
My problem is simmilar to Carthage/Carthage#2389
I have the same issue, seems to have something to do with SYMROOT according to https://github.com/Carthage/Carthage/issues/2220
Hi I have same issue but couldn't resolved by removing SYMROOT as Carthage/Carthage#2220
It always throw below error:
Failed to write to /Users/admin/Documents/Projects/ilinus/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:///Users/admin/Documents/Projects/ilinus/Carthage/Checkouts/GPUImage/build/ArchiveIntermediates/GPUImageFramework/BuildProductsPath/Release-iphoneos/GPUImage.framework, NSFilePath=/Users/admin/Documents/Projects/ilinus/Carthage/Checkouts/GPUImage/build/ArchiveIntermediates/GPUImageFramework/BuildProductsPath/Release-iphoneos/GPUImage.framework, NSUnderlyingError=0x7f96d3e49a20 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
I'm using XCode 10.1, Swift 4.2, Carthage 0.31.2 Could anyone please help?
Finally I resolved this problem.
I used to change the Derived Data
path in my application's Project Settings and Xcode Preference, which didn't work.
Now I open the file GPUImage.xcodeproj
under Carthage/Checkouts/GPUImage/framework/
folder in my XCode, go to menu File > Project Settings
, under Derived Data
section, select Advanced...
, change the Build Location
from Legacy
to Xcode Default
.
Go back to Terminal and run carthage update --platform iOS
, it works like charm!
Finally I resolved this problem. I used to change the
Derived Data
path in my application's Project Settings and Xcode Preference, which didn't work.Now I open the file
GPUImage.xcodeproj
underCarthage/Checkouts/GPUImage/framework/
folder in my XCode, go to menuFile > Project Settings
, underDerived Data
section, selectAdvanced...
, change theBuild Location
fromLegacy
toXcode Default
.Go back to Terminal and run
carthage update --platform iOS
, it works like charm!
It works, but it's means that i will do this operation every time update carthage ?
I can not install GPUImage using carthage. When you execute the carthage update command, the following error is output to the console.
My development environment is as follows.