Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

How to symbolize memory graph if symbols is not compiled into application
To reduce the app size, the application dmg file does not contains the symbols in it. But when we meet memory issue, I use "leaks 'appName' --outputGrap =memoryLeak.memgraph" to get a memory graph Because there is no symbols contained the application, there is no function names(module names) which allocate the memory from the memory graph. But, we save the symbols as separate .dSYM files when compile, Is there any way to use the .dSYM files to symbolize the memory graph in this case ?
0
0
265
Oct ’24
Xcode does not see devices although finder does see them
I was using a version of Xcode and macOS that wasn't fully updated. When I tried to deploy my app to my phone I got the following error message "IOS Version Incompatible with Xcode version". At that time Xcode recognized my device. I updated my mac and updated Xcode. Then everything was fully up to date but now Xcode cannot see my device. I have tried with multiple different devices and it does not see any of them although finder recognizes all of them. I have tried the following so far: Every single suggestion from the tack overflow post: "Xcode does not see my iOS device but iTunes does" Ensured developer mode is turn on on my iPhone Restarted my iPhone and mac Deleted and reinstall xcode Tried a brand new empty Xcode project Reinstalled command line developer tools Restarted usbmuxd Deleted derived data Removed all vpns tried different usb cables (I am pretty sure the cable shouldn't be the problem though since this cable was working when Xcode and my iOS version wasn't compatible) Reset trust settings on my iPhon Tried manually adding my device to device and simulators but it says no devices found I opened up console on my mac and saw the following output "error 20:08:46.847760-0700 managedappdistributiond Simulator is not supported" I do not understand what is going wrong for me right now. I cannot think of nor find any other solutions right now.
1
0
559
Sep ’24
Could not build obective-c module error for Swift Code
Setup: PLATFORM AND VERSION: iOS Development environment: Xcode Version 16.0 (16A242d), macOS 14.6.1 Run-time configuration: iOS 15-18 tried with same error. When building the app despite the fact it's pure Swift code getting error: CaPark.swift file is here: import Foundation class CarPark: Identifiable, Decodable { var carParkId: String var address: String var totalLots: String var lotsAvailable: String? var lotType:String var lat: Double var lng: Double var couponEps: String var agency: String } Issue seems like started after xcode update to version mentioned above. What i've tried: Clean ups Reinstallation of Xcoce Rollback to previous versions of Xcode Start clean project from VCS App is published and multiple versions were uploaded to AppStore, this problem is new and came out of nowhere. Let me know if additional info is required. Thank you!
1
0
353
Oct ’24
Looking to Make a Unity Plugin for VisionOS
I'm using Unity to create a VisionOS project. Using Polyspatial. I want to be able to use WeatherKit. I can not seem to create a VisionOS plugin in Unity. I've found all sorts of resources for building one for iOS. I made small changes to convert to VisionOS, but no matter what I do, I get 'Undefined Symbol' errors when I try to build the XCode project. Most recently I used this github for reference https://github.com/Robert-96/unity-swift/tree/main Am i trying to do something that just isn't possible for VisionOS?
0
0
251
Sep ’24
Apple Developer Support is extremely slow
My ticket 102416056647 about the organization update and app transfer hasn't received any updates for 4 days. I'm stuck with providing documents. I uploaded them via the link they provided, but they said they didn't receive anything, so they suggested I re-upload them. However, the link had already closed, so I sent the documents directly via email. Now, I just need to know if the documents were successfully received. After that, they can take their time to verify them. But such a response feels like a luxury. Each reply takes 2-3 days from my last email, and since they don't work on weekends, we only exchange 1 email per week, maybe 2 if I'm lucky. The process I mentioned earlier took 2 weeks. Also, I tried to contact them via the Apple Support page by phone, but the phone field only supports certain prefixes (+86, +65, etc.), while I'm in Vietnam (+84). Is this intentional? This is not how a technology company should operate. Things need to move quickly, not the other way around.
0
0
328
Oct ’24
Downloading Xcode 16.0 related runtimes on CI
I'm trying to get our CI working to build our own machine image AMI descriptions. Part of that is to download the correct runtime versions so that we can pre-create the simulators we use for testing on these machine image descriptions. When running the code like xcodebuild -downloadPlatform <platform> -exportPath "$<temp_folder_path>" Locally I get a result and download a runtime, but on CI I just get All available platforms are downloaded. Why is this message happening and how can I specify specific platforms to download over CI to configure our machine setup?
0
0
305
Oct ’24
“Unable to check for update” ios 18
Hi I am on an iphone 15 pro (US version) running ios 18 build number 22A5282m and the software update page of settings says that beta updates are off (cannot be turned on (there are no public or developer beta options either)) and the main page displays this error message: “Unable to Check for Update An error occurred while checking for a software update. Try Again“ <— in blue i tried to put my device into recovery mode to restore but it just started bootlooping and only stopped when i let go of the power button. next was the factory reset. i completely emptied the phone and set it up again. i restored from an earlier backup but the problem still remained. I am unable to update and my battery life is really suffering (3-4h of screen on time. Background app refresh and location services are turned off and low power mode is turned on) any ideas would be appreciated thanks
0
0
454
Sep ’24
Enrollment
I signed up and entered my Apple ID. I completed the registration process and paid $99 through the enroll link. All steps are done correctly. And at the end, the message that the payment will be completed in the next 2 working days was displayed, and at the same time, an email was sent to me that I have to wait for 2 working days. But after several days, no email has been sent to me to complete the registration. And my registration is still pending. I would be grateful if my friends could guide me on what to do.
0
0
214
Oct ’24
Hang Reports Don't Add up to 100%
We have noticed that the hang reports provided in Xcode include the percentage of hang time, which are used to sort from high to low (effectively sorting by priority). However when adding these percentages up we do not get 100%. For newer releases the total may be quite low (5-20%) but even for older releases we only get up to around 85%. Are there reports we are missing? Is there a threshold or something that lower percentage reports are not hitting? Any level of understanding here would be appreciated!
0
0
412
Sep ’24
Xcode | how to debug with iPhone in LAN
We're developing iOS apps on Xcode. Because of the rules, **our computers can't get online or connect to real devices through USB. ** But we can connect to the internal cloud real-device platform through the internal network. The cloud real-device platform is actually some centrally managed iPhones or iPads (not through simple Wi-Fi but a wired network). We can now remotely operate these phones for testing (though there's quite a lot of lag), but for development, we hope to be able to use these phones for debugging, like ADB. That would improve efficiency a lot. According to the feedback, the lower versions of Xcode and phones can achieve this function through USBMuxD, but for iOS 17, Xcode 15 and the newer versions, it can't be done for now. Here are two questions: Is there a management plan for iPhone cloud real devices? We hope to be able to use the cloud real devices smoothly in the local area network. Is there a plan for Xcode to debug real devices through the local area network instead of relying on Wi-Fi? Thanks
0
0
364
Oct ’24
Incremental build changes in Xcode 16?
Hi there! Was there a change in Xcode regarding incremental builds / updating an active Simulator with a new build? We use xcodebuild to manage our internal build framework and out of the sudden, incremental builds are not launched anymore and the Simulator is stuck waiting for the new build to be launched. This was not happening for the last 10+ years. If there is an xcodebuild flag and/or guide of this new behavior, it would help a lot. Thanks everyone!
0
0
498
Sep ’24
Apple Developer Account Purchase Stuck in Progress for 4 Days
Hi everyone, I recently made a purchase for my Apple Developer Account, and while I can see the transaction in my bank and have also received an email confirmation from Apple, my account status is still showing “In Progress” after almost 5 days. What’s worrying me is that some of my friends/colleagues who made the payment at the same time got their accounts activated almost immediately, while mine is still stuck. I’ve already reached out to Apple Support, but so far, I haven’t had any luck resolving the issue. Has anyone else experienced this kind of delay? Is there anything specific I should do, or should I just keep waiting it out? Thanks in advance for any advice or suggestions! Best, Erris
0
0
165
Sep ’24
Cannot launch a new app on any device running iOS 17.6+ through Xcode 15.4
The developer disk image could not be mounted on this device. Domain: com.apple.dt.CoreDeviceError Code: 12040 Failure Reason: A networking error occurred. User Info: { DDIPath = "/Library/Developer/DeveloperDiskImages/iOS_DDI.dmg"; DVTErrorCreationDateKey = "2024-09-06 21:03:42 +0000"; DeviceIdentifier = "B95A4B0D-16F7-4267-9F90-ED9808A4D0B6"; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; NSURL = "file:///Library/Developer/DeveloperDiskImages/iOS_DDI.dmg"; Options = { MountedBundlePath = "file:///private/var/tmp/CoreDevice_DDI_Staging_501/B95A4B0D-16F7-4267-9F90-ED9808A4D0B6/"; UseCredentials = 0; }; "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI; } -- The developer disk image could not be mounted on this device. Domain: com.apple.dt.CoreDeviceError Code: 12040 Failure Reason: A networking error occurred. User Info: { DDIPath = "/Library/Developer/DeveloperDiskImages/iOS_DDI.dmg"; DeviceIdentifier = "B95A4B0D-16F7-4267-9F90-ED9808A4D0B6"; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; NSURL = "file:///Library/Developer/DeveloperDiskImages/iOS_DDI.dmg"; Options = { MountedBundlePath = "file:///private/var/tmp/CoreDevice_DDI_Staging_501/B95A4B0D-16F7-4267-9F90-ED9808A4D0B6/"; UseCredentials = 0; }; "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI; } -- A networking error occurred. Domain: com.apple.dt.CoreDeviceError Code: 4 -- Error mounting image: 0xe800010e (kAMDMobileImageMounterNetworkNotReachableError: A network error occurred (server not reachable).) Domain: com.apple.mobiledevice Code: -402652914 User Info: { FunctionName = AMDeviceRemoteMountPersonalizedBundle; LineNumber = 2145; } -- AMAuthInstallRequestSendSync failed: 11 (kAMAuthInstallErrorServerNotReachable) Domain: com.apple.mobiledevice Code: -402652914 User Info: { FunctionName = "-[PersonalizedImage mountImage:]"; LineNumber = 2042; } -- Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : { "device_isCoreDevice" = 1; "device_model" = "iPhone15,4"; "device_osBuild" = "17.5.1 (21F90)"; "device_platform" = "com.apple.platform.iphoneos"; "dvt_coredevice_version" = "397.19"; "dvt_mobiledevice_version" = "1759.0.4"; "launchSession_schemeCommand" = Run; "launchSession_state" = 1; "launchSession_targetArch" = arm64; "operation_duration_ms" = 1260690; "operation_errorCode" = 4; "operation_errorDomain" = "com.apple.dt.CoreDeviceError.12040.com.apple.dt.CoreDeviceError"; "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_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_memoryGraphOnResourceException" = 0; "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_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" = 8192; "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" = "iphoneos17.5"; "sdk_osVersion" = "17.5"; "sdk_variant" = iphoneos; } -- System Information macOS Version 14.5 (Build 23F79) Xcode 15.4 (22622) (Build 15F31d) Timestamp: 2024-09-06T14:03:42-07:00
1
0
518
Sep ’24
I have a issue for enrollment apple developer
hello sir i am student or i am apple developer i want to sell my app because i have created ios app but i am school student i am not any business or organization i am just a school or i do not have pass duns number i have to enroll For this I have to do my enrollment in educational institution accredited but it is asking for DUNS number or I do not have the pass so I request you to provide me DUNS number so that I can enroll or sell my app please I request you provide me...
0
0
155
Sep ’24