Organizer Window

RSS for tag

Upload apps and view performance metrics and diagnostics in the Organizer window in Xcode.

Posts under Organizer Window tag

55 Posts
Sort by:
Post not yet marked as solved
4 Replies
136 Views
I'm trying to notarize an Objective-C app I've written in Xcode 15. However, when I archive the app, it is listed as a "Generic Xcode Archive" instead of an "app archive", so it can't be validated/distributed. I've tried following all the steps in this article: https://developer.apple.com/documentation/technotes/tn3110-resolving-generic-xcode-archive-issue My skip_install is set to NO. My app's dependencies don't show up under "Targets" so I couldn't check the skip_install setting for them. My linked libraries don't use a headers build phase. My install_path is set to $(LOCAL_APPS_DIR). Why am I not getting an "app archive"?
Posted
by toprads.
Last updated
.
Post not yet marked as solved
27 Replies
4.7k Views
I recently updated to Xcode 15.0 and seem to be encountering permissions related errors after using the Replace Container function to replace an app container. Similarly, editing the current run scheme and choosing a new App Data container fails with an identical error. It seems like the Documents directory and other similar directories are blocked from being able to write. Here is an example of what appears in the log after replacing the container: Failed to create directory /var/mobile/Containers/Data/Application/A3C32E7A-34F3-4C69-B037-478027F2A4AC/Library/Preferences because of 13. Couldn't write values for keys ( "/google/measurement/app_instance_id" ) in CFPrefsPlistSource<0x280a82760> (Domain: com.google.gmp.measurement, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): Directory needed os_unix.c:47395: (13) lstat(/private/var/mobile/Containers/Data/Application/A3C32E7A-34F3-4C69-B037-478027F2A4AC/Documents) - Permission denied os_unix.c:47395: (13) lstat(/private/var/mobile/Containers/Data/Application/A3C32E7A-34F3-4C69-B037-478027F2A4AC/Documents/<redacted>.sqlite) - Permission denied os_unix.c:46898: (13) statfs(/private/var/mobile/Containers/Data/Application/A3C32E7A-34F3-4C69-B037-478027F2A4AC/Documents/<redacted>.sqlite) - Permission denied Steps to reproduce: Create a new app and replace -viewDidLoad: with the following. This will write a string to a new file and read that string: NSFileManager * const fileManager = [NSFileManager defaultManager]; NSURL * const documentsDirectoryURL = [[fileManager URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]; if (!documentsDirectoryURL) { [NSException raise:@"DocumentsDirectoryException" format:@"Application documents directory URL is nil"]; } NSURL * const fileURL = [documentsDirectoryURL URLByAppendingPathComponent:@"test.txt"]; if ([fileManager fileExistsAtPath:[fileURL path]]) { NSError *error; if (![[NSFileManager defaultManager] removeItemAtPath:[fileURL path] error:&error]) { [NSException raise:@"DocumentsDirectoryException" format:@"Encountered error removing file: %@",error]; } } NSString * const fileContents = [NSString stringWithFormat:@"Date: %@",[NSDate date]]; NSError *error; if (![[fileContents dataUsingEncoding:NSUTF8StringEncoding] writeToURL:fileURL options:0 error:&error]) { [NSException raise:@"DocumentsDirectoryException" format:@"Encountered error writing to file: %@",error]; } NSString * const writtenFileContents = [[NSString alloc] initWithData:[NSData dataWithContentsOfURL:fileURL] encoding:NSUTF8StringEncoding]; NSLog(@"Written file contents: %@", writtenFileContents); Run the app and observe the log message "Written file contents: ..." Save the app container via Window > Devices & Simulators by clicking the app, clicking the "(...)" button, and then clicking "Download Container..." Use the same procedure in step 3 but instead, click "Replace Container..." and choose the existing app container that was downloaded Run the app again and observe that it fails with the following exception message: *** Terminating app due to uncaught exception 'DocumentsDirectoryException', reason: 'Encountered error writing to file: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “test.txt” in the folder “Documents”." UserInfo={NSFilePath=/var/mobile/Containers/Data/Application/CF1E09C8-7BE2-4D87-8AD2-648AFBE038A5/Documents/test.txt, NSUnderlyingError=0x2831d4d50 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}' Is anyone else encountering this issue and can confirm? Are my next steps to create a bug report? Is there a manner to escalating the bug report? This is a pretty core piece of functionality for QA and testing apps.
Posted Last updated
.
Post not yet marked as solved
1 Replies
126 Views
Xcode 15 crash when distribute xcarchive and uploading testlight device build and test is ok. crash only distrubute or upload testflight. please help. log ------ Translated Report (Full Report Below) Process: Xcode [39575] Path: /Applications/Xcode 15.3.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 15.3 (22618) Build Info: IDEApplication-22618000000000000~2 (15E204a) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2024-04-01 14:29:11.6246 +0900 OS Version: macOS 14.4 (23E214) Report Version: 12 Anonymous UUID: 51D32CCD-BB07-86A9-2641-AAD37E77709C Sleep/Wake UUID: F63E4DBB-7A3B-4452-A404-0127BDB0E06D Time Awake Since Boot: 160000 seconds Time Since Wake: 23531 seconds System Integrity Protection: enabled Crashed Thread: 12 Dispatch queue: com.apple.root.default-qos Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Xcode [39575] Application Specific Information: abort() called Application Specific Signatures: success Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x18f9d21f4 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x18f9e4b24 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x18f9dae34 mach_msg_overwrite + 476 3 libsystem_kernel.dylib 0x18f9d2578 mach_msg + 24 4 CoreFoundation 0x18faf2058 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x18faf091c __CFRunLoopRun + 1208 6 CoreFoundation 0x18faefe0c CFRunLoopRunSpecific + 608 7 HIToolbox 0x19a28b000 RunCurrentEventLoopInMode + 292 8 HIToolbox 0x19a28ae3c ReceiveNextEventCommon + 648 9 HIToolbox 0x19a28ab94 _BlockUntilNextEventMatchingListInModeWithFilter + 76 10 AppKit 0x193348970 _DPSNextEvent + 660 11 AppKit 0x193b3adec -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700 12 DVTKit 0x10573f858 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 300 13 AppKit 0x19333bcb8 -[NSApplication run] + 476 14 DVTKit 0x10573eb24 -[DVTApplication run] + 60 15 AppKit 0x193312f54 NSApplicationMain + 880 16 dyld 0x18f68a0e0 start + 2360 . . . Thread 12 Crashed:: Dispatch queue: com.apple.root.default-qos 0 libsystem_kernel.dylib 0x18f9daa60 __pthread_kill + 8 1 libsystem_pthread.dylib 0x18fa12c20 pthread_kill + 288 2 libsystem_c.dylib 0x18f91fa20 abort + 180 3 IDEKit 0x10a2b7b64 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 972 4 IDEKit 0x10a2b7fa4 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 872 5 DVTFoundation 0x1068aa73c _DVTAssertionHandler + 424 6 DVTFoundation 0x1068aa8bc _DVTAssertionFailureHandler + 196 7 DVTFoundation 0x106770410 +[DVTFilePath _filePathForParent:pathString:] + 512 8 DVTFoundation 0x106770a9c -[DVTFilePath filePathForRelativePathString:] + 48 9 IDEFoundation 0x10bdb9edc -[IDEDistributionProcessingPipelineContext packagePathForVariant:] + 768 10 IDEFoundation 0x10bdd0514 -[IDEDistributionCreateIPAStep name] + 88 11 IDEFoundation 0x10bdb7e40 __98-[IDEDistributionProcessingPipeline observationForPhaseStateChanges:stepIndex:pipelineStepsCount:]_block_invoke + 96 12 DVTFoundation 0x1068b65e4 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:creationBacktrace:withHandlerBlock:] + 380 13 DVTFoundation 0x1068b73ac -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:withHandlerBlock:] + 124 14 IDEFoundation 0x10bdb7d04 -[IDEDistributionProcessingPipeline observationForPhaseStateChanges:stepIndex:pipelineStepsCount:] + 152 15 IDEFoundation 0x10bdb8078 -[IDEDistributionProcessingPipeline processForThinningVariant:distributionItem:stepClass:stepIndex:pipelineStepsCount:error:] + 420 16 IDEFoundation 0x10bdb780c -[IDEDistributionProcessingPipeline process:] + 1132 17 IDEFoundation 0x10bb6c594 -[IDEDistributionPackagingStep loadDrivableFromExportOptions:error:] + 204 18 IDEFoundation 0x10bc342a8 -[IDEDistributionDriver runWithDestinationPath:wantsExportStep:] + 1992 19 IDEFoundation 0x10bef081c closure #1 in RecoverableDistributionDriver.run() + 188 20 IDEFoundation 0x10be84b84 thunk for @escaping @callee_guaranteed @Sendable () -> () + 28 21 libdispatch.dylib 0x18f860750 _dispatch_call_block_and_release + 32 22 libdispatch.dylib 0x18f8623e8 _dispatch_client_callout + 20 23 libdispatch.dylib 0x18f865580 _dispatch_queue_override_invoke + 928 24 libdispatch.dylib 0x18f873ea8 _dispatch_root_queue_drain + 392 25 libdispatch.dylib 0x18f8746b8 _dispatch_worker_thread2 + 156 26 libsystem_pthread.dylib 0x18fa0efd0 _pthread_wqthread + 228 27 libsystem_pthread.dylib 0x18fa0dd28 start_wqthread + 8
Posted
by cistree.
Last updated
.
Post not yet marked as solved
5 Replies
509 Views
I'm submitting an update to an app which was originally submitted in 2008. So, it has one of the "old" app id prefixes, not the Team ID prefix used by newer apps. When I try to validate this app built in Xcode 15 in organizer, I get a warning that the app id prefix in the current store app is changing from the "old" prefix to the new Team ID prefix. I didn't change anything. The App Identifier, Certificates, and Profile are the same that I used last June under Xcode 14. So, there seems to be an issue with Xcode 15. Same issue under 15.0 and 15.2. Anyone know a fix for this? This still works fine in Xcode 14. If I can't come up with a fix, I'll just submit with 14 as that's still valid until April 2024 I think. Regards, Patrick
Posted
by PatrickM.
Last updated
.
Post not yet marked as solved
1 Replies
180 Views
Since yesterday (03/22/24) we are unable to upload new or existing builds to AppStoreConnect. We get the following error - “Error ITMS-90432 Unexpected file found in Frameworks. MyApp.app/Frameworks/Configurations” file is in the Frameworks directory, but the Swift runtime libraries are the only files permitted in that directory. Please remove this file and upload a new build. (ID: 57e219ea-d27e-465d-9e9b-ec41d3a0b1f7). We have tried rebuilding targerts with no changes for Builds that use to upload ok and they now get the same error too. Is this an appstoreconnect bug? If not where is the Frameworks directory and how do we remove the file?
Posted Last updated
.
Post not yet marked as solved
2 Replies
259 Views
I have several apps that contain extensions. For example an App Clip, Widget, Background Assets extension, etc. In Xcode Organizer Version 15.3 (15E204a), attempting to view crash data for these apps results in a failure. I have explicitly seen this error print out the app clip extension bundle identifier, as well as the background assets extension bundle identifier. It says the following error: An error occurred preventing Xcode from downloading crashes list. "" failed with error: Access Restricted with bundle id: com.example.app-name.extension-name Is anyone else experiencing this? I created a feedback a few weeks ago, it seemed to coincide with the release of Xcode 15.3 and or the new App Store Connect metrics APIs. App IDs and bundle identifiers detailed in the feedback if anyone at Apple wants the info. FB13677615 - Xcode: Cannot download crashes for apps that containg extensions --> "Access Restricted with bundle id:
Posted
by edorphy.
Last updated
.
Post not yet marked as solved
6 Replies
447 Views
I'm having problems when trying to submit an app to the store, Xcode closes and shows the error below. What can I do to resolve this? ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: Xcode [73051] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 15.0.1 (22266) Build Info: IDEApplication-22266000000000000~15 (15A507) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2024-02-05 16:56:37.5399 -0300 OS Version: macOS 14.2.1 (23C71) Report Version: 12 Anonymous UUID: E288787F-937B-30DA-DDF8-9B763BA08D01 Time Awake Since Boot: 33000 seconds System Integrity Protection: enabled Crashed Thread: 9 Dispatch queue: com.apple.root.default-qos Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Xcode [73051] Application Specific Information: abort() called Application Specific Signatures: NSInvalidArgumentException Application Specific Backtrace 0: 0 CoreFoundation 0x00007ff800a36d86 __exceptionPreprocess + 242 1 DVTFoundation 0x00000001081925cc DVTFailureHintExceptionPreprocessor + 448 2 libobjc.A.dylib 0x00007ff800529321 objc_exception_throw + 48 3 CoreFoundation 0x00007ff800adc134 -[NSObject(NSObject) __retain_OA] + 0 4 CoreFoundation 0x00007ff8009a4643 ___forwarding___ + 1379 5 CoreFoundation 0x00007ff8009a4058 _CF_forwarding_prep_0 + 120 6 IDEFoundation 0x000000010d8722e0 -[IDEDistributionProcessingPipelineContext packagePathForVariant:] + 872 7 IDEFoundation 0x000000010d88e098 -[IDEDistributionCreateIPAStep name] + 108 8 IDEFoundation 0x000000010d86fcee __98-[IDEDistributionProcessingPipeline observationForPhaseStateChanges:stepIndex:pipelineStepsCount:]_block_invoke + 106 9 DVTFoundation 0x000000010819d534 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:creationBacktrace:withHandlerBlock:] + 449 10 DVTFoundation 0x000000010819e533 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:withHandlerBlock:] + 125 11 IDEFoundation 0x000000010d86fb91 -[IDEDistributionProcessingPipeline observationForPhaseStateChanges:stepIndex:pipelineStepsCount:] + 159 12 IDEFoundation 0x000000010d86ff88 -[IDEDistributionProcessingPipeline processForThinningVariant:distributionItem:stepClass:stepIndex:pipelineStepsCount:error:] + 498 13 IDEFoundation 0x000000010d86f567 -[IDEDistributionProcessingPipeline process:] + 1733 14 IDEFoundation 0x000000010d5aae89 -[IDEDistributionPackagingStep loadDrivableFromExportOptions:error:] + 258 15 IDEFoundation 0x000000010d69db0e -[IDEDistributionDriver runWithDestinationPath:wantsExportStep:] + 2694 16 IDEFoundation 0x000000010d9ce7a6 $s13IDEFoundation29RecoverableDistributionDriverC3runyyFyyYbcfU_ + 150 17 IDEFoundation 0x000000010d960239 $sIegh_IeyBh_TR + 25 18 libdispatch.dylib 0x00007ff80073f2e6 _dispatch_call_block_and_release + 12 19 libdispatch.dylib 0x00007ff80074059a _dispatch_client_callout + 8 20 libdispatch.dylib 0x00007ff800742dba _dispatch_queue_override_invoke + 977 21 libdispatch.dylib 0x00007ff80074f776 _dispatch_root_queue_drain + 328 22 libdispatch.dylib 0x00007ff80074ff22 _dispatch_worker_thread2 + 152 23 libsystem_pthread.dylib 0x00007ff8008e4c06 _pthread_wqthread + 262 24 libsystem_pthread.dylib 0x00007ff8008e3b97 start_wqthread + 15
Posted
by zemaria.
Last updated
.
Post not yet marked as solved
0 Replies
177 Views
Organizer Terminations tab shows "Insufficient terminations data available" when there's no filter applied: iPhone (All). However it shows data when I explicitly select a device type. This particular app has more users than other apps for which this tab works OK. It used to work fine but stopped working a couple of months ago. The Xcode version doesn't matter (I tried Xcode 14.3.1, Xcode 15.1 and Xcode 15.2). Please check attached screenshot. Thank you.
Posted
by bastawa.
Last updated
.
Post marked as solved
1 Replies
234 Views
I am trying to archive an application, where the process replies my application is rejected. The response indicates: [The operation couldn’t be completed. Unable to login with account xxxxx.***]. The login details for account [xxxxx.***] were rejected. I just changed my Apple ID password, and unfortunately I believe this happens to be the cause of the issue. Would changing the Apple ID password take effect after a certain time period ... ? Would there possibly be an avenue I did not properly complete to allow the application to be archived … ? Best regards, jim_k
Posted
by jim_k.
Last updated
.
Post not yet marked as solved
0 Replies
346 Views
If anyone knows how to build iOS Deployment Target 11; (react-native app with 0.64.4 version) run and build on Xcode 15 with iOS 17 SDK, Mac M1 environment it will be a great help at least if you can share a guide. And I don't know is it possible or not. I would appreciate any advice you can give me. Thank You! (using Mac m1 with Sonoma.) I just ran a Hello World app from that version of react native and tried a few changes on Xcode 15, but didn't work for iOS. but Android worked well. used node 14. Is there any possibility of running this old version of RN in the latest Xcode building an archive and publish to the app store? (the main reason is we couldn't update the RN version due to some of the dependency versions.)
Posted
by techdeed.
Last updated
.
Post marked as solved
3 Replies
537 Views
Hello, while my project, which I created with the Unity game engine, runs smoothly in the editor, when I try to run it and/or archive through Xcode, I receive the following error: Undefined symbols: Linker command failed with exit code 1 (use -v to see invocation) When I right click on the problem and click Reveal in log it doesn't take me anywhere. Can you help me with this? Thanks.
Posted
by hbdnr.
Last updated
.
Post not yet marked as solved
1 Replies
496 Views
Hi, In XCode organizer, under reports section, Crashes info shows fine with call stacks but Disk writes, Energy and Hang reports sections are broken recently. When I try to access any of these sections it says "The operation couldn't be completed. ((extension in DVT Products):....[Attached error screenshot]" How to fix this error and get the reports under Disk writes, Energy and Hang reports section? Regards, Eshwar
Posted
by EshwarZy.
Last updated
.
Post not yet marked as solved
0 Replies
252 Views
In XCode organizer, under reports section, Crashes info shows fine with call stacks but Disk writes, Energy and Hang reports sections are broken since Background Assets frameworks integration. Error msg: The operation couldn't be completed. ((extension in DVTProducts):DVTAppStoreConnect.AppExtension.(unknown context at $10beb2a18).AppExtensionError error 0.) Xcode failed loading app information. How to fix this error and get the reports under Disk writes, Energy and Hang reports section?
Posted
by tejram_k.
Last updated
.
Post not yet marked as solved
2 Replies
717 Views
Just today I was forced to update to XCODE 15.2 after being using XCODE 14 because my SO version was increased. After that, Im not able to archive an app I had to update to appstoreconnect with a fix. Error log I'm getting is the following: Showing All Errors Only Build target StockAudits of project StockAudits with configuration Prod warning: Run script build phase 'SwiftGen' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'StockAudits' from project 'StockAudits') PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/b37119/Library/Developer/Xcode/DerivedData/StockAudits-cfonpjctwchifxctgtmajsextfap/Build/Intermediates.noindex/ArchiveIntermediates/StockAudits/IntermediateBuildFilesPath/StockAudits.build/Prod-iphoneos/StockAudits.build/Script-26F9271AC9366566C0FA81CD.sh (in target 'StockAudits' from project 'StockAudits') cd /Users/b37119/Documents/Proyectos/ISFQI/ap00000-isf-stock-audits-ios /bin/sh -c /Users/b37119/Library/Developer/Xcode/DerivedData/StockAudits-cfonpjctwchifxctgtmajsextfap/Build/Intermediates.noindex/ArchiveIntermediates/StockAudits/IntermediateBuildFilesPath/StockAudits.build/Prod-iphoneos/StockAudits.build/Script-26F9271AC9366566C0FA81CD.sh mkdir -p /Users/b37119/Library/Developer/Xcode/DerivedData/StockAudits-cfonpjctwchifxctgtmajsextfap/Build/Intermediates.noindex/ArchiveIntermediates/StockAudits/BuildProductsPath/Prod-iphoneos/StockAudits.app/Frameworks Symlinked... rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework" "/Users/b37119/Library/Developer/Xcode/DerivedData/StockAudits-cfonpjctwchifxctgtmajsextfap/Build/Intermediates.noindex/ArchiveIntermediates/StockAudits/InstallationBuildProductsLocation/Applications/StockAudits.app/Frameworks" building file list ... rsync: link_stat "/Users/b37119/Documents/Proyectos/ISFQI/ap00000-isf-stock-audits-ios/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework" failed: No such file or directory (2) done sent 29 bytes received 20 bytes 98.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/0032d1ee-80fd-11ee-8227-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9] Command PhaseScriptExecution failed with a nonzero exit code Command PhaseScriptExecution failed with a nonzero exit code Build failed 29/1/24, 17:08 82.8 seconds When I try to ejecute the app for debug with the simulator or my device it works and build, but when I try to archive it does not work. Some points I tried was: Remove pods.lock file and Pods folder and reinstall it -> (rm *blabla + pod install) Try to update cocoa pods -> (sudo gem update cocoapods) My pod version is: -> pod --version Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5 1.12.0 I need help to unblock the new deployment of the app release we had scheduled for this week.
Posted Last updated
.
Post marked as solved
3 Replies
588 Views
Hello everyone! I'm quite new to App development (but have quite a bit of programming experience). I have reached the point where I would like to Archive my app for release but I'm stumped at an issue where the app compiles, builds and runs just fine in XCode on device and simulator targets however fails when I want to archive the app. My app ends up using a mix of a lot of things possible: Swift and SwiftUI Obj-C and some vanilla C, mainly because I use a framework in C Very minimal but some UIKit (that bridges with some parts in C) Here is the stacktrace, would appreciate some insights 1. Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) 2. Compiling with the current language version 3. While evaluating request ExecuteSILPipelineRequest(Run pipelines { PrepareOptimizationPasses, EarlyModulePasses, HighLevel,Function+EarlyLoopOpt, HighLevel,Module+StackPromote, MidLevel,Function, ClosureSpecialize, LowLevel,Function, LateLoopOpt, SIL Debug Info Generator } on SIL for CamHero) 4. While running pass #12497 SILModuleTransform "PerformanceSILLinker". 5. While deserializing SIL function "$s7SwiftUI11EnvironmentV12wrappedValuexvg" 6. While deserializing SIL function "os_log_type_enabled" 7. *** DESERIALIZATION FAILURE *** *** If any module named here was modified in the SDK, please delete the *** *** new swiftmodule files from the SDK and keep only swiftinterfaces. *** module 'SwiftUI', builder version '5.9.2(5.9.2)/Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)', built from swiftinterface, resilient, loaded from '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/17.2/SwiftUI.swiftmodule/arm64-apple-ios.swiftmodule' result not found (isEnabled) Cross-reference to module 'os' ... OSLog ... in an extension in module 'os' ... isEnabled ... with type (OSLog) -> (OSLogType) -> Bool Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 swift-frontend 0x0000000103a11abc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 swift-frontend 0x0000000106677cb0 llvm::sys::RunSignalHandlers() + 112 2 swift-frontend 0x00000001063e1054 SignalHandler(int) + 352 3 libsystem_platform.dylib 0x00000001895b3a24 _sigtramp + 56 4 libsystem_pthread.dylib 0x0000000189584cc0 pthread_kill + 288 5 libsystem_c.dylib 0x0000000189494a40 abort + 180 6 swift-frontend 0x0000000102bd7c2c (anonymous namespace)::ParsedAttrInfoFallThrough::~ParsedAttrInfoFallThrough() + 0 7 swift-frontend 0x0000000104470db8 std::__1::__function::__func<swift::evaluator::PerRequestReferences swift::evaluator::PerRequestReferences::makeEmpty<swift::LookupPrefixOperatorRequest>()::'lambda'(void*), std::__1::allocator<swift::evaluator::PerRequestReferences swift::evaluator::PerRequestReferences::makeEmpty<swift::LookupPrefixOperatorRequest>()::'lambda'(void*)>, void (void*)>::operator()(void*&&) + 0 8 swift-frontend 0x0000000102b2c534 swift::ModuleFile::fatal(llvm::Error) const + 44 9 swift-frontend 0x00000001044721dc swift::CyclicalRequestError<swift::LookupPrefixOperatorRequest>::~CyclicalRequestError() + 0 10 swift-frontend 0x00000001045bb880 swift::SILDeserializer::readSILFunctionChecked(llvm::PointerEmbeddedInt<unsigned int, 31>, swift::SILFunction*, llvm::StringRef, bool, bool) + 1588 11 swift-frontend 0x0000000102bb0f50 swift::SILDeserializer::getFuncForReference(llvm::StringRef, swift::SILType) + 504 12 swift-frontend 0x00000001045cb578 swift::SILDeserializer::readSILInstruction(swift::SILFunction*, swift::SILBuilder&, unsigned int, llvm::SmallVectorImpl<unsigned long long>&) + 29524 13 swift-frontend 0x00000001045bc554 swift::SILDeserializer::readSILFunctionChecked(llvm::PointerEmbeddedInt<unsigned int, 31>, swift::SILFunction*, llvm::StringRef, bool, bool) + 4872 14 swift-frontend 0x00000001045d6934 swift::SILDeserializer::lookupSILFunction(swift::SILFunction*, bool) + 636 15 swift-frontend 0x0000000102c4d990 swift::SILLinkerVisitor::deserializeAndPushToWorklist(swift::SILFunction*) + 88 16 swift-frontend 0x0000000102c4dfb0 swift::SILLinkerVisitor::processFunction(swift::SILFunction*) + 248 17 swift-frontend 0x0000000103c60fa4 (anonymous namespace)::SILLinker::run() (.llvm.15023899450236721039) + 136 18 swift-frontend 0x0000000106018874 swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 16276 19 swift-frontend 0x00000001061c21c4 swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<> (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 56 20 swift-frontend 0x00000001060646b8 llvm::Expected<swift::ExecuteSILPipelineRequest::OutputType> swift::Evaluator::getResultUncached<swift::ExecuteSILPipelineRequest>(swift::ExecuteSILPipelineRequest const&) + 476 21 swift-frontend 0x000000010607c424 swift::runSILOptimizationPasses(swift::SILModule&) + 472 22 swift-frontend 0x000000010400c3c0 swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 572 23 swift-frontend 0x0000000105f59454 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 956 24 swift-frontend 0x0000000105f54f00 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 3020 25 swift-frontend 0x0000000105f58854 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 4568 26 swift-frontend 0x0000000105fbfd44 swift::mainEntry(int, char const**) + 4408 27 dyld 0x00000001892090e0 start + 2360 Command SwiftCompile failed with a nonzero exit code
Posted
by borarak.
Last updated
.
Post marked as solved
3 Replies
547 Views
Hello everyone! I recently released the native visionOS version of my app on TestFlight. I noticed that there are 8 crashes on Vision Pro on the App Store Connect website, but I can't get these crash logs in Xcode Organizer (the crash list of visionOS app is empty). Is there any way to get these crash logs now? I don't have a physical Vision Pro device so I can't reproduce the crash, I can only rely on the crash logs.
Posted
by Gong.
Last updated
.
Post not yet marked as solved
1 Replies
505 Views
xCode requested that I send in a bug report. Failed to produce diagnostic for expression, please submit a bug report. I can't manage to paste the image here, so I'll just state that the latest Xcode, 15.1 seems to produce spurious error messages on screen which usually manage to disappear over time. I'll send this in to feedback with the sysdiagnose report. It's a major pain.
Posted
by S Wright.
Last updated
.
Post not yet marked as solved
2 Replies
721 Views
I try to use "Download container" on "Devices and Simulators". But on iOS 17, xcappdata file size is 4KB and ''AppData" folder is empty. On iOS 15, xcappdata file size is 2MB and success downloaded. Xcode show these error when I unplug iOS 17 and plugin iOS 15. The system failed to get a list of files on the remote device. Domain: com.apple.dt.CoreDeviceError Code: 7001 User Info: { DVTErrorCreationDateKey = "2023-12-12 07:39:24 +0000"; NSFilePath = ""; } -- Unknown response: { XPCErrorDescription => Connection interrupted } Domain: com.apple.dt.remoteservices.error Code: -1 -- System Information macOS Version 14.2 (Build 23C64) Xcode 15.1 (22502) (Build 15C65) Timestamp: 2023-12-12T15:39:24+08:00 PS. I had turn on [Airplane mode] on iOS 17.
Posted
by yycking.
Last updated
.
Post not yet marked as solved
4 Replies
814 Views
it can read the files before I replace container in xcode . Has anyone encountered the same problem? and any solution? Error: Error Domain=NSCocoaErrorDomain Code=257 "The file “Documents” couldn’t be opened because you don’t have permission to view it." UserInfo={NSUserStringVariant=( Folder ), NSFilePath=/var/mobile/Containers/Data/Application/97D816A0-8B58-4E33-8455-3F19E0A9FBAA/Documents, NSUnderlyingError=0x281e650b0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
Posted
by jackhong.
Last updated
.