Developer Tools

RSS for tag

Ask questions about the tools you can use to build apps.

Posts under Developer Tools tag

200 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Not able to generate API key
After clicking the button I get an error message "An error occurred during generation. Reload this page to try again.", I tryed several times with same result. I saw in network tab the the request got 403 with error: { "errors" : [ { "id" : "a838db66-5e18-4dc8-8bb2-fc5903b41912", "status" : "403", "code" : "FORBIDDEN_ERROR.PLA_NOT_VALID", "title" : "Operation is forbidden because of PLA status.", "detail" : "" } ] } Anyone can tell me what is PLA status? Thank you
1
0
37
10h
Feature Request: Socket Mode for Xcode Cloud Webhooks
Issue Description The current Xcode Cloud webhook functionality requires developers to expose a public URL to receive webhook events, which poses a challenge in environments with security restrictions or limited network accessibility. Many developers need to receive webhook events locally without exposing their servers to the public internet. Proposed Solution A feature similar to Slack’s "Socket Mode" would allow developers to receive webhook events over a WebSocket connection without exposing a public URL. This socket-based solution could offer a more secure, streamlined, and accessible way for developers to work with webhooks, especially in closed network environments.
2
3
80
2d
Android Emulator "System UI Isn't Responding" Error on macOS Monterey
Hello everyone, I’m experiencing an issue with the Android Emulator in Android Studio (version Ladybug) on my Mac running macOS Monterey (12.7). The emulator frequently displays the message “System UI isn’t responding” and then crashes. I've tried a few troubleshooting steps, including: Restarting Android Studio and the emulator. wipe data on AVD. tried to change the emulator performance from automatic to hardware but this option isn't available to me. Despite these efforts, the problem persists. Has anyone else encountered this issue? Any suggestions or solutions would be greatly appreciated!
2
0
107
4d
Assembly differences in TestFlight?
Good afternoon The essence of the question: our product is written in .net maui (a framework for cross-platform development from microsoft), when we use the profile for development in the build and directly install the application on the iPhone, everything works fine. But if you take the same build with the same settings, replace the development profile with the distribution profile, assemble and send it to TestFlight, install it on the same iPhone - when the application is launched, a crash occurs. Yes, we studied the logs, and at the moment we have come to the theory that maybe the main problem lies inside the maui framework, but still - why will the behavior of the application change so much when using different profiles? From full functionality when using the development profile, to crash at the start when using the distribution profile. What exactly changes when you change your profile? Is there any documentation on this topic? Or advice from those who are more knowledgeable about this topic? Thanks in advance for any reply
1
0
121
1w
iOS 18.2 Beta WKWebView Navigation Breaking loadFileURL for Local Files
I am experiencing a critical issue with WKWebView navigation in iOS 18.2 beta, specifically regarding the function webView.loadFileURL(_:allowingReadAccessTo:). In previous versions of iOS, this function works as expected when loading valid file URLs from the app’s local directory (e.g., Application Support). However, in iOS 18.2 beta, the function fails to complete the navigation, producing a provisional navigation failure with WebKitErrorDomain, code 102 (Frame load interrupted). This issue severely impacts our app’s ability to load essential local resources, breaking core functionality. Here’s a summary of the troubleshooting steps and findings: File and Directory Verification: The url provided to loadFileURL is valid. Both the file path and parent directory exist within the app’s sandbox, and the directory is accessible. Configuration: The code specifies the parent directory in the allowingReadAccessTo parameter to meet sandboxing requirements, which works on iOS 18.1 and prior releases. Testing on Stable iOS Versions: The issue is exclusive to iOS 18.2 beta; testing on earlier stable iOS releases confirms that the function works as intended. Impact: This regression severely disrupts the app’s navigation and content loading, effectively blocking access to local resources required for the WKWebView to display content properly. The error log returned in the console is as follows: > Error Domain=WebKitErrorDomain Code=102 "Frame load interrupted" UserInfo={_WKRecoveryAttempterErrorKey=<WKReloadFrameErrorRecoveryAttempter: 0x303dd67e0>, NSErrorFailingURLStringKey=file:///var/mobile/Containers/Data/Application/4D128818-7E51-460E-B5D4-D2D70363EFA0/Library/, NSErrorFailingURLKey=file:///var/mobile/Containers/Data/Application/4D128818-7E51-460E-B5D4-D2D70363EFA0/Library/, NSLocalizedDescription=Frame load interrupted} We suspect this may be due to a change in WebKit permissions in iOS 18.2 beta that affects local file handling within WKWebView. Given that the our app relies heavily on these resources, we kindly request this issue be addressed promptly. If any additional information or sample code is required, please let us know, and we will gladly provide further details to assist in resolving this issue. Thank you for your attention and support. Best regards, Isabela
1
1
126
1w
Upload error using iTMSTransporter 'An error occurred while trying to call the requested method validateAssets. (1272)'
We have a CD pipeline set up for many apps (we're an app dev agency, we're uploading apps all the time). Uploads of our apps to AppStoreConnect using the iTMSTransporter command line tool started failing a few days ago. If we attempt to upload the same bundle using the Mac Transporter app, it uploads just fine. The problem only seems to be the iTMSTransporter command line tool. The version of the tool we're using is: iTMSTransporter, version 3.3.0 I've also tried running these commands pointing at the version of iTMSTransporter running at /Applications/Transporter.app/Contents/itms/bin/iTMSTransporter but this won't even start due to some Java security certificate issue. An example of the command we are calling is: /usr/local/itms/bin/iTMSTransporter -m upload -v eXtreme -f "/path/to/Bundle.itmsp" -jwt {generatedJwtHere} The bundle appears to actually upload to the AppStore OK, after lots of logs we get a message like: INFO: Reservation committed: (CPUSource221/v4/0b/e5/74/0be57409-0479-3c02-0fa7-6b1e2125342f/http-transport-diagnostic-2323106272954036093.txt) file: (http-transport-diagnostic-2323106272954036093.txt) [2024-10-30 14:48:12 AEDT] <RLT-001> INFO: Finished upload for reservation: (CPUSource221/v4/0b/e5/74/0be57409-0479-3c02-0fa7-6b1e2125342f/http-transport-diagnostic-2323106272954036093.txt) file: (http-transport-diagnostic-2323106272954036093.txt) But then soon after the system fails. Here's the last bunch of lines from the logs: [2024-10-30 14:48:12 AEDT] <main> DBG-X: Using operation named: validateAssets [2024-10-30 14:48:12 AEDT] <main> DBG-X: Apple's web service operation input parameters: [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Application = iTMSTransporter [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter BaseVersion = 3.3.0 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter CPUToken = fdc4eb8b-c249-4c70-bf90-8b0878d2de9c/1730248300667 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Files = [metadata.xml, App.ipa] [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter MetadataChecksum = c32ad756f090da68830123132a616e3a [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter MetadataCompressed = (suppressed) [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter MetadataInfo = {packageVersion=software4.7} [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter OSIdentifier = Mac OS X 14.5 (aarch64); jvm=17.0.7+7-iTunesOpenJDK-3; jre=17.0.7+7-iTunesOpenJDK-3; arch=arm64; rosetta=true [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter PackageName = Bundle.itmsp [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter PackageSize = 40603953 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter RequestUUID = 1c12bf85-9ff2-4916-a55c-12dd9e4ab771 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter StatisticsClientStartDateTimeZoneISO = 2024-10-30T14:48:12+11:00 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter StreamingInfoList = [file: 97c48494-e436-484d-9a5f-2a84576553338130357476207288847.swinfo.plist.gz, content-length: 194606, content-type: application/binary, MD5: b4df61ca1fb5d74e74b13117619a5cd2] [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Transport = HTTP [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter TransporterArguments = -m upload -v eXtreme -f /Users/mick/Projects/Catholic Cemeteries/CCC App/Bundle.itmsp -jwt **hidden value** [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter TxTransportVersions = {SigniantTCP=1.3.0, Aspera=1.2.1, Signiant=1.3.0, HTTP=2.1.2.SNAPSHOT} [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Version = 3.3.0 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter iTMSTransporterMode = upload [2024-10-30 14:48:12 AEDT] <main> INFO: id = 20241030144812-155 [2024-10-30 14:48:12 AEDT] <main> DEBUG: SMART-CLIENT: getCurrent(); using pinned data center = contentdelivery01.itunes.apple.com [2024-10-30 14:48:12 AEDT] <main> INFO: iTMSTransporter Correlation Key: 816c0e77-2860-4ba5-9e0d-61d633c61b7f-0001 [2024-10-30 14:48:12 AEDT] <main> DEBUG: SMART-CLIENT: Host HTTP header: contentdelivery01.itunes.apple.com [2024-10-30 14:48:15 AEDT] <main> DBG-X: Apple's web service operation return value: [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter Errors = [An error occurred while trying to call the requested method validateAssets. (1272)] [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter RestartClient = false [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter ErrorCode = 1272 [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter ErrorMessage = An error occurred while trying to call the requested method validateAssets. (1272) [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter Success = false [2024-10-30 14:48:15 AEDT] <main> ERROR: An error occurred while trying to call the requested method validateAssets. (1272) [2024-10-30 14:48:15 AEDT] <main> DBG-X: The error code is: 1272 [2024-10-30 14:48:15 AEDT] <main> INFO: Done performing authentication. This problem is affecting all our apps. We've tried apps built using Xcode 15 and 16. All issues are happening on Mac machines.
3
4
320
13h
422 error "Beta contract is missing" Testflight
I'm currently experiencing the same problem that many have had with error 422 "Beta contract is missing." I read that I should contact Apple support, but when I try to access the support page and log in with my credentials, the page doesn't load and I can't generate a ticket to resolve this problem. I get the message "There was an error processing your request. Please try again later." And when I inspect with Safari it shows me this information: "errors" : [ { "id" : "9be0314c-3bd5-4143-a625-602322d7156e", "status" : "422", "code" : "ENTITY_UNPROCESSABLE.BETA_CONTRACT_MISSING", "title" : "Beta contract is missing for the app.", "detail" : "Beta Contract is missing." } ] This is when I want to share the most recent build of my app with external groups through Testflight, but additionally, when my internal testers try to access it through Testflight app, it shows the error "The requested app is not available or doesn't exist." Could someone tell me what process I should follow or where I can correctly generate the ticket for my error? Since the Apple support page does not load. Thanks!
0
2
140
1w
4.3.0 Design Spam Problem App Review is not helpful
Dear Apple Supervisors, im Enrik Sulaj an apps and games developer .I have many Why-s ! Why app review team have a stone heart? Why they dont value our work? Why they are not helpful? Why they cant tell us where the problem is ? Why they dont do their work right? Why "They dont share information "even that information can solve the problem. Why they create the problem just to reject our games? I sent an appeal for that, still waiting for it but they always had respond with not a solution to me and not in an helpful form! Why they hate new creators? And the last why, why they make the impossible to undervalue creators hardwork and made us never work with Apple Again. I never saw an car game that collect gold and rubin, gives all free assets or crushes into a wall, but they have always their answer and dont listen to the facts, the most common answer "Duplicated but with anonymous and not shareable proof "Apple supervisors, fix my problem, im an Apple unhappy user of Developer services ! Not about Apple policies, but even my new idea can get rejected. That will hurt so many new creators. Its just not right, to take money and to refuse to give service. If i buy your product you need to give me the service. At least the support, helpful support, not like (We cant share information, becouse if you analise it well that translates in " we cant help " or "we dont have any proof just want to make your road longer ".Fix this asap, apple review team need to support us, not just to say things we already know. My app is duplicated ? How is that possible didnt copy anybody, if they continue like this even if i have the problem i will never solve this becouse i dont know what to do, this situation is making me angry becouse think of it as in the same position, if you get refused for not a real reason. I will never give up, i will get my right, and i hope the other creators facing the same problem fix this also ! Do not use bots to do the work auto and faster, instead use your eyes, they never lie . Do not save time, instead do the work longer and ri to say a little thing, anything will be in the right place at the right time .
1
0
187
1w
iPad Mini 7th Gen Not Supported by Xcode 16
I'm having issues supporting the brand new iPad Mini 7. No simulator and the actual device (just received) doesn't appear to be supported. So I can't test my SwiftUI apps on this new device. I can't even do a "Hello, world!" app. I get this: The developer disk image could not be mounted on this device: Error mounting image: 0xe800010f (kAMDMobileImageMounterPersonalizedBundleMissingVariantError: The bundle image is missing the requested variant for this device.) When will this new device be supported? Or is there a work-around? Or is there an update?
6
1
182
1w
[Xcode16] Unable to install apps for development
My dev setup : Macos Sequoia - 15.0.1 (24A348) Xcode 16 - Version 16.0 (16A242d) iPhone15Pro - iOS Version 18.0.1 I recently upgraded to Sequoia which forced me to upgrade my Xcode version to 16. After this I am unable to deploy apps for testing on my iOS device. The build proceeds fine but then the installation hangs: Xcode says "Installing to " On the device, it just says Loading / Installing on the app icon and the install doesn't complete It remains stuck for a very long time with no progress and then I need to quit Xcode / manually hit 'Cancel download' on the device. Once in a way the installation goes through and the app runs fine. The same app used to install and run fine when deployed via Xcode15.3 (on macOS Sonoma). On one attempt I waited for 20mins or so and then app install failed with this message : "XPCErrorDescription" => <string: 0x1ef0097a0> { length = 22, contents = "Connection interrupted" } } Domain: IXRemoteErrorDomain Code: 6 User Info: { DVTErrorCreationDateKey = "2024-10-25 13:52:47 +0000"; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; } -- Failed to install the app on the device. Domain: com.apple.dt.CoreDeviceError Code: 3002 User Info: { NSURL = "<***.app>"; } -- Connection with the remote side was unexpectedly closed : <dictionary: 0x1ef009620> { count = 1, transaction: 0, voucher = 0x0, contents = "XPCErrorDescription" => <string: 0x1ef0097a0> { length = 22, contents = "Connection interrupted" } } Domain: IXRemoteErrorDomain Code: 6 Failure Reason: Unhandled error domain IXRemoteErrorDomain, code 6 User Info: { FunctionName = "_IXHandleConnectionForInstallMessagesFromRemoteService_block_invoke"; SourceFileLine = 237; } -- Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : { "device_identifier" = "***"; "device_isCoreDevice" = 1; "device_model" = "iPhone16,1"; "device_osBuild" = "18.0.1 (22A3370)"; "device_platform" = "com.apple.platform.iphoneos"; "device_thinningType" = "iPhone16,1"; "dvt_coredevice_version" = "397.24"; "dvt_coresimulator_version" = "987.2"; "dvt_mobiledevice_version" = "1759.40.2"; "launchSession_schemeCommand" = Run; "launchSession_state" = 1; "launchSession_targetArch" = arm64; "operation_duration_ms" = 693229; "operation_errorCode" = 6; "operation_errorDomain" = IXRemoteErrorDomain; "operation_errorWorker" = IDEInstallCoreDeviceWorker; "operation_name" = IDERunOperationWorkerGroup; "param_debugger_attachToExtensions" = 0; "param_debugger_attachToXPC" = 1; "param_debugger_type" = 3; "param_destination_isProxy" = 0; "param_destination_platform" = "com.apple.platform.iphoneos"; "param_diag_113575882_enable" = 0; "param_diag_MainThreadChecker_stopOnIssue" = 0; "param_diag_MallocStackLogging_enableDuringAttach" = 0; "param_diag_MallocStackLogging_enableForXPC" = 1; "param_diag_allowLocationSimulation" = 1; "param_diag_checker_tpc_enable" = 1; "param_diag_gpu_frameCapture_enable" = 0; "param_diag_gpu_shaderValidation_enable" = 0; "param_diag_gpu_validation_enable" = 0; "param_diag_guardMalloc_enable" = 0; "param_diag_memoryGraphOnResourceException" = 0; "param_diag_mtc_enable" = 1; "param_diag_queueDebugging_enable" = 1; "param_diag_runtimeProfile_generate" = 0; "param_diag_sanitizer_asan_enable" = 0; "param_diag_sanitizer_tsan_enable" = 0; "param_diag_sanitizer_tsan_stopOnIssue" = 0; "param_diag_sanitizer_ubsan_enable" = 0; "param_diag_sanitizer_ubsan_stopOnIssue" = 0; "param_diag_showNonLocalizedStrings" = 0; "param_diag_viewDebugging_enabled" = 1; "param_diag_viewDebugging_insertDylibOnLaunch" = 1; "param_install_style" = 2; "param_launcher_UID" = 2; "param_launcher_allowDeviceSensorReplayData" = 0; "param_launcher_kind" = 0; "param_launcher_style" = 99; "param_launcher_substyle" = 0; "param_runnable_appExtensionHostRunMode" = 0; "param_runnable_productType" = "com.apple.product-type.application"; "param_structuredConsoleMode" = 1; "param_testing_launchedForTesting" = 0; "param_testing_suppressSimulatorApp" = 0; "param_testing_usingCLI" = 0; "sdk_canonicalName" = "iphoneos18.0"; "sdk_osVersion" = "18.0"; "sdk_variant" = iphoneos; } -- System Information macOS Version 15.0.1 (Build 24A348) Xcode 16.0 (23051) (Build 16A242d) Timestamp: 2024-10-25T15:52:47+02:00 I have also tested with Xcode16.1RC and it has the same issue. This issue completely blocks development, please let me know if there is something I can try to fix this.
3
2
260
1w
Walking speed
I´m working within the health felid with a few apps. Accordingly to science one of the most important parts to keep healthy is every day walking. But it is not to walk slow. You need to come to a little speed (not running or even jogging). But to rais your puls. This is when you get the "real health effect". In general it is around 6km/h. It would be great if apple could make this info available for us developers. I think lots of developers will be happa and use this to make better apps and get more people in a healtheyer life. Looking forward to get some feedback on this. Thank you! Cheers Peter
1
0
93
1w
XCode 16 - Wifi debugging failed
Hi Apple Developer and DTS team, I facing a big problem when develop the application that trying to connect to WAC firmware (iOT device). When I debugging the the application, the real device switch internet connection to WAC wifi, and my XCode will showing as failed. The problem here when I trying to back to old network and trying to build again. the XCode will stuck on building with multiple installing application. Actually I seen that the XCode do not cancel old installing build. That issue not appears on XCode 15.4 with same source code. I belive that issue come from the bad internet connection. And now XCode 16 disable to turn off WIFI build as: That why I can't select the build and debugging the app over cable anymore. My question is: How I can disable WIFI debugging? Because my wifi debug not stable when I developing the application over WAC device. How I can cancelling the installing actions of XCode to build new one? Best Regards, A ****** iOS Developer guy. [Personal Information Edited by Moderator]
0
1
99
1w
Failed to preview SwiftUI app for macOS in Xcode 12.(0, 1, 3, 4).
Hello! SwiftUI preview does not work. I tried different versions of Xcode, deleting the "Developer" folders, clearing the "Build" folder from the project in Xcode, reinstalling Command Line Tools and Developer Tools. I think that the error appeared after I cleaned Xcode with CleanMyMacX, before that the preview worked. -MacBook Pro (15-inch, Mid 2012) -macOS Catalina 10.15.7 -Xcode 12.3 Thanks for the feedback!
1
0
149
2w