Post

Replies

Boosts

Views

Activity

Reply to Health Records entitlement automatically being added.
@eskimo I have tried this command and this is the output I am getting. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "...."> <plist version="1.0"> <dict> <key>application-identifier</key> <string>***.com.xxxx.app</string> <key>aps-environment</key> <string>production</string> <key>beta-reports-active</key> <true/> <key>com.apple.developer.healthkit</key> <true/> <key>com.apple.developer.healthkit.access</key> <array/> <key>com.apple.developer.team-identifier</key> <string>xxxxx</string> <key>com.apple.security.application-groups</key> <array> <string>group.xxxxxx</string> </array> <key>get-task-allow</key> <false/> </dict> </plist> Which is what I expect since there is no reference to the health records within the entitlement since I've not added it in the project, but when I go inside of the app's package contents and inspect the embedded.mobileprovision file the reference to health-records is still in there as you can see below. <key>com.apple.developer.healthkit</key> <true/> <key>get-task-allow</key> <false/> <key>com.apple.developer.healthkit.access</key> <array> <string>health-records</string> </array> The app keeps on getting rejected for the following reasons also. Guideline 2.5.1 - Performance - Software Requirements Your app uses the Clinical Health Records API but your app does not appear to include any primary features that require the Clinical Health Records API. Next Steps To resolve this issue, please remove the Clinical Health Records API from your app, as well as any references to this app’s interactivity with Clinical Health Records from your app or its metadata. To disable the functionality through App Store Connect, please uncheck the "Health Records" capability (leaving the HealthKit entitlement enabled), remove all the references to HKClinicalRecord class from your code, then resubmit. But we can't remove something which is being added without our control. I've even tried other sample projects and it seems like this key is automatically being added in.
Jul ’20
Reply to Fetching Products from Storekit returns 0
I am having a similar problem I am able to get everything working fine with my consumable products locally using my StoreKitConfiguration file. But when I upload a build to Testflight I am not able to see my products since they don't load at all via Testflight or even with a sandbox account attached signed in on my iPhone to test locally via Xcode. I just seem to be getting the following warning below. I'm using Xcode 14.0.1 [StoreKit] Did not receive any products or error for products request. Below is a snippet of my code that i'm using also.     /// Get all of the products that are on offer     func retrieveProducts() async {         do {             let products = try await Product.products(for: myTipProducts)             items = products.sorted(by: { $0.price < $1.price })         } catch {             action = .failed(.system(error))             print(error)         }     } What's even stranger is that the products for function isn't even throwing an error
Jan ’23