Build Issue - With Allowing Photos Access

I’m having an issue when trying to build when allowing Photos access with my app. I had it selected previously but today I started getting the following error:

The operation couldn’t be completed. 2020-12-03 16:46:35.541 xcodebuild[28060:1291185] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path ‘/var/folders/k2/f2t0k12s5s7c470pg34r9ygh0000gn/T/MediaSwitcher_2020-12-03_16-46-35.534.xcdistributionlogs’.

error: exportArchive: Provisioning profile “MediaSwitcher iOS Store Profile” doesn’t include the com.apple.security.personal-information.photos-library entitlement.

But I’ve gone to the developer site and looked and there is NO photo entitlement selection when creating an app ID. There’s plenty of others but nothing with Photos.

How do you correct this?

Did you check the Photos item in the iOS capabilities in Xojo?

1 Like

Yes. Doing that is what is causing this issue.

I think something is wrong here.

The com.apple.security.personal-information.photos-library entitlement is only for macOS apps:

Looks like the bug is that we added it for iOS projects when it shouldn’t have been. I’ve just created a case.

OK. Thanks.

So we need a camera entitlement but no need for photos.

Thanks!

Jon