Project is't compiling if Display name was changed. Xcode 11.1
Thanks for using R.swift.
How is this error related to R.swift? What is the error you're getting? What did you try to resolve it? Is the project compiling if you disable R.swift?
Thanks for using R.swift.
How is this error related to R.swift? What is the error you're getting? What did you try to resolve it? Is the project compiling if you disable R.swift?
Hi. When i changed "Display name" parameter in Xcode, then select clean build folder, then build project with new Display name - i got error "No such module TargetName" in import line in R.generated.swift file
Thanks for using R.swift.
How is this error related to R.swift? What is the error you're getting? What did you try to resolve it? Is the project compiling if you disable R.swift?Hi. When i changed "Display name" parameter in Xcode, then select clean build folder, then build project with new Display name - i got error "No such module TargetName" in import line in R.generated.swift file
I have the same issue
Are you sure you _only_ changed the display name? Changing the display name should not change the name of the module we need to import.
Also normally there should not be an import for your own module in the generated file.
I could not reproduce this with my projects. Could you provide an example?
I remove all to solve this, it seems from xib Module

I changed the display name and the Inherit Module From Target not be selected, but i don't know why the R.generated.swift need import TargetName
R.swift will generate a import Something for each module named in a xib Custom Class.
If that module doesn't exist, the generated code won't compile. However, without R.swift the specified custom class also won't be loaded (because the module doesn't exist).
Closing due to inactivity.
If you do have further comments, feel free to leave them here.
I'm having the same error, when I changed the App Display Name.
I tried to disable R.swift when compiling but the app show errors on all places that Im using the R.swift.
Thanks for using R.swift.
How is this error related to R.swift? What is the error you're getting? What did you try to resolve it? Is the project compiling if you disable R.swift?
I want to know why the project won't compile when I changed the App Display name.
Because the target name stays the same.
Are you sure you _only_ changed the display name? Changing the display name _should not_ change the name of the module we need to import.
Also normally there should not be an import for your own module in the generated file.
I could not reproduce this with my projects. Could you provide an example?
Im sure that I only changed the Display name.
I changed the display name and the target name no changed.
Normally there should not be an import for my own module in the generated file, but why my module is imported in the R.generated?
Most helpful comment
I have the same issue