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
742 Views
xcode→Archive →result his bundle is invalid. The value of the CFBundleDocumentTypes key in the Info.plist must be an array of dictionaries, with each dictionary containing at least the CFBundleTypeName key. (ID: (something)) My Xcode versions 14 What do I this error? (I'm a Japanese.I'm sorry that it was hard to understand.)
Posted
by
Post not yet marked as solved
0 Replies
380 Views
Hi, I'm writing here in order to make sense of how Xcode Organizer Crashes Report works. In particular, I'm experiencing strange behaviors when I switch among filters (date, version, builds, etc.): if I select, for example, "Last Two Weeks" filter, the latest version of the app, "All Builds" and "App Store", I see additional crashes (new crash entries) compared to using a specific build (we just have one single build for that version that is published in the App Store). I'm noticing the same behavior when, for example, I select "App Store or Test Flight" filter without selecting the specific build ("All Builds" is set). furthermore, I would like to know if a crash that is reported in a previous version will be available in the latest one if not fixed or not experienced anymore by users. Waiting for a reply I thank you for your feedback. All the best, Lorenzo
Posted
by
Post not yet marked as solved
1 Replies
557 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
Post not yet marked as solved
0 Replies
245 Views
We are able to see crashes in TestFlight, as well as AppHangs in our error analytics tool - Sentry. But when trying to see the same in XCode Organizer, it shows an empty list. How do we fix this?
Posted
by
Post not yet marked as solved
3 Replies
730 Views
Hi, developers I've been wasting several days with upload failure issues since upgrading to Xcode 15. I would like to ask for advice from those with experience. I upload the archive using auto signing as usual, but after printing the phrase "Waiting for App Store Connect SPI analysis responses...", the following Asset Validation Failed error occurs. It seemed like a code signing issue, so I deleted all the certs and recreated them, and tried signing them manually, but none of them worked. I'm going crazy. Please help.
Posted
by
Post not yet marked as solved
27 Replies
5.2k 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
by
Post not yet marked as solved
1 Replies
2.4k Views
So I've been working on a React Native App recently using Expo. Before the official release of XCode 15 and iOS 17, I had a janky workaround where I would archive the app in XCode 15 and then deploy it in XCode 14. Or maybe it was the other way around. But now I can't find any way to deploy my IPA to my iPhone for local testing. The app runs just fine when running locally. The steps that I'm currently going through are as follows: npx expo prebuild --platform ios --clean npx pod-install Open the [App].xcworkspace (XCode 15) Choose my signing team (Why do I have to do this every time?) Menu > Product > Archive (Succeeds!) Open the Organizer (Windows > Organizer) Run Validate (Just because I'd expect this to catch any errors) (Succeeds!) Distribute App > Debugging (I've tried Release Testing too) Open Devices My iPhone > Installed Apps > + > (The new build's IPA) And the output is always some variant pretty close to what's copied below. I'm sort of at my wits end here. Anyone got any insight or advice? Thanks! Error installing '/Users/[path]/app.ipa', ERROR: Error Domain=com.apple.dt.CoreDeviceError Code=3002 "Failed to install the app on the device." UserInfo={NSURL=file:///Users/[path]/[App].ipa, NSLocalizedDescription=Failed to install the app on the device., NSUnderlyingError=0x60000e28aaf0 {Error Domain=com.apple.dt.CoreDeviceError Code=3000 "The item at [App].ipa is not a valid bundle." UserInfo={NSURL=file:///[Path]/[App].ipa, NSLocalizedFailureReason=Failed to read the bundle., NSLocalizedDescription=The item at [App].ipa is not a valid bundle.}}}
Posted
by
Post not yet marked as solved
1 Replies
482 Views
I am facing the below problem. I do not provide distribution certificates to development contractors. Therefore, the development contractor cannot create a signed package file for distribution. I will not be provided with source code by the development contractor. Therefore, I cannot build from the source code and create a package file for distribution. In this situation, can I obtain the binary (ipa file?) from the contractor and create a signed package file for distribution? Also I found this post on this forum (https://developer.apple.com/forums/thread/717503)) • If the client is happy to add you to their team with appropriate privileges, you can send them a distribution-signed .ipa and they can upload it using Transporter. That’s a relatively smooth path. • If not, a common practice is to send them a development-signed .ipa and have them re-sign it. This is a very rocky road and I recommend against it. A better option is to send them an Xcode archive (.xcarchive) and have them submit from there. They have to install Xcode, but that’s not too hard. >A better option is to send them an Xcode archive (.xcarchive) and have them submit from there. They have to install Xcode, but that’s not too hard. It is recommended to use .xcarchive. For this method The development contractors creates an .xcarchive file from the development certificate and provisioning file. Can I use Xcode to create a distribution package file from the development .xcarchive I receive? If possible, could you please tell me the specific steps?
Posted
by
Post not yet marked as solved
2 Replies
650 Views
I use Xcode 15, pods 1.14.0, ruby 3.2.2. My project builds fine for simulator, but I get an error when trying to build archive : rsync: [sender] change_dir "/Users/myname/MyApp../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos" failed: No such file or directory (2) brew is up to date, so is rsync All updates look good. I'm struggling for days now, I can't get what's wrong. Did anyone faced this issue ?
Posted
by
Post not yet marked as solved
0 Replies
396 Views
Hi Apple. Currently we're facing an issue when exporting the file as an ipa, by mean our previous ipa file version giving Malware as "JS:Pdfka-gen" inside, we do the app scanning with https://www.virustotal.com/, it saying that there is a "JS:Pdfka-gen" inside the ipa file, is there any solution or hint how we can prevent the issue, because also testflight is accepting the ipa build that containing that Malware.
Posted
by
Post not yet marked as solved
1 Replies
401 Views
Good Morning, I get this error every time I try to make the archive and I don't see any more information, nor have I found a solution, could you please help me to solve it? ld: building for 'iOS', but linking in object file (/Users/juanjo/Documents/Jabali/platforms/ios/build/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport/GoogleAppMeasurement.framework/GoogleAppMeasurement[arm64][3](apm_experimentation .pb.o)) built for 'iOS-simulator' clang: error: linker command failed with exit code 1 (use -v to see invocation)
Posted
by
Post not yet marked as solved
2 Replies
412 Views
Hello My team has noticed that starting around early-October 2023 all of our 90th and 50th percentile metrics in Organizer have been stuck with the "margin of error" detail, ranging from 10-20 percent. We've been consistently using Organizer for over a year and usually see the margin of error for only for a couple days after a new app update is published - but now appear to be stuck without any clear reasons why. We've also tried on different versions of xcode 15, tried using "View -> Reload Organizer"; all with no success. In general speak, our app: has about a million sessions a day has weekly releases does not have metric issues in our other 3rd party libraries Has something changed with the user opt-in for sharing data with developers? Has anyone else experienced this problem? Thanks
Posted
by
Post not yet marked as solved
1 Replies
518 Views
I use to archive my app all the time and never had this problem the other day i implemented apple pay in my app but when i wanted to archive the app i couldnt and kept getting this error over and over even tho i tried all the solutions online Error : error: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted chdir: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted chdir: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted chdir: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted chdir: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted Standalone embedder initialization failed: Error determining current directory: Operation not permitted i tried to go to settings Security & Privacy->Full Disk Access then allow xcode
Posted
by
Post not yet marked as solved
0 Replies
371 Views
I have an Apple Watch SE (watchOS 10.1) paired to my phone via Family Setup. I'd like to connect it to Xcode to install apps on, but it's not appearing in Xcode's Device Organizer. Nor can I find the option to enable Developer Mode in Settings->Privacy & Security. Note*: I do have my personal watch connected to Xcode. This would be the second watch I'm trying to build to. Is this a limitation of Family Setup? Or is there some way I should be kicking the watch to have it recognized?
Posted
by
Post not yet marked as solved
4 Replies
855 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
Post not yet marked as solved
2 Replies
2.9k Views
Hi everyone, I am having this error while trying to upload my iOS App with XCode. Can someone help me? Why this kind of error if I can Build/Run and also Export the .IPA with Xcode and certificate but not upload? Here is the error: Here is my Info-PROD.plist that is watched by XCode (because it change the App Name and the bundle identifier): I have try replace the MinimumOSVersion to LSMinimumSystemVersion and got more erros... Can someone help? Xcode 14.1 (14B47b)
Posted
by
Post not yet marked as solved
0 Replies
371 Views
I wanna test my SwiftUI app on TestFlight and then I'll release the app on App Store. However, I get an error during Distribute App processing. I do Archive and Distribute App with TestFlight & App Store option and then I get "Assert Validation Failed" see below. When I check output of compiling, I see a few warnings. You can see below. I totally do not understand what problem is. How can I solve this problem ?
Posted
by
Post not yet marked as solved
3 Replies
838 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