Build, test, and submit your app using Xcode, Apple's integrated development environment.

Xcode Documentation

Posts under Xcode subtopic

Post

Replies

Boosts

Views

Activity

Xcode 16.1 (23503) keeps crashing on launch DVTPlugInManager
After upgrading to Xcode 16.1 the IDE does crash on launching, using Xcode 16.1 is not possible. When 1st launching Xcode 16.1 it asks to activate the plug-ins, after agreeing it crashes. All subsequent launches do crash with this report. This is the same issue when Xcode 15 was release, subsequent releases fixed this. See here https://forums.developer.apple.com/forums/thread/738097 Translated Report (Full Report Below) Process: Xcode [14193] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 16.1 (23503) Build Info: IDEApplication-23503000000000000~2 (16B40) App Item ID: 497799835 App External ID: 869932297 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2024-11-02 17:46:02.4767 +0100 OS Version: macOS 15.1 (24B83) Report Version: 12 Anonymous UUID: 794C407F-4930-BAA9-C41E-64C157CC3277 Sleep/Wake UUID: 0CF56A77-6F81-448D-9093-9461EE187F08 Time Awake Since Boot: 51000 seconds Time Since Wake: 7243 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Xcode [14193] Application Specific Information: abort() called Application Specific Signatures: 0 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x194f76600 __pthread_kill + 8 1 libsystem_pthread.dylib 0x194faef70 pthread_kill + 288 2 libsystem_c.dylib 0x194ebb908 abort + 128 3 IDEKit 0x10610cdb8 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 964 4 IDEKit 0x10610d248 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 876 5 DVTFoundation 0x1022cc040 _DVTAssertionHandler + 424 6 DVTFoundation 0x1022cc1c0 _DVTAssertionFailureHandler + 196 7 DVTFoundation 0x10241b454 -[DVTPlugInManager _registerPlugInsFromScanRecords:] + 2412 8 DVTFoundation 0x1024192fc -[DVTPlugInManager _createPlugInObjectsFromScanRecords:] + 228 9 DVTFoundation 0x102417664 __52-[DVTPlugInManager _recordNonApplePlugInDescriptor:]_block_invoke + 92 10 DVTFoundation 0x102417c2c -[DVTPlugInManager _allowNonApplePlugInsFromDescriptors:error:] + 304 11 DVTFoundation 0x102417e14 -[DVTPlugInManager _checkNonApplePlugIns] + 204 12 DVTFoundation 0x102417ef0 -[DVTPlugInManager initializePlugIns:] + 20 13 IDEFoundation 0x10a7a8cac IDEInitialize + 6632 14 IDEKit 0x1060e45dc -[IDEApplicationController applicationWillFinishLaunching:] + 364 15 CoreFoundation 0x19508a800 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 148 16 CoreFoundation 0x19511b66c ___CFXRegistrationPost_block_invoke + 88 17 CoreFoundation 0x19511b5b4 _CFXRegistrationPost + 436 18 CoreFoundation 0x19505943c _CFXNotificationPost + 732 19 Foundation 0x196201b14 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88 20 AppKit 0x198bb2d30 -[NSApplication finishLaunching] + 248 21 AppKit 0x198bb29fc -[NSApplication run] + 252 22 IDEKit 0x1060dc798 -[IDEApplication run] + 60 23 AppKit 0x198b89364 NSApplicationMain + 888 24 dyld 0x194c2c274 start + 2840 Thread 1:: Dispatch queue: ConcurrentQueue: -[DVTPlugInManager _savePlugInCacheWithScanRecords:error:]block_invoke 0 libsystem_kernel.dylib 0x194f71d6c __unlink + 8 1 libsystem_kernel.dylib 0x194f71d48 unlink + 16 2 libremovefile.dylib 0x1a2a5b75c __removefile_tree_walker + 392 3 libremovefile.dylib 0x1a2a5b548 removefile + 340 4 Foundation 0x1964995f8 specialized static FileOperations.removeFile(::with:) + 224 5 Foundation 0x196762570 specialized String.withFileSystemRepresentation(:) + 308 6 Foundation 0x19635f0f8 @objc _NSFileManagerBridge.removeItem(atPath:) + 136 7 DVTFoundation 0x10241c5b4 DVTPlugInManager_removePlugInCacheAtPath + 40 8 DVTFoundation 0x10241cb68 __58-[DVTPlugInManager _savePlugInCacheWithScanRecords:error:]_block_invoke_2 + 224 9 DVTFoundation 0x1023de414 DVT_CALLING_CLIENT_BLOCK + 16 10 DVTFoundation 0x1023dee3c __DVTDispatchAsync_block_invoke + 152 11 libdispatch.dylib 0x194dfa8f8 _dispatch_call_block_and_release + 32 12 libdispatch.dylib 0x194dfc658 _dispatch_client_callout + 20 13 libdispatch.dylib 0x194dffb08 _dispatch_continuation_pop + 596 14 libdispatch.dylib 0x194dff138 _dispatch_async_redirect_invoke + 580 15 libdispatch.dylib 0x194e0e314 _dispatch_root_queue_drain + 392 16 libdispatch.dylib 0x194e0eb20 _dispatch_worker_thread2 + 156 17 libsystem_pthread.dylib 0x194fab39c _pthread_wqthread + 228 18 libsystem_pthread.dylib 0x194faa0f0 start_wqthread + 8 Thread 2: 0 libsystem_pthread.dylib 0x194faa0e8 start_wqthread + 0 Thread 3: 0 libsystem_pthread.dylib 0x194faa0e8 start_wqthread + 0
0
0
606
Nov ’24
__isPlatformVersionAtLeast SIGABRT (ABORT)
I am working on a cross-platform application, and we recently released updates for our apps. We received a large number of crashes in our Crashlytics logs. All the crashes seem to occur in the APM submodule classes with "__isPlatformVersionAtLeast SIGABRT (ABORT)." While checking the Crashlytics event summary details, I found that the crashes happen during the execution of the didFinishLaunchingWithOptions function in the AppDelegate. didFinishLaunchingWithOptions: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { //Firebase [FIRPerformance sharedInstance].instrumentationEnabled = 0; [FIRApp configure]; NSDictionary *props = @{ @"TESTING": @"iOS", @"Date": [NSDate date] }; //Clevertap [[CleverTap sharedInstance] setInAppNotificationDelegate:self]; [[CleverTap sharedInstance] setPushNotificationDelegate:self]; NSString *appPath = [[NSBundle mainBundle] bundlePath]; NSLog(@"appPath ------ %@",appPath); // Config an additional instance NSLog(@"multiple instance registration"); CleverTapInstanceConfig *ctConfig = [[CleverTapInstanceConfig alloc] initWithAccountId:@"TEST*******" accountToken:@"TEST*****"]; NSLog(@"multiple instance registration %@",ctConfig); CleverTap *additionalCleverTapInstance = [CleverTap instanceWithConfig:ctConfig]; [AEPMobileCore setLogLevel:AEPLogLevelDebug]; [AEPMobileCore configureWithAppId:@"99********"]; return YES; } Podfile: pod 'Firebase/Analytics' pod 'Firebase/Auth' pod 'Firebase/Crashlytics', '10.28.1' pod 'FirebasePerformance', '10.28.0' pod 'FirebaseRemoteConfig' pod 'CleverTap-iOS-SDK', '6.2.1' Stack Trace: Crashed: APMIdentityWorkerQueue 0 libsystem_kernel.dylib 0xc274 __pthread_kill + 8 1 libsystem_pthread.dylib 0x7ef8 pthread_kill + 268 2 libsystem_c.dylib 0x77ad8 abort + 128 3 libsystem_malloc.dylib 0x9c38 malloc_vreport + 896 4 libsystem_malloc.dylib 0x98a8 malloc_report + 64 5 libsystem_malloc.dylib 0x8e80 find_zone_and_free + 528 6 App 0xfe574 (Missing UUID 0faca6be3dbe3121a960c0897cece480) 7 App 0xf7e04 (Missing UUID 0faca6be3dbe3121a960c0897cece480) 8 App 0xfc250 (Missing UUID 0faca6be3dbe3121a960c0897cece480) 9 App 0xfbbec (Missing UUID 0faca6be3dbe3121a960c0897cece480) 10 App 0x2b4d00 (Missing UUID 0faca6be3dbe3121a960c0897cece480) 11 App 0x2bed74 (Missing UUID 0faca6be3dbe3121a960c0897cece480) 12 App 0x18344c (Missing UUID 0faca6be3dbe3121a960c0897cece480) 13 libsystem_pthread.dylib 0x7ef8 pthread_kill + 268 14 App 0x28354fc __isPlatformVersionAtLeast + 4384462076 15 ??? 0x3015b5920 (Missing) 16 ??? 0xd5e00078c (Missing) 17 ??? 0x1f058ed (Missing) APMExperimentWorkerQueue 0 libsqlite3.dylib 0x815f0 sqlite3_table_column_metadata + 2400 1 libsqlite3.dylib 0x13b2c sqlite3_exec + 46032 2 libsqlite3.dylib 0xaae0 sqlite3_exec + 9092 3 libsqlite3.dylib 0x9ac8 sqlite3_exec + 4972 4 libsqlite3.dylib 0x9158 sqlite3_exec + 2556 5 libsqlite3.dylib 0x12830 sqlite3_exec + 41172 6 libsqlite3.dylib 0x11f20 sqlite3_exec + 38852 7 libsqlite3.dylib 0x11e64 sqlite3_exec + 38664 8 libsqlite3.dylib 0xb14bc sqlite3_sourceid + 132108 9 libsqlite3.dylib 0xd130 sqlite3_exec + 18900 10 libsqlite3.dylib 0xc224 sqlite3_exec + 15048 11 libsqlite3.dylib 0x9ac8 sqlite3_exec + 4972 12 libsqlite3.dylib 0x9158 sqlite3_exec + 2556 13 libsqlite3.dylib 0x8d30 sqlite3_exec + 1492 14 App 0x58249c -[APMSqliteStore prepareSQL:error:] + 4339819676 15 App 0x58295c -[APMSqliteStore validateDatabaseWithError:] + 4339820892 16 App 0x58289c -[APMSqliteStore openAndValidateDatabase:] + 4339820700 17 App 0x57ecbc -[APMSqliteStore initWithDatabasePath:error:] + 4339805372 18 App 0x505ae4 -[APMEDatabase initializeDatabaseResourcesWithContext:databasePath:] + 4339309284 19 App 0x505a0c -[APMEDatabase initWithPath:] + 4339309068 20 App 0x50d294 -[APMETaskManager startTaskManagerOnWorkerQueue] + 4339339924 21 App 0x50d24c __35-[APMETaskManager startTaskManager]_block_invoke + 4339339852 22 App 0x50e578 __46-[APMETaskManager dispatchAsyncOnWorkerQueue:]_block_invoke + 4339344760 23 libdispatch.dylib 0x213c _dispatch_call_block_and_release + 32 24 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20 25 libdispatch.dylib 0xb400 _dispatch_lane_serial_drain + 748 26 libdispatch.dylib 0xbf30 _dispatch_lane_invoke + 380 27 libdispatch.dylib 0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288 28 libdispatch.dylib 0x16528 _dispatch_workloop_worker_thread + 404 29 libsystem_pthread.dylib 0x4934 _pthread_wqthread + 288 30 libsystem_pthread.dylib 0x10cc start_wqthread + 8 Deployment version: 12.2 Could anyone know the above issue?
0
1
332
Oct ’24
iOS 18 Simulator and CloudKit
I am running Xcode Version 16.0 (16A242d) and in the process of testing an app I developed that uses CoreData and CloudKit. When running my app in an iPhone 16 Pro simulator using iOS 18, it does not sync with cloudKit. If I run it in an iPhone 15 Pro simulator using iOS 17.5 it syncs fine with CloudKit. Has anyone else encountered this issue, or have I done something wrong in my setup. Thanks for any help Mike
0
0
277
Oct ’24
App crashing in MacOs 10.15, xcode 16, but working in Sonoma's xcode16
Hello. I don't even know where to start. We have a React Native application with some native modules that have never been an issue. The app was working under Sonoma Xcode16, yesterday I autoupdated my MacOS to Squoia, and the application won't build using the newest Xcode16 and Xcode command line tools. The builds system crashes in the middle of building the app and throws a really vague description: unexpected service error: The Xcode build system has crashed. Build again to continue. I Post the report summary (without the kernel triage), since I can't find what's wrong after updating most of my libraries... ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: XCBBuildService [95423] Path: /Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/MacOS/XCBBuildService Identifier: com.apple.dt.XCBBuildService Version: 1.0 (23000.1.226) Build Info: XCBuild-23000001226000000~21 (16A242d) Code Type: ARM-64 (Native) Parent Process: Xcode [73582] Responsible: Xcode [73582] User ID: 501 Date/Time: 2024-09-19 18:13:24.6355 -0600 OS Version: macOS 15.0 (24A335) Report Version: 12 Anonymous UUID: 43B52D98-515B-9112-EEEB-8F7C77E1126D Sleep/Wake UUID: 95C65D73-8F98-45C7-BF7A-5799C9E1CAA4 Time Awake Since Boot: 130000 seconds Time Since Wake: 27974 seconds System Integrity Protection: enabled Crashed Thread: 11 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: XCBBuildService [95423] Application Specific Information: abort() called Thanks in advance. Edit: already tried with this, which is indeed a library I am using, but still keeps crashing: Stack Overflow Solution based on some library update
0
1
417
Sep ’24
Download & replace app container
I used to download and replace the app container when I was testing, essentially downloading the container from the live app, and restoring it into the test app in order to not affect the live app, but to test major changes on "live" data. it seems the option for downloading and replacing in Xcode no longer works, I will sometimes get a container downloaded, other times it only part downloads. I can never seem to get it to replace. No errors, but it doesn't work on the new device. It used to be that devices & simulators showed when it was downloading and replacing but it no longer does that. Is there another way of doing this? Currently I'm having to take a backup of the live phone, restore on the test device, then delete all the unneeded apps, otherwise the restore takes ages, then backup the test device and restore every time I need to restart.
0
1
245
Nov ’24
statusBarFrame error
Using an iPhone 16 Pro Max, running [UIApplication sharedApplication].windows.lastObject.windowScene.statusBarManager.statusBarFrame.size.height in Xcode 15 returns a result of 44, causing UI display issues for applications that rely on the status bar height for calculations. However, using Xcode 16, the same code returns a height of 54, and the UI displays correctly. Is this an Apple Please acknowledge this bug, Apple.
0
2
563
Sep ’24
How to correctly resolve URL bookmarks for use in Simulator UI tests?
To make UI testing easier and faster, I usually create URL bookmarks during normal app usage in the Simulator so that they can be instantly resolved on app launch during UI tests. For example, one of my apps allows browsing selected folders and stores bookmarks so they can be quickly opened again on following app launches, and instead of selecting the test folder each time at the beginning of the UI test, I select it once during normal app usage so that it's available immediately during the UI test. This usually works fine, but every now and then the UI tests fail because the tested app isn't able to resolve the stored bookmark. I don't know why this happens, but usually opening and closing the app again in the Simulator and re-running the UI tests solves the issue. The problem now is that I've just tried to setup some new UI tests for Apple Vision Pro Simulator and I'm never able to resolve bookmarks. So I created a sample project that reproduces the issue, and curiously enough the bookmarks don't even resolve when using an iPad Simulator (which usually works fine with my regular UI tests). What am I doing wrong? This can be reproduced with a default iOS project, embedding the default storyboard view controller in a navigation view controller, and this code: import UIKit class ViewController: UIViewController, UIDocumentPickerDelegate { override func viewDidLoad() { navigationItem.rightBarButtonItem = UIBarButtonItem(systemItem: .add, primaryAction: UIAction(handler: { _ in let picker = UIDocumentPickerViewController(forOpeningContentTypes: [.folder]) picker.delegate = self self.present(picker, animated: true) })) if let bookmark = UserDefaults.standard.data(forKey: "bookmark") { readBookmark(bookmark) } } func readBookmark(_ bookmark: Data) { do { let label = UILabel(frame: CGRect(x: 100, y: 100, width: 600, height: 100)) label.numberOfLines = 0 var stale = false let url = try URL(resolvingBookmarkData: bookmark, bookmarkDataIsStale: &stale) if !url.startAccessingSecurityScopedResource() { fatalError() } label.text = url.path view.addSubview(label) } catch { fatalError(error.localizedDescription) } } func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL]) { do { let url = urls[0] if !url.startAccessingSecurityScopedResource() { fatalError() } let bookmark = try url.bookmarkData() UserDefaults.standard.set(bookmark, forKey: "bookmark") readBookmark(bookmark) } catch { fatalError(error.localizedDescription) } } } And a default UI test, which always crashes because of the fatalError() in the catch clause of readBookmark(_:): final class problemUITests: XCTestCase { @MainActor func testExample() throws { let app = XCUIApplication() app.launch() } }
0
0
368
Oct ’24
What are the model identifiers for the iPhone 16 Pro and iPhone 16 Pro Max?
What are the model identifiers for the iPhone 16 Pro and iPhone 16 Pro Max? static func getiPhoneType() -> String { var systemInfo = utsname() uname(&systemInfo) let machineMirror = Mirror(reflecting: systemInfo.machine) let identifier = machineMirror.children.reduce("") { identifier, element in guard let value = element.value as? Int8, value != 0 else { return identifier } return identifier + String(UnicodeScalar(UInt8(value))) } return identifier } Does anyone have a real device to run the code and provide the information for the iPhone 16 Pro and iPhone 16 Pro Max?
0
1
552
Sep ’24
Example of creating NSView with custom bindings
Does anyone know where I can find an example of creating a NSView subclass with custom bindings. I need to be able to bind to the object in interface builder. This is the only reference in Apple documents but as is often the case there appear to be no examples. https://developer.apple.com/documentation/objectivec/nsobject/nskeyvaluebindingcreation
0
0
186
Oct ’24
MULTIPLE problems with XCode
I am encountering multiple problems deploying an app using Xcode. First, I could not install Xcode from the App Store. I tried multiple times, rebooting etc. Finally I found a link to download an xip file from the developer site and unzip it. That worked. It took 2 hours. Now I'm trying to build my app. I get a message saying IOS 18.1 not installed. I try clicking on it an select Manage Run Destinations. It brings me to the Devices popup screen but I am unable to select anything. I tried setting up a Simulator as well. Still unable to select a desitiation. So then I tried updating my IPAd to IOS 18.1 thinking that might help. Big mistake. First I got a message saying some library were incompatible. Now I have a message saying Unknown Error. Disconnect and reconnect cables which I have done multiple times. This of course includes multiple times of clicking trust this device, then entering device password, then entering the auth code. They don't make it easy. I tried clicking the Get for IOS 18.1. I really don't want to update my machine to this. I'm actually using a friend's MAC. When I did this it tells me it requires 8gb and I don't have enough disk space. But I do have 20gb available. So about 4 hours of trying and nothing works. Two hours to install Xcode, can't select a different destination, can't connect my IPAd anymore, can't download the update. Not even sure why the device or destination is necessary. It's not necessary to build the same app for Android. I had similar issues with XCode in my initial attempts just to get the app signed until I figured out that I needed to have a device attached for the provisioning to work. That took days including trying to find a UDID from ITunes(???) and other wild goose chases. That makes no sense whatsoever. Now I can't even do that. So I guess my question is/are: Do I have a new buggy version of XCode and if so, how do I get a previous one? How do I select a different destination? How do I get past the IOS 18.1 requirement? How do I download IOS 18.1 if that's what I decide to do? How do I connect my IPad? Can I go back to previous OS on IPad if 18.1 doesn't work with XCode? How do I do certificate provisioning if I can't connect my IPad? Other than that everything works great.
0
0
396
Oct ’24
Continuous Devicectl Errors: CoreDeviceError 3002, 12010, and 1000 with iOS 18.1/iPadOS18.0
Hello, I’ve been experiencing repeated errors when trying to install my app via flutter run --release on iOS devices using Xcode 16.1 (build 16B5014f) on macOS 15.1. When running the app in debug mode, it sometimes works but takes a long time to install. However, the installation in release mode fails consistently. This issue occurs on both my iPhone and iPad, both running iOS 18.1 and iPadOS 18, respectively. The errors keep rotating between three variations: Error 1: CoreDeviceError 3002 Error executing devicectl: ProcessException: Process exited abnormally with exit code 1: ERROR: Failed to install the app on the device. (com.apple.dt.CoreDeviceError error 3002 (0xBBA)) Connection with the remote side was unexpectedly closed : "XPCErrorDescription" => "Connection interrupted" Error 2: CoreDeviceError 12010 Error executing devicectl: ProcessException: Process exited abnormally with exit code 1: ERROR: The developer disk image could not be unmounted on this device. (com.apple.dt.CoreDeviceError error 12010 (0x2EEA)) Could not read from the device. (com.apple.dt.CoreDeviceError error -402653180 (0xE8000004)) Error 3: CoreDeviceError 1000 Error executing devicectl: ProcessException: Process exited abnormally with exit code 1: ERROR: The specified device was not found. (com.apple.dt.CoreDeviceError error 1000 (0x3E8)) What I've Tried So Far: Reinstalled Xcode, cleaned the build folder, and cleared DerivedData. Tried using both an iPhone and an iPad running iOS 18.1 and iPadOS 18.0. Ensured that Developer Mode is enabled on both devices. Disabled VPNs (Bitdefender) and firewall settings. Manually mounted the developer disk image via Xcode. Restarted the Mac, Xcode, and devices multiple times. Despite these steps, the errors persist, and I’m unable to install the app on either device. I would appreciate any guidance or suggestions on how to resolve this issue. System Information: macOS Version: 15.1 (Build 24B5055e) Xcode Version: 16.1 (Build 16B5014f) Devices: iPhone 14 running iOS 18.1, iPad running iPadOS 18.0 Thank you in advance!
0
1
1k
Sep ’24
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
529
Oct ’24
Sorting source code files in Xcode's navigator
Since Xcode 16 sorting source code files in the navigator with ascending order by name results in: A.hpp A.cpp B.hpp B.cpp ... Previous versions of Xcode sorted the files correctly (with respect to ascending order): A.cpp A.hpp B.cpp B.hpp Is this a bug or is there any parameter I have to set to get the old ordering back?
0
1
320
Oct ’24
Issue of viewing MPSGraph compiled for iOS platform
We convert a .onnx file to mpsgraphpackage for iOS deploymentPlatform with command “Mpsgraphtool convert -deploymentPlatform iOS -minimumDeploymentTarget17.0.0 model.onnx -path .” When open output.mpsgraphpackage with Xcode16, there are only “generic” and “ Apple M2(MTLDevice)” options in the “Device” selection list. Cannot find any option for iOS device. How can we view mpsgraph compiled for iOS platform? We use Xcode16 on a MacBook Pro M2 with macOS 15.
0
0
504
Oct ’24
dyld[53510]: Symbol not found - React Native app issue with running on real device
I develop React Native app with dynamically linked pods, and app runs on simulator well, while running it on connected device returns this error: dyld[53510]: Symbol not found: __ZN5swift39swift51override_conformsToSwiftProtocolEPKNS_14TargetMetadataINS_9InProcessEEEPKNS_24TargetProtocolDescriptorIS1_EEN7__swift9__runtime4llvm9StringRefEPFPKNS_35TargetProtocolConformanceDescriptorIS1_EES4_S8_SC_E Referenced from: <4A3492BF-0479-3124-BE58-05BAED71BB20> /private/var/containers/Bundle/Application/0D9FDF5C-BBC9-4060-972B-B2D6FD91E321/BFF.app/Frameworks/Framework1 Expected in: <0549B906-CB15-3735-AA15-FAEB5F687C8B> /private/var/containers/Bundle/Application/0D9FDF5C-BBC9-4060-972B-B2D6FD91E321/BFF.app/Frameworks/Framework2 I already tried different things: Different versions of IPHONEOS_DEPLOYMENT_TARGET Ensured that all dependencies using same Swift version Different linking Tested on different devices and iOS versions Standard cleaning of derived data and reinstalling podfiles also included BUILD_LIBRARY_FOR_DISTRIBUTION="YES" ENABLE_BITCODE="NO"
0
0
460
Oct ’24
Cannot remove languages from Swift string catalog
I've got quite a problem as I've created a Localizible file with String catalog for my iOS app. For testing it out I've added lots of different languages and they all appeared in App settings. However, I need to remove most of them and they are still visible in the settings. What I tried so far: I have deleted EVERYTHING that had word localizable, localizations and etc. From Project Info also all the languages were removed and left only English and French. I also deleted my app, restarted the phone, downloaded the version without localizations from the app store and then install debug version (languages still appeared)
0
1
528
Oct ’24
Is "remotepairingd" Xcode-related?
Is remotepairingd part of Xcode? It seems to be stuck using 119% CPU. This may have started when I recently paired my new Apple Watch with Xcode - or maybe that is a coincidence. The console is full of: error 16:40:26.237601+0000 remotepairingd socket-1: No more data can be received, connection was closed
0
0
539
Dec ’24