![]() Building these compilation databases is where I'm running to challenges. ![]() For instance, l'd like to use the CommonOptionsParser which requires arguments for the compilation database. I believe I need to build compilation databases in order for many Clang libraries to be used. I understand you can generate an AST dump from Apple's Clang but I instead want the full capabilities of the Clang libraries, not just the AST output. I will use that to analyze the AST from my IOS/Mac projects. ![]() I want to write C++ programs that link to the Clang libraries. I'd like to use the Clang AST tools for iOS/Mac projects. Let firstDayOfWeek = ponent(.weekday, from: dates.first?.date ? Date()) If anyone has successfully implemented a similar migration and has insights, I would appreciate hearing about it.įunc paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: ) ) Is this approach problematic? Is it not recommended by Apple? To avoid doing so, I believe the implementation would look like the below. I heard that combining StoreKit2 with the VerifyReceipt API is not recommended. In my app, there are two in-app purchase products implemented using Original StoreKit: Product A and Product B.įor each product, there are separate backend servers, and due to certain reasons, we need to migrate one of those servers to use the AppStore Server API instead of the VerifyReceipt API.ĭuring this migration, the iOS app needs to have code that combines both Original StoreKit and StoreKit2 for each product. I can handle this if I'm doing a PDF print from a web browser (repeating the process twice, which effectively creates a new file twice), but I have no idea what to do about PDF files made by others which I need to transfer multiple copies of.I have a question about migrating from Original StoreKit to StoreKit2. ![]() The only thing that works is if I create two files and transfer them to the iPad. OK, so no file-modifications I've tried out so far makes the iPad recognize them as different files. On the iPad I've opened up the Books app and searched for "test" which of course brings up any of the files above. What I've done to test all this to attach the iPad to my Mac with a USB cable, then opened up iTunes on the Mac and selected the contents of the iPad's books section (allowing me to add or delete PDF files). changed the modification date and time of a copy (using A Better Finder Attributes on the Mac)Īnd of course all the files have unique filenames, while still having some parts of the filename in common (so they can be looked up in an iPad search): changed the creation date and time of a copy (using A Better Finder Attributes on the Mac) You might be on to something here because I've tried modifying copies of the original PDF in multiple ways without any success -when transferring to the iPad, whichever copy that was last transferred replaces the original already there, regardless of which of the following methods I've used to modify the copy: Obviously I can follow step #1 above to solve the problem with PDFs I create myself, but how about other PDF files which I've received from elsewhere? After copying a file (in the Finder), is there a way to edit or re-assign it a new file-identifying ID or whatever the OS uses? I'm asking because I sometimes need to transfer multiple copies of the same PDF over to my iPad, but as noted above it'll refuse to do that. then create another PDF file from the exact same web page in Safari (and save it as "test2.pdf") I noticed that these files are recognized as two different files as far as the iPad transfer goes. I noticed this when attempting to transfer them over to an iPad.Ģ) If I create a PDF file from a web page in Safari (File-Print-PDF-Save as PDF), save it (i.e. then make a copy of it in the Finder (naming it to "test2.pdf") I noticed that these files are essentially recognized as the same file. What makes a file on the Mac unique? How does MacOS (Mojave and otherwise) distinguish one file from another? And can it be changed?ġ) If I create a PDF file from a web page in Safari (File-Print-PDF-Save as PDF), save it (i.e.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |