Search results for

dsym file

75,602 results found

Post

Replies

Boosts

Views

Activity

Reply to Breakpoint issue: 'self cannot be reconstructed'
I found a solution to provide metadata for all modules: Enable dSYM for Debug (note: this increases build time, even for incremental builds). Copy the necessary symlinks for the Swift modules from Derived Data to a temporary folder, e.g., /tmp/lldbmodules. Configure lldbinit locally in Xcode: customLLDBInitFile = $(SRCROOT)/lldbinit with the following option: settings set target.swift-module-search-paths /tmp/lldbmodules Kill the lldb-rpc-server process to ensure a clean state. Build and run.
Dec ’24
ios drop file wrong file name
ios drop file wrong file name I use the following simple JS code to drag file from the browser to the desktop. Works perfect on MacOS. onDragStart(event, ucpView) { let file = new BrowserFile([this.file.fileContent], this.file.displayName, { type: 'application/ucp-scenario' }); const fileURL = URL.createObjectURL(file); event.dataTransfer.setData(DownloadURL, `application/octet-stream:${file.name}:${fileURL}`); event.dataTransfer.setData(text/uri-list, fileURL); } but on iOS it keeps nameing the file Text1.txt Text2.txt ... and ignores the DownloadURL whats the best way to get it workng on both OS?
Topic: Safari & Web SubTopic: General
0
0
41
Apr ’25
How to put the .h file in modulemap file properly?
I have the native static lib that has a few .h files as API, the dir structure looks like this 3rdParties - - MyAPIHeader.h - my.modulemap my modulemap file looks like this module MyAPIHeader { header MyAPIHeader.h export * } and everything works well, up until I need to add another API file to my modulemap structure that does not reside in the same dir. anotherProjectDir - - AnotherAPIHeader.h 3rdParties - - MyAPIHeader.h - my.modulemap and my modulemap file looks like this module MyAPIHeader { header MyAPIHeader.h export * } module AnotherAPIHeader { header AnotherAPIHeader.h export * } and then when I try to use AnotherAPIHeader functions I got such an error in the modulemap file Header 'AnotherAPIHeader.h' not found I tried to set the path to the .h file in the module map as relative (not works) then I tried to set the path to the header file in the target (not works). To sum up - when the .h file that is included in the module map re
0
0
965
Jan ’22
How to upload a symbolic link file in file provider?
Hello, everyone, I'm trying to upload a symbolic link file's contents through file provider. The contents in createItem is empty when the file is a symbolic link, so it needs to be uploaded according to the symlinkTargetPath in item, but I can't get the contenst according to the symlinkTargetPath. For example, if I use ln - s test.md test.link creates a symbolic link, the symlinkTargetPath will only contain test.md. If I use ln - s aaa/test.md test.link creates a symbolic link, the symlinkTargetPath will only contain aaa/test.md , there is no specific path to the file. So how can I get the contents of the symbolic link file ?
2
0
2.2k
Aug ’22
Generate IPA file with a mobileprovision file only
Hello,I developed an application for my client who must diffuse into business with an MDM server.My client does not want to give me access to his business developer account so I can sign the application. And on my side I have a standard developer account.My client sent me a file app.mobileprovision saying it was the only thing necessary for me to generate an IPA file, and then resign the application.But I do not see how I can generate the IPA file with the file app.mobileprovision without using xcode and identify myself on a developer account.Apparently xcodebuild can be used, but I don't know how to pass a parameter file app.mobileprovision to create the IPA file.How could I do?Thanks a lot for your help !Nicolas
2
0
5k
Oct ’15
How do I compare files?
If I have a UIDocument file in the local sandbox storage Documents directory and another file in ICloud with the same file name, how do I tell whether those are considered copies of the same file or two different files with the same file name?I have retrieved the resource values of both files, but the local file gives nil for document identifier.
1
0
864
Sep ’18
Cannot preview most JPEG files from Files app
I have recently purchased an iPhone coming from Android and placed all my documents on iCloud. When using the File app, I tap on some JPEG files in my Documents folder. They will fase about 5 times, each time if flashes it shows the image briefly, however, after that no image is shown. Sometimes they do not even flash, Files app will only show the loader and the word LOADING right below it, and no preview is shown. iOS version is 15.4.1. One thing that differentiates one file with a problem and file without problems is the file size. My JPEG with issues on my physical device are way larger at the order of 20 to 60 MB. If I pretend to share the file and save to iPhone instead, I can view it normally from Photos app, but these are document images I do not want to have in Photos because they belong to a folder with other document types as well, for the sake of organization. Interestingly, on my MacBook Pro, I open an iOS simulator, in this case, a 15
0
0
1.2k
May ’22
(iPadOS)Possible causes for files in the files app to suddenly stop displaying file previews?
Hello I hope this is the correct place to post this question though I actually may have a few questions in this post. I am not a developer by any means, I am a graphic designer and I am dealing with a peculiar problem on my iPad and I would like to know why it’s happening and what is causing it. How does iPadOS/iCloud/Files app handle file thumbnail previews? Where are these images stored? What could suddenly cause an app on my iPad to stop showing the file preview thumbnail and instead display the generic app logo as the thumbnail preview for the files? This is the only file type to suddenly stop showing the actual file contents preview. The file type I am referring to is a .afdesign file for the Affinity Designer app. I am sure there is not much I am able to do to revert the file preview back to the original contents but I am just curious what could cause the files to do that. I have already contacted Affinity support
0
0
372
Dec ’21
Store file on app and compare it with a recorded file.
How would I store a file inside an app and when another sound file is recorded compare it with the saved sound? For example, I have a file named file.mp3 when the user hits the record button and records a sound imitating the sound in file.mp3. I would then tell the user how simular the recorded sound is to the saved sound . So how would I do this. I am already able to record and save the sounds locally on the app but how would I then do this other stuff?
3
0
595
Feb ’17
Non existent files shown in files app
I have a files provider app that seems to be working perfectly except for one thing. If I have a directory open in the files provider app and then put the app into the backround and while in the background a file is renamed in the open directory via some other app, then when the files app comes back into the foreground it shows the file with the old name as well as the new name. I can see via logging that the FileproviderEnumerator is being closed when the app is moved to the background and then reopened when it is moved back into the foreground and I can also see that the correct file names are loaded into it when enumerating. It looks like the files app doesn't check to see if what it currently has in its cache matches what was just loaded and remove anything that is missing. To make it more confusing this only appears to be a problem on some devices and not others. It is a problem on my iPad running iPadOS 15.2.1. I have tried having the parent
0
0
955
Jan ’22
macos save file with file protectionType complete
I'm writing to save data on multiple platforms. I uses https://github.com/apple/swift-tools-support-core and extend the fileSystem there to set some extra attributes for IOS. I also would like to set it for macOS but there seams to be a problem in my understanding of the FileProtectionType.complete. This type is available on both macOS and iOS. But on macOS when I try it results in an error. Is the FileProtectionType.complete not available in a macOS sandbox app? my code is. import TSCBasic import Foundation var filesystem: FileSystem = localFileSystem extension FileSystem { /// Attemps to set the `FileProtectionType.complete` when on Apple platforms, otherwise it just writes the bytes /// - Parameter file: the file to change the protection type off /// - Throws: `NSError` occuring when changing file attributes. func writeWithCompleteProtectionOniOS(file: AbsolutePath, content: String) throws { guard let data = content.data(using: .utf8) else { throw AgreesError.invalidUTF8
0
0
593
Jan ’21
QLPreviewingController can access previewed file, but cannot load files referenced by the previewed file
I have an app on the Mac App Store (so sandboxed) that includes a QuickLook Preview Extension that targets Markdown files. It established a QLPreviewingController instance for the macOS QuickLook system to access and it works. I'm in the process of updating it so that it displays inline images referenced in the file as well as styling the file's text. However, despite setting Downloads folder read-only access permission (and user-selected, though I know that shouldn't be required: no open/save dialogs here) in the extension's entitlements, Sandbox refuses too allow access to the test image: I always get a deny(1) file-read-data error in the log. FWIW, the test file is referenced in the source Markdown as an absolute unix file path. I've tried different signings and no joy. I’ve tried placing the referenced image in various other locations. Also no joy. All I can display is the error-case bundle image for 'missing image'. Question is, is this simply somethi
0
0
387
Jan ’25