Search results for

dsym file

77,678 results found

Post

Replies

Boosts

Views

Activity

Access file from File app works inside my application, but doesn't work if I launch my app from the File app
Hi! I've got an application that can handle json (export/import). To achieve that I created a new Document Type in the info.plist, filed the imported and exported Type Identifiers, and created a new UTType. At first I was trying on the simulator and everything worked fine. I was able to created files and store them in the File app, and then read them back. I also implemented the func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) to handle documents opened from outside the application. Now when I moved on onto a real device, I noticed that I had to test the access with guard url.startAccessingSecurityScopedResource() else { throw ImportError.accessDenied } defer { url.stopAccessingSecurityScopedResource() } but I get a weird behavior : when opening a file from File app with my app launched, everything works fine. But if I try to launch my application (previously killed) from a file in the File app, startAccessing
1
0
2.2k
Jan ’24
How to symbolicate .xchanglog traces locally for hangs reported via xcode organiser
Hello, I am trying to analyse the hang logs stacktrace which are reported via xcode organiser for my app. The json .xchanglog files which are generated are not symbolicated. I was trying out the the recommendations which are used to symbolicate .crash logs but it did not work for me. Is there an apple recommendation on how we can symbolicate/analyse .xchanglog logs locally? Note: I have dSYM files available on my mac. The uuid are matched. Command i am using is replacing the correct values: % atos -arch BinaryArchitecture -o PathToDSYMFile/Contents/Resources/DWARF/BinaryName -l LoadAddress AddressesToSymbolicate Things tried: https://developer.apple.com/documentation/xcode/interpreting-the-json-format-of-a-crash-report https://developer.apple.com/documentation/xcode/adding-identifiable-symbol-names-to-a-crash-report Thanks!
0
0
1.2k
Feb ’23
Python files
Hello! I need help! I was trying to use some python scripts in terminal and I was getting a path error so I made the mistake of trying to fix it myself😅. To make it short I moved all the files from /library/python/3.9/bin into /library/developer/commandlinetools/usr/bin thankfully, I choose the option to pick both versions on duplicate files so they are all still there. Can someone please list/screenshot all the files that should be in /library/python/3.9/bin so I can put them back? Have I messed up my OS by doing this or can I just put them back? Thanks!
3
0
673
Nov ’22
Impossible to symbolicate logs
I have an application on TestFlight and one user is reporting a crash that occurs each time he starts the app (and sent me a video showing it). I see all the crashes in iTunes Connect, but I am unable to investigate it as I cannot get to the symbolicated logs in any way.The version was built with the Release: DWARF with dSYM file option so I would expect the debug information to be available on iTunes Connect and as this is distributed via TestFlight I expect the logs to be automatically sent.What fails:XCode organizer shows No crash info available for this version, and thus no logs at allThe user sent me his crash file. When I load it into XCode by plugging in an iPhone and dropping the crash file into device logs in the Devices window of XCode, all appears in HEX format. I clicked any times on Download dSYMs... in the organizer for this version but it still shows me the HEX codes. Note that when I click Download dSYMs... in XCode there is a progress spinning whee
0
0
281
Nov ’16
Files app -> can't open files from iCloud drive
Hi,My app (developed in Unity) now supports Files App. Everything works perfectly if I go to On My iPad->My App. The associated files launch the app as expected.But if i select an associated file on iCloud Drive or on any other app Documents folder, it launches my app and I can get the file path on openURL:options: or on didFinishLaunchWIthOptions. But if i try to read this file it just can't, it can't access the path. When the path is on my app Documents folder, then it is ok.The Files App automatically sets my app as 'Open In', not 'Copy To' (as email or any other app does).I have searched a lot but couldn't find anything as FIles App is pretty new.Thanks in advance for suggestions!BRFernando
0
0
2.8k
Oct ’17
preferred file name extension for exported file type
Our app exports a number of file types in info.plist. For each of these file types, we export various possible file name extensions. For example, for one of our file types, we specify the possible extensions .data, .fitdat, and .profitdata. In the settings of our app, we allow the user to select their preferred extension to be used, i.e. the extension to be used when, e.g., saving a document with Save As... panel without explicitly specifying the extension. For this, we override NSDocument's fileNameExtensionForType:saveOperation to return the presently preferred extension. This has stopped working, probably starting from macOS 14. If the user does not specify the extension in the NSSavePanel, it's always the first extension (.data) that gets added to the file name. I guess it's a consequence of the introduction of UTType, which has its own preferredFilenameExtension, which in turn probably just grabs the first extension we specify in our info.plist Any advice how
1
0
711
Apr ’24
file transfer to watchkit failed - No such file or directory
I'm trying to transfer a file from iOS app to watchkit. I checked WCSessionDelegate calls are working well. But, interestingly, file url does not exist.Per the code below, I get fileURL from the argument, and the argument value is wrong somehow. When I search for the directory from Mac Finder, the directory doesn't exist. Do you have any idea?func session(session: WCSession, didReceiveFile file: WCSessionFile) { print(file.fileURL) let baseUrl = NSFileManager.defaultManager().containerURLForSecurityApplicationGroupIdentifier(group.com.ABC.WatchAac) ....}copy error=========Error Domain=NSCocoaErrorDomain Code=4 “audio9.caf” couldn’t be moved to “35B1C*******9-B6BF-A6A97154724C” because either the former doesn't exist, or the folder containing the ln't exist. UserInfo=0x79079700 {NSSourceFilePathErrorKey=/Users/AAA/Library/Developer/CoreSimulator/Devices/62C8**********4-82A1C0626A31/data/Containers/Data/PluginKitPlugin/25063************-8BD68ECEB831/Documents/Inbox/com.apple.watchconn
1
0
904
Jun ’15
To many symbol files - Will submit be rejected?
Hi,The question is: Will an upload with this message be rejected when/if I submit it for release?I have search and tried a lot for many days, I need some more ideas to find a solution.The problem is I get this message in a mail after an upload. Too many symbol files - These symbols have no corresponding slice in any binary [38D2D345-A6CE-3612-9421-91F370E8D603.symbols, C05471C7-0AC2-3C8E-A6E1-83132101B852.symbols]I have turned off bitcode as some suggests without success.My project uses Firebase and Admob, I install it with cocoapods and my Podfile contains pod 'Firebase/Core' pod 'Firebase/Admob'Checking the archive and the dSYM-catalog on my computer with 'dwarwdump' shows this:dwarfdump --uuid *UUID: 38D2D345-A6CE-3612-9421-91F370E8D603 (armv7) GoogleToolboxForMac.framework.dSYM/Contents/Resources/DWARF/GoogleToolboxForMacUUID: 0CE7E5B1-8285-3C99-9AC2-CCFE99765A8A (arm64) GoogleToolboxForMac.framework.dSYM/Contents/Resources/DWARF/GoogleToolboxForMacUUID: 03151945-42F9-3421-BD33-6390F75FA
1
0
2.0k
Apr ’18
Reply to React native ios xcode producing corrupt archives
Finally got the archives to be successfully built, and this is what I believe fixed it. Under the Products folder, my [AppName].app was highlighted in red. After going to the Product -> Build, it ran and successfully finished and the [AppName].app was no longer red. Without cleaning the build folder, I just ran Product -> Archive and it successfully Archived. When opening the archive in Finder, Products, dSYMs, BCSymbolMaps, SCMBlueprint and the Info.plist were all there. Before doing that, I also ran 'pod deintegrate' and then 'pod install', but not sure if that was part of the solution. Hopefully this helps someone else that might be experiencing the same issues. Happy Building!
Apr ’22
Reply to Xcode Cloud upload dSYM to Sentry
You're able to install and run sentry-cli from inside the post-xcodebuild script. This was working for me (you can define the SENTRY_AUTH_TOKEN as an environment value in the workflow): ci_scripts/ci_post_xcodebuild.sh #!/bin/sh set -e # This is necessary in order to have sentry-cli # install locally into the current directory export INSTALL_DIR=$PWD if [[ $(command -v sentry-cli) == ]]; then echo Installing Sentry CLI curl -sL https://sentry.io/get-cli/ | bash fi echo Uploading dSYM to Sentry sentry-cli --auth-token $SENTRY_AUTH_TOKEN upload-dif --org 'organization-name' --project 'project-name' $CI_ARCHIVE_PATH
Sep ’22
FileDocument - open another file in the same directory as selected file
I'm working on a macOS app where my file format can include other files (think #include in C/C++). When opening a file with SwiftUI's document-based APIs (i.e., FileDocument), is there a way to get access to those other files? Alternatively, is there a way I could open the file's directory, similar to how Xcode opens the directory that a .xcodeproj is located? I don't mind falling back to older Cocoa APIs if this is too obscure for the shiny new stuff :)
3
0
1k
Mar ’24
Is there a method to close files in Swift? Specifically AVAudioFile files?
I have no problem creating, and writing to AVAudioFiles. do { audioFile = try AVAudioFile(forWriting: destinationPath, settings: format.settings) print (created: (curFileLinkName)) } catch { print (error creating file)} But is there a way to close the file? I've searched and all I could find was this very post on StackOverflow, which makes me wonder.
2
0
1.1k
Jul ’22