Organizer Window

RSS for tag

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

Posts under Organizer Window tag

60 Posts
Sort by:
Post not yet marked as solved
1 Replies
85 Views
Archive a package. [Window] -> [Organizer] -> select package just archived -> click [Distribute App] select [App Store Connect] -> click [Distribute] -> CRASH! crash log Process: Xcode [12835] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 15.3 (22618) Build Info: IDEApplication-22618000000000000~2 (15E204a) App Item ID: 497799835 App External ID: 863955376 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2024-04-15 11:05:05.6599 +0800 OS Version: macOS 14.4.1 (23E224) Report Version: 12 Anonymous UUID: E74ED973-D26C-0B5C-FDB1-837215F4F6B9 Sleep/Wake UUID: 6627EBDD-D3B7-4988-B9E5-BEDB5E1ED228 Time Awake Since Boot: 92000 seconds Time Since Wake: 11424 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 [12835] Application Specific Information: abort() called Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x194e6aa60 __pthread_kill + 8 1 libsystem_pthread.dylib 0x194ea2c20 pthread_kill + 288 2 libsystem_c.dylib 0x194dafa20 abort + 180 3 libswiftCore.dylib 0x1a4f049f4 swift::fatalErrorv(unsigned int, char const*, char*) + 128 4 libswiftCore.dylib 0x1a4f04a14 swift::fatalError(unsigned int, char const*, ...) + 32 5 libswiftCore.dylib 0x1a4f04be0 swift::swift_abortRetainUnowned(void const*) + 48 6 libswiftCore.dylib 0x1a4f08f10 swift_unownedRetainStrong + 140 7 SwiftUI 0x1c1cea47c 0x1c075f000 + 22590588 8 SwiftUI 0x1c1cea42c 0x1c075f000 + 22590508 9 AppKit 0x198c517d4 -[_NSQuickActionAutovalidationScheduler windowDidUpdate:] + 140 10 CoreFoundation 0x194f76b1c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148 11 CoreFoundation 0x19500adb8 ___CFXRegistrationPost_block_invoke + 88 12 CoreFoundation 0x19500ad00 _CFXRegistrationPost + 440 13 CoreFoundation 0x194f45648 _CFXNotificationPost + 768 14 Foundation 0x196061464 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88 15 CoreFoundation 0x194fadd4c -[NSArray makeObjectsPerformSelector:] + 212 16 AppKit 0x1987dccb4 -[NSApplication(NSWindowCache) _updateWindowsUsingCache] + 108 17 AppKit 0x1987dcc0c -[NSApplication updateWindows] + 64 18 AppKit 0x198c19a3c __38-[NSApplication setWindowsNeedUpdate:]_block_invoke_2 + 56 19 AppKit 0x198c1eb6c ___NSRunLoopObserverCreateWithHandler_block_invoke + 64 20 CoreFoundation 0x194f81254 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 21 CoreFoundation 0x194f81140 __CFRunLoopDoObservers + 536 22 CoreFoundation 0x194f8076c __CFRunLoopRun + 776 23 CoreFoundation 0x194f7fe0c CFRunLoopRunSpecific + 608 24 HIToolbox 0x19f71b000 RunCurrentEventLoopInMode + 292 25 HIToolbox 0x19f71ac90 ReceiveNextEventCommon + 220 26 HIToolbox 0x19f71ab94 _BlockUntilNextEventMatchingListInModeWithFilter + 76 27 AppKit 0x1987d8970 _DPSNextEvent + 660 28 AppKit 0x198fcadec -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700 29 DVTKit 0x10313f858 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 300 30 AppKit 0x1987cbcb8 -[NSApplication run] + 476 31 DVTKit 0x10313eb24 -[DVTApplication run] + 60 32 AppKit 0x1987a2f54 NSApplicationMain + 880 33 dyld 0x194b1a0e0 start + 2360
Posted
by DD520.
Last updated
.
Post not yet marked as solved
1 Replies
104 Views
Hello fellow developers, I've encountered a code signing issue during the archiving process in Xcode and I'm looking for some guidance. Here's the error message I received: codesign command failed (/var/folders/44/968_7v_972vb03blw9l1_sqr0000gn/T/XcodeDistPipeline.~~~k4kX6H/Root/Payload/SweetifyCrm.app/Frameworks/hermes.framework: replacing existing signature /var/folders/44/968_7v_972vb03blw9l1_sqr0000gn/T/XcodeDistPipeline.~~~k4kX6H/Root/Payload/SweetifyCrm.app/Frameworks/hermes.framework: invalid or corrupted code requirement(s) Requirement syntax error(s): line 1:140: unexpected token: SWEETIFY ) Here's what I've tried so far: Cleaned the build folder and rebuilt the archive. Ensured that the correct signing certificate and provisioning profile are in use. Checked .entitlements file for any syntax errors or misplaced tokens. Searched for the token "SWEETIFY" in my project, which is part of the development team name, but didn't find any irregularities. This error seems to be triggered when codesign is executed during the archiving process, specifically with the Hermes framework which is part of my React Native project. I'm using Xcode version 15.0.1, and my project includes Hermes as a JavaScript engine. The issue arises when I try to archive the app for distribution. The word "SWEETIFY" appears to be causing trouble, but it's merely part of the development team's name, (LLC "SWEETIFY"). Has anyone faced a similar issue or could offer some insight into what might be going wrong here? Any help or suggestions would be greatly appreciated! Thank you in advance for your time and help.
Posted
by LaZziNess.
Last updated
.
Post not yet marked as solved
0 Replies
101 Views
I work on an app that includes a network extension. The app is essentially just to activate the extension, and the extension typically has long-running background sessions. Analyzing/monitoring metrics for the network extension is very important for us. However, in the Xcode Organizer screen, only the app itself is shown in the drop down menu - the associated network extension is not an option. For Xcode Organizer screens like Termination metrics and Battery Usage metrics, does the app's background metrics include the network extension, or just the app itself? If just the app, is there any way to get these metrics for the network extension?
Posted
by mattch.
Last updated
.
Post not yet marked as solved
2 Replies
132 Views
Hello everyone!! I am writing to inquire about the procedures for testing an application I am developing for iOS devices. The application has been developed using Flutter, and I would like to make it available for testing on my colleague's iPhone, who serves as our QA tester. Currently, my account on the App Store is free, and I would like to ensure proper testing before proceeding with deployment to the Apple Store. As the application is quite large, I am unable to provide it in debug mode on the QA tester's device. Therefore, I would like to enable them to use the application on their personal device for a few days to provide comprehensive feedback on performance and features. Could you please provide guidance on how to proceed with this beta testing process? I am committed to adhering to all of Apple's guidelines and policies to ensure a high-quality user experience. I would be very grateful if anyone could help me out on this, Thank you.
Posted
by VORP.
Last updated
.
Post not yet marked as solved
2 Replies
162 Views
Domain: com.apple.dt.CoreDeviceError Code: 3002 User Info: { DVTErrorCreationDateKey = "2024-04-12 13:00:55 +0000"; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; NSURL = "file:///Users/Username/Library/Developer/Xcode/DerivedData/project-dwlcjztonmnjygafwwnxdjtbzkwe/Build/Products/Debug-iphoneos/target.app/"; } -- Failed to install the app on the device. Domain: com.apple.dt.CoreDeviceError Code: 3002 User Info: { IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; NSURL = "file:///Users/Username/Library/Developer/Xcode/DerivedData/project-dwlcjztonmnjygafwwnxdjtbzkwe/Build/Products/Debug-iphoneos/target.app/"; } -- The item at target.app is not a valid bundle. Domain: com.apple.dt.CoreDeviceError Code: 3000 Failure Reason: The path to the provided bundle's main executable could not be determined. Recovery Suggestion: Ensure that your bundle's Info.plist contains a value for the key CFBundleExecutable. User Info: { NSURL = "file:///Users/Username/Library/Developer/Xcode/DerivedData/project-dwlcjztonmnjygafwwnxdjtbzkwe/Build/Products/Debug-iphoneos/target.app/"; ProvidedBundle = "file:///Users/Username/Library/Developer/Xcode/DerivedData/project-dwlcjztonmnjygafwwnxdjtbzkwe/Build/Products/Debug-iphoneos/target.app/"; } -- Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : { "device_isCoreDevice" = 1; "device_model" = "iPhone12,1"; "device_osBuild" = "17.4.1 (21E236)"; "device_platform" = "com.apple.platform.iphoneos"; "dvt_coredevice_version" = "355.24"; "dvt_mobiledevice_version" = "1643.100.58"; "launchSession_schemeCommand" = Run; "launchSession_state" = 1; "launchSession_targetArch" = arm64; "operation_duration_ms" = 2486; "operation_errorCode" = 3000; "operation_errorDomain" = "com.apple.dt.CoreDeviceError.3002.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" = 0; "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; "par[tag:am_testing_launchedForTesting" = 0; "param_testing_suppressSimulatorApp" = 0; "param_testing_usingCLI" = 0; "sdk_canonicalName" = "iphoneos17.4"; "sdk_osVersion" = "17.4"; "sdk_variant" = iphoneos; } System Information macOS Version 14.4.1 (Build 23E224) Xcode 15.3 (22618) (Build 15E204a) Timestamp: 2024-04-12T18:30:55+05:30 The project is running on the simulator properly with no errors. But while running on the real device (the iPhone), the build is successful but getting the mentioned issue. Also, while creating the.ipa file, we are getting the error mentioned below. I have tried following thing to resolve the issue but nothing is worked. Clean project and try to run the app on the real device. Disconnect iPhone from Mac On iPhone: Settings > Developer > Clear Trusted Computers Uninstall the application Reconnect iPhone to Mac In Xcode Window > Devices & Simulators You should see your device in the left sidebar Re-pair the device In the project Target -> Build Settings search for: search for Excluded Architectures add arm64 there. Change the archive destination directory to a location on the local SSD (and not an external HDD). Go to settings >> Select Privacy & Security >> Turn developer mode off if on >> Turn developer mode back on an follow instrctions >> The run your app on xcode ` Please help me find the solution. Thank you in advance.
Posted
by Prem_V.
Last updated
.
Post not yet marked as solved
4 Replies
176 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.9k 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
160 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
550 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
226 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
295 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
474 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
198 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
250 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
374 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
567 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
517 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
268 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
791 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
622 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
.