https://kotlinlang.org logo
#eap
Title
# eap
t

Thomas

09/30/2023, 10:26 PM
It seems that after updating to 1.9.20-Beta2 the
embedAndSignAppleFrameworkForXcode
task is broken. Instead of only copying the kotlin framework it also copies the dsym file. That causes the following error when uploading to the store:
Copy code
Asset validation failed (90432) Unexpected file found in Frameworks. The "HueEssentials.app/Frameworks/common.framework.dSYM" file is in the Frameworks directory, but the Swift runtime libraries are the only files permitted in that directory. Please remove this file and upload a new build.
👀 1
I think it was caused by this commit. https://github.com/JetBrains/kotlin/commit/b1faee5ec66495641688529e1803238687e007e7#diff-4d1b4b66b5b2634fb001301b2[…]c8d576c7bf02bc9aa734859d6757cb4 Before the commit only the framework was copied. But after this commit the dsym is also copied, why?
As a workaround I am using the following to delete the dsym file right after calling the
embedAndSignAppleFrameworkForXcode
task:
Copy code
rm -r $TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH/common.framework.dSYM
Now the app is accepted by the app store.
This seems like quite an important issue as it will cause iOS build to be rejected with 1.9.20-Beta2
e

Edoardo Luppi

10/02/2023, 11:58 AM
Upvoted. Hopefully you'll get a fix with RC
a

a-dd

10/12/2023, 1:52 PM
Thanks everyone, RC is out with the fix
gratitude thank you 2