Post

Replies

Boosts

Views

Activity

App translocation and TestFlight
Hi, We have an app that installs a number of system extensions. According to this documentation the app must be located in the Applications folder to be activated so when the app launches we check that it is running from /Applications (or a subfolder) and if it isn't we inform the user and exit. This has been working fine until a recent submission whereupon installing the app via TestFlight casuses it to be translocated when run and our check to fail. So, a couple of questions: Is it expected that an app installed via TestFlight (or indeed the AppStore) can be translocated when it is run? If yes to the above, how can we ensure that out app is running from Applications and can therefore activate its extensions? Thanks Alan
6
0
1.1k
Dec ’23
Personal VPN install error
We have an app that among other things installs a Personal VPN. This has been working fine for many years but recently we have gotten reports from customers that they are getting an error when installing the VPN. This has only started happening on iOS/iPadOS 17. I hadn't been able to reproduce the issue myself until I tried on an iPad with iPadOS 17.1.1 installed and this actually ties in with one of the customer reports. When I get the error I see the following: Xcode debug console: Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 90 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service with pid 90 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.} Failed to save configuration [App Name]: Error Domain=NEConfigurationErrorDomain Code=10 "permission denied" UserInfo={NSLocalizedDescription=permission denied} Failed to save configuration: Error Domain=NEVPNErrorDomain Code=5 "permission denied" UserInfo={NSLocalizedDescription=permission denied} Mac Console: Saving configuration [App Name] with existing signature (null) Failed to save configuration [App Name]: Error Domain=NEConfigurationErrorDomain Code=10 "permission denied" UserInfo={NSLocalizedDescription=permission denied} Failed to save configuration: Error Domain=NEVPNErrorDomain Code=5 "permission denied" UserInfo={NSLocalizedDescription=permission denied} When the error occurs you don't even see the system prompt to allow the VPN be installed. We are using the code below to save the configuration and as stated it fails when trying saveToPreferences without ever showing the prompt private func setup(with vpnProtocol: NEVPNProtocol, rules: [NEOnDemandRule], completion: @escaping VPNConfigurationCompletionHandler) { let setupBlock: (NEVPNManager) -> () = {manager in manager.isEnabled = true manager.isOnDemandEnabled = true manager.localizedDescription = L("app.vpn.description") manager.protocolConfiguration = vpnProtocol manager.onDemandRules = rules manager.saveToPreferences { (error) in completion(self.extractErrorCode(from: error)) } } vpnManager.loadFromPreferences { (error) in if error == nil { setupBlock(self.vpnManager) } else { completion(.generalFailure) } } } Any suggestions as to what may be going wrong? Thanks Alan
2
0
772
Nov ’23
MDM Vendor Cert
Hi there We have an enterprise developer account from which we generate an MDM CSR. Unfortunately this enterprise account will expire in a few months and we are not in a position to renew it, therefore I'm wondering is it possible to generate an MDM CSR from a regular developer account? I don't currently see the option but maybe it is something I can request Apple to enable? Thanks Alan
1
0
1.1k
Oct ’22
ITMS-90896 Error when uploading binary with Transporter
Hi I have an app with an Intents extension and a Widget extension that is failing to upload to App Store connect. I am receiving the following error and I have no idea how to fix it ERROR ITMS-90896: "Invalid Mach-O header. The __swift5_entry section is missing for extension bundle Payload/[AppName].app/PlugIns/WidgetsExtension.appex, which prevents the extension from running. You can run the otool command against your binary to ensure there is a __swift5_entry section." This worked fine a couple of months ago on last submission. Thanks Alan
4
0
1.9k
Dec ’21