Okay, so I have been searching all over and couldn't find a working solution, I'm using iCloud Documents to sync between device's app documents and I just can't get the app to appear in the iCloud Drive in files app, I can see all the files between device and download each file, but can't see any of them in the iCloud Drive or see the app's directory but in the local folder "On My iPhone".
I tried increasing the build number, and double checked a couple times my bundle name and iCloud container and ubiquity container:
bundle is dorsahar.appname and iCloud container is iCloud.dorsahar.appname and ubiquity is the same as well.