Skip.env ANDROID_PACKAGE_NAME = painless.password #203
-
in the Skip.env (root folder) the Android package name has a dot in the name "painless.password". I don't know where this comes from - or how it got set - but I've never used the dot notation for the App name. I'm getting error: The file "Resources" couldn't be saved in the folder "password" because a file with the same name already exist. This is in an attempt to run the TESTS... I can not find the folder "password" but assume the path is in the derivedData folder and is because of the dot notation "painless.password" All the other folders have abs paths. This one does NOT! Help, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Here the log file has a PainlessPassword/src/main/resources/painless/password/Resources/Module.xcassets/AppIcon.appiconset/ (*.png) |
Beta Was this translation helpful? Give feedback.
-
It looks like I've found the "painless" and "password" folders - up above the DerivedData folder ... in the /Android folder. |
Beta Was this translation helpful? Give feedback.
-
The only file in there is Main.kt with the "package painless.password" directive. |
Beta Was this translation helpful? Give feedback.
-
Skip will derive Kotlin package names from a Swift module name by de-camel-casing the name and forming a valid Java package identifier. Thus, "PainlessPassword" converts to "painless.password". This is discussed in the docs on platform customization. The module resources are embedded in your app as part of the owning package, which is why the Module.xcassets in your Resources/ folder will try to be copied and linked over to a destination folder of That being said, I'm not sure where that error message is coming from. Did anything get renamed in the project recently that triggered this build/test error? You may want to try a clean build, and if that doesn't work, completely removing your DerivedData folder and re-starting Xcode, and that may clean things up. |
Beta Was this translation helpful? Give feedback.
Skip will derive Kotlin package names from a Swift module name by de-camel-casing the name and forming a valid Java package identifier. Thus, "PainlessPassword" converts to "painless.password". This is discussed in the docs on platform customization. The module resources are embedded in your app as part of the owning package, which is why the Module.xcassets in your Resources/ folder will try to be copied and linked over to a destination folder of
src/main/resources/painless/password/Resources/Module.xcassets
.That being said, I'm not sure where that error message is coming from. Did anything get renamed in the project recently that triggered this build/test error? You may want to try a c…