Post

Replies

Boosts

Views

Activity

Can't disable Writing Tools for SwiftUI TextField
I'm trying to disable Writing Tools for a specific TextField using .writingToolsBehavior(.disabled), but when running the app on my iPhone 16 Pro with Apple Intelligence enabled, I can still use Writing Tools on the text box. I also see no difference with .writingToolsBehavior(.limited). Is there something I'm doing wrong or is this a bug? Sample code below: import SwiftUI struct ContentView: View { @State var text = "" var body: some View { VStack { TextField("Enter Text", text: $text) .writingToolsBehavior(.disabled) } .padding() } } #Preview { ContentView() }
4
0
1.3k
Nov ’24
Tapping Take Photo reloads Image Playground sheet on iOS
I integrated the image playground sheet in my app, however when I select Take Photo on the iOS version of my app it just reloads the sheet. After several attempts I get the below error message. This issue doesn’t occur on the macOS version of my app, where it first requests camera permission before allowing me to take the photo. I’m not sure if this is happening because I don’t request the camera permission anywhere in my app. My app doesn’t use the camera at all apart from the Take Photo feature which is part of the image playground sheet. Feedback ID: FB15591786
0
0
556
Oct ’24
Can't connect device to Xcode after updating to iOS 18.1 beta 7
Ever since updating both my iPhone and iPad to iOS 18.1 beta 7, they simply won't connect to Xcode 16.1 beta 3. When connecting via cable, Xcode gets stuck on preparing for 5 to 10 mins and then outputs the below error: The developer disk image could not be mounted on this device. Domain: com.apple.dt.CoreDeviceError Code: 12040 Failure Reason: The caller does not have permission to perform the specified operation. User Info: { DDIPath = "/Library/Developer/DeveloperDiskImages/iOS_DDI.dmg"; DVTErrorCreationDateKey = "2024-10-15 9:06:17\U202fpm +0000"; DeviceIdentifier = "63EC7037-121B-4E79-9553-952A09720DAC"; NSURL = "file:///Library/Developer/DeveloperDiskImages/iOS_DDI.dmg"; Options = { MountedBundlePath = "file:///private/var/tmp/CoreDevice_DDI_Staging_501/63EC7037-121B-4E79-9553-952A09720DAC/"; UseCredentials = 0; }; "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI; } -- The caller does not have permission to perform the specified operation. Domain: com.apple.dt.CoreDeviceError Code: 2 -- Error mounting image: 0xe8000109 (kAMDMobileImageMounterNetworkForbiddenError: A network error occurred (forbidden).) Domain: com.apple.mobiledevice Code: -402652919 User Info: { FunctionName = AMDeviceRemoteMountPersonalizedBundle; LineNumber = 2145; } -- AMAuthInstallRequestSendSync failed: 3503 (kAMAuthInstallErrorHTTPForbidden) Domain: com.apple.mobiledevice Code: -402652919 User Info: { FunctionName = "-[PersonalizedImage mountImage:]"; LineNumber = 2042; } -- System Information macOS Version 15.0.1 (Build 24A348) Xcode 16.1 (23502) (Build 16B5029d) Timestamp: 2024-10-15T22:06:17+01:00 Any solution for this issue?
1
0
886
Oct ’24
How can I set app shortcut platter background colour on visionOS?
This is a follow up to my previous post, this time using the visionOS 1.2 simulator and Xcode 15.4. I am trying to set the background colour of my app shortcut platter for the visionOS version using NSAppIconComplementingColorNames but it doesn’t take effect when I check the shortcuts app. I see the built in Music Recognition app has a background colour but I am unable to set one for my app. Please note that this feature is working correctly on iOS. But on visionOS it has no effect and returns a plain background. I noticed the documentation doesn't mention it works on visionOS. But if that's the case how was the music recognition app able to set a colour?
1
1
802
Jul ’24
Cannot navigate to external webpages from internal extension pages
In iOS 18, internal extension pages cannot navigate to external webpages, either via href links or through JS methods such as window.location.replace. Nothing happens when you try to navigate to an external webpage. Only other internal pages can be navigated to. This wasn't an issue on previous versions of iOS. It would be appreciated if this can be fixed as soon as possible. Feedback ID: FB14194963
3
1
2k
Jul ’24
LAContext.biometryType now requires visionOS 2.0 in Xcode 16
On Xcode 15.4, LAContext.biometryType had an @available attribute of visionOS 1.0. However, in Xcode 16, the @available attribute for biometryType was changed to a visionOS 2.0 minimum requirement, preventing the app from building if the minimum deployment target is earlier than visionOS 2.0. This was the attribute on Xcode 15.4: This is the attribute on Xcode 16: Feedback ID: FB13824190
1
0
824
Jul ’24
How can I revoke one time purchases made via TestFlight?
Before I launched my app, I ran a TestFlight beta program and also included a one time purchase in the TestFlight build to test the functionality. Now that the app is available in the App Store, I had closed the TestFlight program, but am looking to reopen it again to test iOS 18 specific features. The issue is, the beta testers that previously purchased the IAP on TestFlight but didn't actually purchase the IAP on the App Store version would be able to use the paid features of the app for free as long as they have the TestFlight build. Therefore I would like to revoke all the purchases made via the TestFlight build. Is there any way to do that?
0
1
712
Jun ’24
Do remote notifications work on macOS when app is closed?
I have a native SwiftUI Mac app which is based off my iOS app and includes Core Data with iCloud sync. As per my understanding, when a user makes a change on one of the devices a remote notification is sent to the others. I have a widget which displays information from Core Data and the remote notification makes the widget update its information on the next timeline refresh without the user having to open the app manually. My question is, if an app is closed on macOS so it's not even running in the Dock, do remote notifications work? This page says "the delegate receives this message when the application is running and a remote notification arrives for it". Does that mean the app won't receive remote CloudKit notifications when closed on macOS?
1
0
695
May ’24
Apps containing App Intents and built using the visionOS 1.1 SDK crash on visionOS 1.0
If an app contains app intents and built using the visionOS 1.1 SDK, and the app is either run on the visionOS 1.0 simulator or a visionOS 1.0 device the app instantly crashes on launch with a missing symbol error. This doesn’t happen with apps built using the visionOS 1.0 SDK. Below is a screenshot of a crash report sent by TestFlight review: Feedback ID: FB13666685
1
0
692
Mar ’24
Cannot set app shortcut platter background colour on visionOS
I am trying to set the background colour of my app shortcut platter for the visionOS version using NSAppIconComplementingColorNames but it doesn’t take effect when I check the shortcuts app. I see the built in Music Recognition app has a background colour but I am unable to set one for my app. Please note that this feature is working correctly on iOS. But on visionOS it has no effect and returns a plain background. I am using Xcode 15.3 beta 2 and running the visionOS 1.1 simulator. Sample code from Info.plist: <key>CFBundleIcons</key> <dict> <key>CFBundlePrimaryIcon</key> <dict> <key>NSAppIconComplementingColorNames</key> <array> <string>SMGreen</string> <string>DarkGreen</string> </array> </dict> </dict> Feedback ID: FB13595442
0
0
667
Feb ’24
Last 24 Hours removed from Sales & Trends?
I noticed I can no longer view the last 24 hours in sales and trends, the option has been replaced with “Yesterday” which shows nothing. Is this intentional or a bug?
Replies
8
Boosts
20
Views
1.3k
Activity
Nov ’24
Please add support for Apple Intelligence features on the simulator
The simulator should support the new Siri Ul and Apple Intelligence features, at least they should work if Apple Intelligence is enabled on the Mac itself. Feedback ID: FB15699827
Replies
0
Boosts
2
Views
726
Activity
Nov ’24
Can't disable Writing Tools for SwiftUI TextField
I'm trying to disable Writing Tools for a specific TextField using .writingToolsBehavior(.disabled), but when running the app on my iPhone 16 Pro with Apple Intelligence enabled, I can still use Writing Tools on the text box. I also see no difference with .writingToolsBehavior(.limited). Is there something I'm doing wrong or is this a bug? Sample code below: import SwiftUI struct ContentView: View { @State var text = "" var body: some View { VStack { TextField("Enter Text", text: $text) .writingToolsBehavior(.disabled) } .padding() } } #Preview { ContentView() }
Replies
4
Boosts
0
Views
1.3k
Activity
Nov ’24
Tapping Take Photo reloads Image Playground sheet on iOS
I integrated the image playground sheet in my app, however when I select Take Photo on the iOS version of my app it just reloads the sheet. After several attempts I get the below error message. This issue doesn’t occur on the macOS version of my app, where it first requests camera permission before allowing me to take the photo. I’m not sure if this is happening because I don’t request the camera permission anywhere in my app. My app doesn’t use the camera at all apart from the Take Photo feature which is part of the image playground sheet. Feedback ID: FB15591786
Replies
0
Boosts
0
Views
556
Activity
Oct ’24
Can't connect device to Xcode after updating to iOS 18.1 beta 7
Ever since updating both my iPhone and iPad to iOS 18.1 beta 7, they simply won't connect to Xcode 16.1 beta 3. When connecting via cable, Xcode gets stuck on preparing for 5 to 10 mins and then outputs the below error: The developer disk image could not be mounted on this device. Domain: com.apple.dt.CoreDeviceError Code: 12040 Failure Reason: The caller does not have permission to perform the specified operation. User Info: { DDIPath = "/Library/Developer/DeveloperDiskImages/iOS_DDI.dmg"; DVTErrorCreationDateKey = "2024-10-15 9:06:17\U202fpm +0000"; DeviceIdentifier = "63EC7037-121B-4E79-9553-952A09720DAC"; NSURL = "file:///Library/Developer/DeveloperDiskImages/iOS_DDI.dmg"; Options = { MountedBundlePath = "file:///private/var/tmp/CoreDevice_DDI_Staging_501/63EC7037-121B-4E79-9553-952A09720DAC/"; UseCredentials = 0; }; "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI; } -- The caller does not have permission to perform the specified operation. Domain: com.apple.dt.CoreDeviceError Code: 2 -- Error mounting image: 0xe8000109 (kAMDMobileImageMounterNetworkForbiddenError: A network error occurred (forbidden).) Domain: com.apple.mobiledevice Code: -402652919 User Info: { FunctionName = AMDeviceRemoteMountPersonalizedBundle; LineNumber = 2145; } -- AMAuthInstallRequestSendSync failed: 3503 (kAMAuthInstallErrorHTTPForbidden) Domain: com.apple.mobiledevice Code: -402652919 User Info: { FunctionName = "-[PersonalizedImage mountImage:]"; LineNumber = 2042; } -- System Information macOS Version 15.0.1 (Build 24A348) Xcode 16.1 (23502) (Build 16B5029d) Timestamp: 2024-10-15T22:06:17+01:00 Any solution for this issue?
Replies
1
Boosts
0
Views
886
Activity
Oct ’24
How can I set app shortcut platter background colour on visionOS?
This is a follow up to my previous post, this time using the visionOS 1.2 simulator and Xcode 15.4. I am trying to set the background colour of my app shortcut platter for the visionOS version using NSAppIconComplementingColorNames but it doesn’t take effect when I check the shortcuts app. I see the built in Music Recognition app has a background colour but I am unable to set one for my app. Please note that this feature is working correctly on iOS. But on visionOS it has no effect and returns a plain background. I noticed the documentation doesn't mention it works on visionOS. But if that's the case how was the music recognition app able to set a colour?
Replies
1
Boosts
1
Views
802
Activity
Jul ’24
Cannot navigate to external webpages from internal extension pages
In iOS 18, internal extension pages cannot navigate to external webpages, either via href links or through JS methods such as window.location.replace. Nothing happens when you try to navigate to an external webpage. Only other internal pages can be navigated to. This wasn't an issue on previous versions of iOS. It would be appreciated if this can be fixed as soon as possible. Feedback ID: FB14194963
Replies
3
Boosts
1
Views
2k
Activity
Jul ’24
LAContext.biometryType now requires visionOS 2.0 in Xcode 16
On Xcode 15.4, LAContext.biometryType had an @available attribute of visionOS 1.0. However, in Xcode 16, the @available attribute for biometryType was changed to a visionOS 2.0 minimum requirement, preventing the app from building if the minimum deployment target is earlier than visionOS 2.0. This was the attribute on Xcode 15.4: This is the attribute on Xcode 16: Feedback ID: FB13824190
Replies
1
Boosts
0
Views
824
Activity
Jul ’24
Home screen customise button does nothing in iOS 18 beta 3 simulator
On both the iOS 18 beta 3 and iPadOS 18 beta 3 simulators, the customise button in home screen edit mode does nothing. I can check the dark mode icons by toggling the system appearance, but as the customise menu doesn’t work there is no way to check the tinted icons on the simulator. Feedback ID: FB14422030
Replies
0
Boosts
0
Views
677
Activity
Jul ’24
No data in sales and trends past 4am
I am seeing blank data after 4am when viewing the last 24 hours graph. I remember a while ago it showed me data past 4am but now the graph is suddenly showing no data after 4am. Are there any issues with the data shown on sales and trends at the moment?
Replies
5
Boosts
1
Views
926
Activity
Jul ’24
App icon doesn't show in UI when building with Xcode 16
I used to be able to show my app's icon in the UI using this code: if let icon = UIImage(named: "AppIcon") { Image(uiImage: icon) .resizable() .frame(width: 64, height: 64) .cornerRadius(10) } But this doesn't work when building with Xcode 16 and iOS 18 SDK. How can I show my app's icon in the UI without resorting to duplicating the asset?
Replies
3
Boosts
3
Views
3.2k
Activity
Jun ’24
How can I revoke one time purchases made via TestFlight?
Before I launched my app, I ran a TestFlight beta program and also included a one time purchase in the TestFlight build to test the functionality. Now that the app is available in the App Store, I had closed the TestFlight program, but am looking to reopen it again to test iOS 18 specific features. The issue is, the beta testers that previously purchased the IAP on TestFlight but didn't actually purchase the IAP on the App Store version would be able to use the paid features of the app for free as long as they have the TestFlight build. Therefore I would like to revoke all the purchases made via the TestFlight build. Is there any way to do that?
Replies
0
Boosts
1
Views
712
Activity
Jun ’24
Do remote notifications work on macOS when app is closed?
I have a native SwiftUI Mac app which is based off my iOS app and includes Core Data with iCloud sync. As per my understanding, when a user makes a change on one of the devices a remote notification is sent to the others. I have a widget which displays information from Core Data and the remote notification makes the widget update its information on the next timeline refresh without the user having to open the app manually. My question is, if an app is closed on macOS so it's not even running in the Dock, do remote notifications work? This page says "the delegate receives this message when the application is running and a remote notification arrives for it". Does that mean the app won't receive remote CloudKit notifications when closed on macOS?
Replies
1
Boosts
0
Views
695
Activity
May ’24
Apps containing App Intents and built using the visionOS 1.1 SDK crash on visionOS 1.0
If an app contains app intents and built using the visionOS 1.1 SDK, and the app is either run on the visionOS 1.0 simulator or a visionOS 1.0 device the app instantly crashes on launch with a missing symbol error. This doesn’t happen with apps built using the visionOS 1.0 SDK. Below is a screenshot of a crash report sent by TestFlight review: Feedback ID: FB13666685
Replies
1
Boosts
0
Views
692
Activity
Mar ’24
Cannot set app shortcut platter background colour on visionOS
I am trying to set the background colour of my app shortcut platter for the visionOS version using NSAppIconComplementingColorNames but it doesn’t take effect when I check the shortcuts app. I see the built in Music Recognition app has a background colour but I am unable to set one for my app. Please note that this feature is working correctly on iOS. But on visionOS it has no effect and returns a plain background. I am using Xcode 15.3 beta 2 and running the visionOS 1.1 simulator. Sample code from Info.plist: <key>CFBundleIcons</key> <dict> <key>CFBundlePrimaryIcon</key> <dict> <key>NSAppIconComplementingColorNames</key> <array> <string>SMGreen</string> <string>DarkGreen</string> </array> </dict> </dict> Feedback ID: FB13595442
Replies
0
Boosts
0
Views
667
Activity
Feb ’24