Request failed with http status code 503

159,005 results found

Post not yet marked as solved
9 Replies
1.5k Views
Hi, I have an issue with some Apple Arcade Apps, which are failing the initial DRM test on specific machines and is blocking our testing. The situation is: We have 2 Mac apps, developed by different teams with different engines: App1: Developed in custom C++/Objective-C engine App2: Developed in Unity Machines Macbook Air M1 (12.3.1) Macbook Pro I7 (12.4) Mac Studio M1 Max (12.4) The same version of each app was installed from Testlight on each of the machines. But they only run on machine 1, the Macbook air. Both apps fail to start on the other two machines with the exact same error on the console. - [Arcade/com.some.bundle/62D58BBA] Arcade fairplay recovery complete with result: 1 elapsedTime: 2.149383 - [Arcade/com.some.bundle/62D58BBA] Unable to relaunch due to error: Error Domain=ASDErrorDomain Code=506 Launching too fast, throttling request UserInfo={NSDebugDescription=Launching too fast, throttling request} - [Arcade] Repair for bundlePath: /Applications/App
Posted Last updated
.
Post not yet marked as solved
1 Replies
Replied In app rejected
You're supposed to provide requested information. Try to imagine reviewer concern: they see a developer speak in the name a company without any official credential. It could well be someone usurping the name of the company to publish an app without their consent. Reviewer cannot guess you have a (verbal) agreement. If the owner is a friend of yours, that should be pretty easy to get the signed document.
Post not yet marked as solved
1 Replies
This sounds like more of a legal matter. What's in the contract between you and the other company? I wouldn't simply cut them off unless your contract states that you can. You need to discuss this with them, telling them that you're going to stop using their back-end services on a specific date (or within X days). Another option might be to reduce the number of requests that go through the old server, and ramp up the calls to the new server. So, you would code the app to know about both servers, and use the old server for 80% of the calls for the first week, then 70%, 60%... 0%, when all your calls would be to the new server. You should also code it so that if the old server isn't available it always uses the new server so there's no failure if the old developer gets miffed.
Post not yet marked as solved
4 Replies
Thank you Quinn! I tried your test two different ways: To run it in UI app I slightly modified it (moved connections to a global and increased the count to 500): var connections: [NWConnection] = [] func quinnTest() throws { connections = (0..<500).map { _ in start() } } // call quinnTest() from view's init() The app logs Too many open files errors, lsof lists 251 entries like these: NetTest 62541 yam 252u IPv4 0xcbd9eab08f46aaf1 0t0 TCP yam-mac:53997->93.184.215.14:http (ESTABLISHED) there's no flowsw in the list skywalkctl returns an empty list: Proto Local Address Remote Address InBytes OutBytes InPkts/InSPkts OutPkts/OutSPkts SvC NetIf Port Adv Flags Local State Remote State Local RTT Remote RTT Process.PID I also tried your test unmodified, results are very similar to (1): many socket entries in lsof, no flowsw entry, empty list in skywalkctl, although I am not getting too many files in your test for two reasons: 10 is not a big number and getrlimit+RLIMIT_NOFILE by default returns a signi
Post not yet marked as solved
2 Replies
202 Views
We are facing an issue on Catalyst when building our app using Xcode 15.4. The issue is related to precompiled frameworks and seems to be widespread as it happens with multiple vendors (like Firebase or Braze). We are using SPM to add these dependencies, for instance: .package(url: https://github.com/braze-inc/braze-swift-sdk, from: 8.2.1), When building, we get the following error: clang:1:1: invalid version number in '-target arm64-apple-ios10.15-macabi' Our macOS deployment target is 12.3. Our iOS deployment target is 15.4. I will try to create a reproducer I can share but I wanted to share this in case there's a known workaround. Thanks in advance!
Posted
by 0xpablo.
Last updated
.
Post not yet marked as solved
1 Replies
That’s what I’d expect. If you want to hear about folks installing provisioning profiles, I recommend that you file an enhancement request with an explanation as to why that’s important to you. If you do file an ER, please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Post not yet marked as solved
1 Replies
68 Views
Hi there! I am trying to build a macOS app using Electron. There is a feature on the app that depends on a http server to run locally. This Server was built using Java. Both the compiled server and the Java Runtime Environment were bundled in the build. To start the server I use NodeJS's child_process.spawn, pointing the bundled JRE's executable and the server implementation. The issue I am facing is that the Java Virtual Machine is not starting. It returns the following error message: Error: Port Library failed to initialize: -1 Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Both the JRE and the server are located in Contents directory, in a subdirectory I have created for them. Here are the app's entitlements: com.apple.security.app-sandbox com.apple.security.application-groups REDACTED com.apple.application-identifier REDACTED com.apple.developer.team-identifier REDACTED com.apple.security.cs.allow-jit com.apple.security.c
Posted Last updated
.
Post not yet marked as solved
2 Replies
50 Views
Trying to install a mobile provision on my iPad from Windows 10 using iTunes. The error message is as above. I've checked and rechecked the mobile provision. The UUID of my device is contained within my mobile provision. I also tried on MacOS with the same error code. I'm not sure what else to try. I tried making a new mobile provision, I tried readding my device (which isn't possible since it's just the same UUID as an already existing device. I updated iTunes to the latest verison, I've upgraded my iPad OS to the latest version (17.5)
Posted
by Khaosk.
Last updated
.
Post not yet marked as solved
3 Replies
79 Views
Our product includes a sudo plugin so we can apply user-defined policies to manage privileged access to command line programs. We’ve been getting reports where the plugin sometimes doesn't get invoked and the sudo command falls back to its default behavior. This seems to only be happening intermittently, but when the issue does occur, this message appears in the Console: Library Validation failed: Rejecting '/usr/local/libexec/sudo/.so' (Team ID: , platform: no) for process 'sudo()’ (Team ID: N/A, platform: yes), reason: mapping process is a platform binary, but mapped file is not I recall a previous discussion of this message (that I can’t locate now), which explained that although the host process has library validation disabled, the code flow raises an error anyway, so that the host process can detect it and bypass the validation to load the plugin. It looks like that's what sudo is doing: it has the private entitlement com.apple.private.security.clear-library-validation and makes the app
Posted Last updated
.
Post not yet marked as solved
1 Replies
71 Views
I am developing a suite of apps/helpers that get built into an installer package for deployment (outside The App Store). We have that release process ± working, except that most of the development team members are not admins/privileged on the team. They don't really need to publish on behalf of the team, and so we don't want to have debug builds also depend on being signed as Developer ID Application. But that is running into problems… If I select instead Sign to Run Locally this results in an error for some of the build products along the lines of: [Build Target] requires a provisioning profile. Enable development signing and select a provisioning profile in the Signing & Capabilities editor. If I select Apple Development as the Code Signing Identity it leaves me with basically the same error as Developer ID Application does: Provisioning profile [Name of App/Helper] doesn't include signing certificate Apple Development: [Name of Developer] ([TEAMID]) And finally, if simply set the Debug value f
Posted
by natevw.
Last updated
.
Post not yet marked as solved
1 Replies
I recommend Apple Development for day-to-day development [1]. It should be possible to set up your team to make that process smooth, especially when using Xcode’s automatic code signing. Developer > Support > Articles > Program Roles explains how your role in the team affects your ability to manage signing assets. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Sign to Run Locally (that is, ad-hoc code signing) has two drawbacks: Your code can’t use restricted entitlements. See TN3125 Inside Code Signing: Provisioning Profiles. Your code’s identity isn’t stable, so it runs into TCC problems. See TN3127 Inside Code Signing: Requirements. As for Developer ID, I have an entire post that discusses that: The Care and Feeding of Developer ID.
Post not yet marked as solved
3 Replies
Ah, interesting. Thanks for the backstory. I recommend that you file a bug about this. BSD Sockets’ primary reason to exist is for compatibility with cross-platform code like this, and it’s a problem if that’s not working. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Post not yet marked as solved
4 Replies
looks like it uses either C++ or Objective-C exception mechanism. That’s not an exception. Rather, this is error handling code that just happens to log a backtrace. Do I somehow opt-out of using sockets or should they be not used by default? Network framework uses user-space networking by default but there are lots of constraints involved. Consider this test project: import Foundation import Network func start() -> NWConnection { print(connection will start) let connection = NWConnection(to: .hostPort(host: example.com, port: 80), using: .tcp) connection.stateUpdateHandler = { newState in print(connection did change state, new: (newState)) } connection.start(queue: .main) return connection } func main() throws { let connections = (0..<10).map { _ in start() } withExtendedLifetime(connections) { print(did start connections, pid: (getpid())) dispatchMain() } } try main() Running it on macOS 14.4.1, this is what I see: % ./Test751581 connection will start … connection will start did start connecti
Post not yet marked as solved
1 Replies
72 Views
Hello, I am trying to get network statistics using Swift on macOS. I am attempting to obtain: total input bytes total output bytes total input packets total output packets The following code works in the app as far as I can tell so far, but... the for-loop is a hack that I'd like to correct by properly iterating over all the interfaces. import Foundation import OSLog struct NetworkStatisticsData { var totalInputBytes: UInt64 = 0 var totalOutputBytes: UInt64 = 0 var totalInputPackets: UInt64 = 0 var totalOutputPackets: UInt64 = 0 } final class NetworkStatistics: Sendable { private let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: SwiftNetworkInformation) func getNetworkStatistics() -> NetworkStatisticsData { var networkStatisticsData = NetworkStatisticsData() for i in 1..<24 { // <- this for-loop should be iterating over a list of interfaces. NET_RT_IFLIST2 ? var keys: [Int32] = [ CTL_NET, PF_LINK, NETLINK_GENERIC, IFMIB_IFDATA, Int32(i), IFDATA_GENERAL ] var mibData: if
Posted
by JackBa.
Last updated
.