Search results for

“Apple Maps Guides”

155,846 results found

Post

Replies

Boosts

Views

Activity

How to debug a Launch Daemon that requires an App Group provisioning profile for XPC communication
Hello, I am developing a macOS Launch Daemon (packaged as a bundle) that acts as an XPC server. For debugging purposes, I am trying to run the daemon's executable directly from the terminal via sudo ./mydaemon.app/Contents/MacOS/myexecutable. Initially, I added the com.apple.security.application-groups entitlement to the daemon. However, when starting the process, it failed to create the XPC service with the following errors: Unsatisfied entitlements: com.apple.security.application-groups Soft-restriction provisioning profile validation failure: Error Domain=AppleMobileFileIntegrityError Code=-413 No matching profile found UserInfo={NSURL=, unsatisfiedEntitlements=, NSLocalizedDescription=No matching profile found} listener failed to activate: xpc_error=[1: Operation not permitted] To resolve the profile validation failure, I registered a new App Group in the Apple Developer Portal, generated a new provisioning profile for the daemon that includes this group, and embedded it into the bundle (Contents
1
0
24
1d
Xcode Cloud accessing Azure Devops repository
Hi, I am attempting to setup Xcode Cloud for my project. The repository for the project is in Azure Devops. When I look on the internet, I get the answer: Go to AppstoreConnect, your app, Xcode Cloud and configure the repo. However, in my version of Xcode I am immediately sent back to Xcode to configure it. When looking in this forum, I see some old Posts from 2022 and 2024 without any answer. I assume I need to pick 'Github Enterprise' as the GIT provider. If I do, It attempts to connect to devops.azure.com, which sounds about right. But then I get a permission error. I would like to configure Xcode Cloud to access Azure Devops using one of the PATs that I have configured. Has anybody been able to Mae this work? Or should I make a Mirror Repo in Github (ir BitBucket or Gitlab) and let Apple connect to that? Kind regards Wouter
0
0
28
1d
Reply to WKWebView could not access local javascript files
On my end, it was due to call [self.webView loadFileURL:fileURL allowingReadAccessToURL:accessURL]; multiple times, even though it was worked on earlier version. here is the response from Apple side The loadFileURL:allowingReadAccessToURL: call should be made only once, after all the resource files have been copied. The CSS and image files don't need to be loaded individually — they will be loaded automatically by the HTML when it references them, because your accessURL grants WKWebView read access to the entire cv_webroot directory. Here is what the corrected flow should look like: hope this helps.
Topic: Safari & Web SubTopic: General Tags:
2d
Reply to Control over "\(your_app) wants to open \(another_app)" Dialog
It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits. Regarding the Stack Overflow thread you referenced, I’m not convinced that the alert is being shown by Apple code. I think that’s related to the third-party tooling involved. Which brings me back to your question. Without knowing which Apple API is involved, it’s hard to be sure whether this alert is coming from the OS or your third-party library. So you have a choice: You could dig into the library yourself to see what it’s going. Or you could discuss this with the library vendor. Alternatively, if you can post a screenshot of the specific alert, I might be able to track it down the Apple side of this [1]. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Assuming the library isn’t trying to deliberately copy the appearance of an Apple alert, which is something I do encou
2d
Reply to ApplicationMusicPlayer.shared player.play() permission denied in app sandbox (Tauri)
Glad to hear you’re making progress. [quote='882117022, i12n, /thread/820580?answerId=882117022#882117022, /profile/i12n'] What's the documented behavior if the user has something actively playing on the system music player? [/quote] Sadly, I can’t help you with that. I waded into this thread because I have expertise in the entitlement side of things. Otherwise I’m a complete noob when it comes to MusicKit. I have a couple of recommendations: As I mentioned above, prototype stuff in Xcode, just to get your third-party tooling out of the mix. If you continue to have problems, start a new thread, using the same subtopic and tags as their thread (well, except for Entitlements). Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Media Technologies SubTopic: General Tags:
2d
Reply to XPC communication between a sandboxed Network Extension and a privileged MachService
[quote='882180022, Pavel, /thread/820631?answerId=882180022#882180022, /profile/Pavel'] will macOS automatically bootstrap this Network Extension at boot-time [/quote] Yes. [quote='882180022, Pavel, /thread/820631?answerId=882180022#882180022, /profile/Pavel'] Is there ever a valid use case where these roles should be reversed … ? [/quote] It depends. There are some things that are most definitely problematic. For example, in macOS’s layered architecture the client can’t be ‘below’ the server. For example, you can’t have a daemon client connect to an agent server, or an agent client connect to a server within an app. You’ve already highlighted one key reason why this is problematic: A daemon can run when no user is logged in, so there might be no agent to connect to. Similarly, you can have multiple login sessions, so the connection could be ambiguous. Now in your case you have a daemon and a NE sysex. The latter acts very much like a daemon. Specifically, it runs in the same global context as a launchd daemo
Topic: App & System Services SubTopic: Core OS Tags:
2d
Reply to Your development team has reached the maximum number of registered iPhone devices.
[quote='882177022, hbanzon, /thread/797959?answerId=882177022#882177022, /profile/hbanzon'] I just renewed my paid developer account today [/quote] This thread is about free provisioning, which Xcode displays as a Personal Team. The story for paid teams is different. My general advice is that you read through Developer Account Help > Devices. If that’s not sufficient, you can seek help via Apple > Developer > Contact Us. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: General
2d
Reply to Issues Generating Bloom Filters for Apple NetworkExtension URL Filtering
[quote='881954022, turn3, /thread/810713?answerId=881954022#881954022, /profile/turn3'] Has the next sample app/server project been published yet? [/quote] Yes. The URL filters page now lists three samples: Filtering traffic by URL — The app-focused sample that we first shipped at WWDC. Setting up a PIR server for URL filtering — This is focused on the PIR server side of things. Using the Bloom filter tool to configure a URL filter — This tackles the Bloom filter task directly. [quote='881954022, turn3, /thread/810713?answerId=881954022#881954022, /profile/turn3'] PS posting this here rather than in a comment because it's not working [/quote] )-: But replying as a reply is generally a good thing; see Quinn’s Top Ten DevForums Tips for this and other titbits. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2d
Will Apple Developer support phone number based Apple accounts?
When signing in on the Apple Developer website with the phone number-based account I created when I was setting up my Mac, this error message is shown: Your Apple ID is not eligible to use this application at this time. I've seen other people with this problem and I hope that we will be able to log in using phone number accounts soon. For now, creating a new email-based account seems to be the only solution, but I don't want to do that 😂
0
0
35
2d
Reply to Unauthorized: Access to this place or content is restricted
Unfortunately it’s hard to offer advice without being able to reproduce the problem. FWIW, I’ve seen issues like this a bunch of times )-: In some cases they are transitory. I go back and repeat my actions and things just work. But in the cases where the problem is reproducible, I’m able to file an actionable bug report. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2d
Reply to test NEAppProxyProvider without MDM?
[quote='881984022, Davidbaraff2, /thread/820572?answerId=881984022#881984022, /profile/Davidbaraff2'] There is a DHCP server on the local LAN to assign addresses to devices. [/quote] Do you actually need that? Or is this something you can’t control? [quote='881984022, Davidbaraff2, /thread/820572?answerId=881984022#881984022, /profile/Davidbaraff2'] if my iPad is trying to talk to anything on say 192.168 [/quote] Does that include multiple subnets? That is, does the DHCP server hand out a 192.168/16 address? Or does it hand out a 192.168.x/24 address? And in that case, are there resources on other 192.168.y/24 networks that you need to talk to? [quote='881984022, Davidbaraff2, /thread/820572?answerId=881984022#881984022, /profile/Davidbaraff2'] can you suggest any other way to accomplish this? [/quote] Depending on your answers to the above, you could potentially do this with an off-the-shelf VPN. Specifically, this would work if you can configure the VPN to: Always run over WWAN. Claim the default route. [qu
2d
Reply to App Crash with mxSignpost function not found
Consider this: % swift demangle _$s9MetricKit10mxSignpost_3dso3log4name10signpostID__ySo03os_H7_type_ta_SVSo03OS_j1_F0Cs12StaticStringV0J0010OSSignpostI0VALSays7CVarArg_pGtF MetricKit.mxSignpost(_: __C.os_signpost_type_t, dso: Swift.UnsafeRawPointer, log: __C.OS_os_log, name: Swift.StaticString, signpostID: os.OSSignpostID, _: Swift.StaticString, _: [Swift.CVarArg]) -> () So, the problematic symbol is mxSignpost(…). According to the documentation, that’s available on iOS 13 and later. However, that’s clearly not the case O-: I see two possibilities here: The availability annotation is just wrong. The symbol is available on older system, but it moved, and the corresponding .tbd file doesn’t record that move. I suspect that it’s the latter [1] but, either way, it’s a bug in the MetricKit framework interface and you should file it as such. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.
Topic: App & System Services SubTopic: General Tags:
2d
Core Bluetooth Events when enabling State Restoration
Hello dear Apple Platform Engineers, I'm working on an iOS App that connects to a Bluetooth Low Energy Peripheral in the foreground. Whenever the App moves into Background, we want to continue syncing data & therefore implemented State Restoration to be informed about Discovery, Connect, Disconnect or Characteristic changes in the Background in order to wake the App up whenever it was Terminated due to memory issue. I consulted https://developer.apple.com/library/archive/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/CoreBluetoothBackgroundProcessingForIOSApps/PerformingTasksWhileYourAppIsInTheBackground.html#//apple_ref/doc/uid/TP40013257-CH7-SW1 for this & assigned: CBCentralManagerOptionRestoreIdentifierKey Reinstantiate the dedicated CentralManager & implemented the centralManager(_ central: CBCentralManager, willRestoreState dict: [String : Any]) Delegate Additionally, I assigned the following keys on connect(_ peripheral: CBPeripheral, options: [String : Any]?
2
0
50
2d
Reply to I have submitted my app and it has been waiting for review.
I have also uploaded the attachment. Regarding the requirements of Apple's review process, I have provided relevant PDF documents as proof. I don't know why, but I have been waiting all along. In the previous version, the review process was completed within 24 hours and there would be a result. Feeling extremely helpless, I can only seek help from Apple's review process here. App name: Rush Drama Application ID: id6479289380
2d
How to debug a Launch Daemon that requires an App Group provisioning profile for XPC communication
Hello, I am developing a macOS Launch Daemon (packaged as a bundle) that acts as an XPC server. For debugging purposes, I am trying to run the daemon's executable directly from the terminal via sudo ./mydaemon.app/Contents/MacOS/myexecutable. Initially, I added the com.apple.security.application-groups entitlement to the daemon. However, when starting the process, it failed to create the XPC service with the following errors: Unsatisfied entitlements: com.apple.security.application-groups Soft-restriction provisioning profile validation failure: Error Domain=AppleMobileFileIntegrityError Code=-413 No matching profile found UserInfo={NSURL=, unsatisfiedEntitlements=, NSLocalizedDescription=No matching profile found} listener failed to activate: xpc_error=[1: Operation not permitted] To resolve the profile validation failure, I registered a new App Group in the Apple Developer Portal, generated a new provisioning profile for the daemon that includes this group, and embedded it into the bundle (Contents
Replies
1
Boosts
0
Views
24
Activity
1d
Xcode Cloud accessing Azure Devops repository
Hi, I am attempting to setup Xcode Cloud for my project. The repository for the project is in Azure Devops. When I look on the internet, I get the answer: Go to AppstoreConnect, your app, Xcode Cloud and configure the repo. However, in my version of Xcode I am immediately sent back to Xcode to configure it. When looking in this forum, I see some old Posts from 2022 and 2024 without any answer. I assume I need to pick 'Github Enterprise' as the GIT provider. If I do, It attempts to connect to devops.azure.com, which sounds about right. But then I get a permission error. I would like to configure Xcode Cloud to access Azure Devops using one of the PATs that I have configured. Has anybody been able to Mae this work? Or should I make a Mirror Repo in Github (ir BitBucket or Gitlab) and let Apple connect to that? Kind regards Wouter
Replies
0
Boosts
0
Views
28
Activity
1d
Reply to WKWebView could not access local javascript files
On my end, it was due to call [self.webView loadFileURL:fileURL allowingReadAccessToURL:accessURL]; multiple times, even though it was worked on earlier version. here is the response from Apple side The loadFileURL:allowingReadAccessToURL: call should be made only once, after all the resource files have been copied. The CSS and image files don't need to be loaded individually — they will be loaded automatically by the HTML when it references them, because your accessURL grants WKWebView read access to the entire cv_webroot directory. Here is what the corrected flow should look like: hope this helps.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
2d
Reply to Control over "\(your_app) wants to open \(another_app)" Dialog
It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits. Regarding the Stack Overflow thread you referenced, I’m not convinced that the alert is being shown by Apple code. I think that’s related to the third-party tooling involved. Which brings me back to your question. Without knowing which Apple API is involved, it’s hard to be sure whether this alert is coming from the OS or your third-party library. So you have a choice: You could dig into the library yourself to see what it’s going. Or you could discuss this with the library vendor. Alternatively, if you can post a screenshot of the specific alert, I might be able to track it down the Apple side of this [1]. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Assuming the library isn’t trying to deliberately copy the appearance of an Apple alert, which is something I do encou
Replies
Boosts
Views
Activity
2d
Reply to ApplicationMusicPlayer.shared player.play() permission denied in app sandbox (Tauri)
Glad to hear you’re making progress. [quote='882117022, i12n, /thread/820580?answerId=882117022#882117022, /profile/i12n'] What's the documented behavior if the user has something actively playing on the system music player? [/quote] Sadly, I can’t help you with that. I waded into this thread because I have expertise in the entitlement side of things. Otherwise I’m a complete noob when it comes to MusicKit. I have a couple of recommendations: As I mentioned above, prototype stuff in Xcode, just to get your third-party tooling out of the mix. If you continue to have problems, start a new thread, using the same subtopic and tags as their thread (well, except for Entitlements). Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
2d
Reply to XPC communication between a sandboxed Network Extension and a privileged MachService
[quote='882180022, Pavel, /thread/820631?answerId=882180022#882180022, /profile/Pavel'] will macOS automatically bootstrap this Network Extension at boot-time [/quote] Yes. [quote='882180022, Pavel, /thread/820631?answerId=882180022#882180022, /profile/Pavel'] Is there ever a valid use case where these roles should be reversed … ? [/quote] It depends. There are some things that are most definitely problematic. For example, in macOS’s layered architecture the client can’t be ‘below’ the server. For example, you can’t have a daemon client connect to an agent server, or an agent client connect to a server within an app. You’ve already highlighted one key reason why this is problematic: A daemon can run when no user is logged in, so there might be no agent to connect to. Similarly, you can have multiple login sessions, so the connection could be ambiguous. Now in your case you have a daemon and a NE sysex. The latter acts very much like a daemon. Specifically, it runs in the same global context as a launchd daemo
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2d
Reply to Your development team has reached the maximum number of registered iPhone devices.
[quote='882177022, hbanzon, /thread/797959?answerId=882177022#882177022, /profile/hbanzon'] I just renewed my paid developer account today [/quote] This thread is about free provisioning, which Xcode displays as a Personal Team. The story for paid teams is different. My general advice is that you read through Developer Account Help > Devices. If that’s not sufficient, you can seek help via Apple > Developer > Contact Us. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: General
Replies
Boosts
Views
Activity
2d
Reply to Issues Generating Bloom Filters for Apple NetworkExtension URL Filtering
[quote='881954022, turn3, /thread/810713?answerId=881954022#881954022, /profile/turn3'] Has the next sample app/server project been published yet? [/quote] Yes. The URL filters page now lists three samples: Filtering traffic by URL — The app-focused sample that we first shipped at WWDC. Setting up a PIR server for URL filtering — This is focused on the PIR server side of things. Using the Bloom filter tool to configure a URL filter — This tackles the Bloom filter task directly. [quote='881954022, turn3, /thread/810713?answerId=881954022#881954022, /profile/turn3'] PS posting this here rather than in a comment because it's not working [/quote] )-: But replying as a reply is generally a good thing; see Quinn’s Top Ten DevForums Tips for this and other titbits. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
2d
Will Apple Developer support phone number based Apple accounts?
When signing in on the Apple Developer website with the phone number-based account I created when I was setting up my Mac, this error message is shown: Your Apple ID is not eligible to use this application at this time. I've seen other people with this problem and I hope that we will be able to log in using phone number accounts soon. For now, creating a new email-based account seems to be the only solution, but I don't want to do that 😂
Replies
0
Boosts
0
Views
35
Activity
2d
Reply to Unauthorized: Access to this place or content is restricted
Unfortunately it’s hard to offer advice without being able to reproduce the problem. FWIW, I’ve seen issues like this a bunch of times )-: In some cases they are transitory. I go back and repeat my actions and things just work. But in the cases where the problem is reproducible, I’m able to file an actionable bug report. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
2d
Reply to test NEAppProxyProvider without MDM?
[quote='881984022, Davidbaraff2, /thread/820572?answerId=881984022#881984022, /profile/Davidbaraff2'] There is a DHCP server on the local LAN to assign addresses to devices. [/quote] Do you actually need that? Or is this something you can’t control? [quote='881984022, Davidbaraff2, /thread/820572?answerId=881984022#881984022, /profile/Davidbaraff2'] if my iPad is trying to talk to anything on say 192.168 [/quote] Does that include multiple subnets? That is, does the DHCP server hand out a 192.168/16 address? Or does it hand out a 192.168.x/24 address? And in that case, are there resources on other 192.168.y/24 networks that you need to talk to? [quote='881984022, Davidbaraff2, /thread/820572?answerId=881984022#881984022, /profile/Davidbaraff2'] can you suggest any other way to accomplish this? [/quote] Depending on your answers to the above, you could potentially do this with an off-the-shelf VPN. Specifically, this would work if you can configure the VPN to: Always run over WWAN. Claim the default route. [qu
Replies
Boosts
Views
Activity
2d
Reply to App Crash with mxSignpost function not found
Consider this: % swift demangle _$s9MetricKit10mxSignpost_3dso3log4name10signpostID__ySo03os_H7_type_ta_SVSo03OS_j1_F0Cs12StaticStringV0J0010OSSignpostI0VALSays7CVarArg_pGtF MetricKit.mxSignpost(_: __C.os_signpost_type_t, dso: Swift.UnsafeRawPointer, log: __C.OS_os_log, name: Swift.StaticString, signpostID: os.OSSignpostID, _: Swift.StaticString, _: [Swift.CVarArg]) -> () So, the problematic symbol is mxSignpost(…). According to the documentation, that’s available on iOS 13 and later. However, that’s clearly not the case O-: I see two possibilities here: The availability annotation is just wrong. The symbol is available on older system, but it moved, and the corresponding .tbd file doesn’t record that move. I suspect that it’s the latter [1] but, either way, it’s a bug in the MetricKit framework interface and you should file it as such. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
2d
Core Bluetooth Events when enabling State Restoration
Hello dear Apple Platform Engineers, I'm working on an iOS App that connects to a Bluetooth Low Energy Peripheral in the foreground. Whenever the App moves into Background, we want to continue syncing data & therefore implemented State Restoration to be informed about Discovery, Connect, Disconnect or Characteristic changes in the Background in order to wake the App up whenever it was Terminated due to memory issue. I consulted https://developer.apple.com/library/archive/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/CoreBluetoothBackgroundProcessingForIOSApps/PerformingTasksWhileYourAppIsInTheBackground.html#//apple_ref/doc/uid/TP40013257-CH7-SW1 for this & assigned: CBCentralManagerOptionRestoreIdentifierKey Reinstantiate the dedicated CentralManager & implemented the centralManager(_ central: CBCentralManager, willRestoreState dict: [String : Any]) Delegate Additionally, I assigned the following keys on connect(_ peripheral: CBPeripheral, options: [String : Any]?
Replies
2
Boosts
0
Views
50
Activity
2d
Reply to I have submitted my app and it has been waiting for review.
I have also uploaded the attachment. Regarding the requirements of Apple's review process, I have provided relevant PDF documents as proof. I don't know why, but I have been waiting all along. In the previous version, the review process was completed within 24 hours and there would be a result. Feeling extremely helpless, I can only seek help from Apple's review process here. App name: Rush Drama Application ID: id6479289380
Replies
Boosts
Views
Activity
2d
Reply to DateFormatter date(from:) returns nil for date 2026-03-29 in Atlantic/Azores timezone
It seems that Atlantic/Azores does its DST change at midnight, and hence you’re likely hitting the issue discussed in Parsing Dates Without Times. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
2d