XcodeGen icon indicating copy to clipboard operation
XcodeGen copied to clipboard

R.swift can't parse generated *.xcodeproj

Open gin0606 opened this issue 8 years ago • 2 comments

Hi! I need help.

I try to use XcodeGen with R.swift. But R.swift show error ;(

[R.swift] Project file at 'file:///path/to/RswiftWithXcodeGen.xcodeproj/' could not be parsed, is this a valid Xcode project file ending in *.xcodeproj?

I made the smallest project to see errors.

https://github.com/gin0606/xcodegen-v1.4.0-trouble

Thanks!

gin0606 avatar Dec 27 '17 03:12 gin0606

Hi @gin0606. The problem seems to be that XcodeEdit (which R.swift uses to read xcode project files) was being a bit too strict in requiring a productName property on a target. We now generate that property in #23, as Xcode automatically generates it when you open the project anyway

yonaskolb avatar Dec 27 '17 08:12 yonaskolb

Problem solved! Thanks a lot!!

gin0606 avatar Dec 27 '17 11:12 gin0606