Camera access on iOS

Currently, I have implemented a function to import photos from the Photos app to the Xojo app using ImagePicker in an iOS app. However, when I set the ImagePicker Source to Camera, I can upload to TestFlight, but I can’t even install it on an iOS device.

I couldn’t find anything related to Camera access in the Capability settings of Identifier. I set the String value of “NSCameraUsageDescription” in Build Settings > iOS > Property List, but I got an error that it didn’t match the automatic signing settings in Xcode, and I couldn’t get to TestFlight.

Camera access seems to have various restrictions for iOS apps, so is there any solution?

This is the Error Message.

" The operation couldn’t be completed. 2025-04-18 12:41:40.851 xcodebuild[7773:296680] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path “/var/folders/dl/0npxnfdj6mz24cbn_st8xwbc0000gn/T/DopanetPaint_2025-04-18_12-41-40.850.xcdistributionlogs”.

error: exportArchive Provisioning profile “iOS Team Store Provisioning Profile: com.miu-net.dpntPaint” is Xcode managed, but signing settings require a manually managed profile."

It seems that the problem was with the installation of the ProvisioningProfile, and the above error about automatic signing in Xcode has been resolved.

However, if I enable the Camera access function, I still cannot install it on the device after uploading to TestFlight. Please give me some advice.

what error do you get?

No error message is displayed.
I can upload normally up to TestFlight, but when I try to install or update on TestFlight on my iPad, the installation fails. If I change the camera access back to None, I can install again, so I think there is some restriction on the camera access function.