JohnSundell / JohnSundell/SwiftPlate

Encoding of its contents can’t be determined

Open
#27 2 comments 5 reactions 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
1.8k
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Hi,

I was trying to use the generator and got this error in the generation phase:

`Error: Error Domain=NSCocoaErrorDomain Code=264 "The file “UserInterfaceState.xcuserstate” couldn’t be opened because the text encoding of its contents can’t be determined." UserInfo={NSFilePath=/Users/or/dev/Back/Back.xcodeproj/project.xcworkspace/xcuserdata/or.xcuserdatad/UserInterfaceState.xcuserstate}`

Now a second run prints the following error:

`Error: Error Domain=NSCocoaErrorDomain Code=516 "“Configs” couldn’t be copied to “dev” because an item with the same name already exists." UserInfo={NSSourceFilePathErrorKey=/Users/or/dev/swiftplate_temp/SwiftPlate/Template/Configs, NSUserStringVariant=(
Copy
), NSDestinationFilePath=/Users/or/dev/Configs, NSFilePath=/Users/or/dev/swiftplate_temp/SwiftPlate/Template/Configs, NSUnderlyingError=0x7ff59d6185a0 {Error Domain=NSPOSIXErrorDomain Code=17 "File exists"}}`

I tried deleting `/Users/or/dev/swiftplate_temp` but I get the same error.

Let me know if I can provide addional information,
Cheers 🍻
Or.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.