'External extensions don't work when archive
I have some files in my project dedicated to extension for Colors, string and images like this
extension Color{
static var mimotoPrimary: Color{
Color("mimoto_primary")
}
static var mimotoPrimaryLight: Color{
Color("mimoto_primary_light")
}
static var mimotoWhiteDark: Color{
Color("white_dark")
}
...
}
It's pretty simple.
This extensions works perfectly when building and running.
However when I try to archive this errors appear
None of the extensions I have works.
I have set the schemes to be the same when Running than when archiving and even doing that running goes well and archiving goes wrong.
I'm using XCode 13.1
Any idea?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|