Promotional video of the Simionic simulator for Garmin G1000 (iPad app) Chen Li. Unsubscribe from Chen Li? Cancel Unsubscribe. Subscribe Subscribed Unsubscribe 92.
I needed a persistent shortcut to my app's documents directory, for quick debugging. After application didFinishLaunchingWithOptions. #if DEBUG NSString.appName = NSBundle mainBundle objectForInfoDictionaryKey:@'CFBundleName'; NSString.aliasPath = NSString stringWithFormat:@'XCodePaths/%@', appName; remove(aliasPath UTF8String); NSFileManager defaultManagercreateSymbolicLinkAtPath:aliasPath withDestinationPath:DOCSDIR error:nil; #endif Now I've got a simlink that works, even though iOS8 + XCode6 changes my App's Data GUID everytime I build. – Sep 22 '14 at 17:56.
I wrestled with this for some time. It became a huge pain to simply get to my local sqlite db. I wrote this script and made it a code snippet inside XCode. I place it inside my appDidFinishLaunching inside my appDelegate. //xcode 6 moves the documents dir every time. Haven't found out why yet.
The simulator puts the file in /Library/Developer/CoreSimulator/Devices/. But the path after /Devices is different for everyone. Use this handy method. It returns the path of the temporary directory for the current user and takes no argument. NSString. NSTemporaryDirectory ( void ); So in my ViewController class I usually put this line in my viewDidLoad just for a reference when I need to grab my CoreData stored file. Hope this helps.
NSLog(@'FILE PATH:%@', NSTemporaryDirectory); (Note: to go to the path, from the finder menu click on Go and type /Library to open hidden directory then in the Finder Window you can click on the path shown on your console.). The simulators are located under: /Library/Developer/CoreSimulator/ Here, they are listed as directories with UUID names.
Use sort by 'Date modified' to find the latest one. Inside navigate to: /data/Containers/Data/Application/ Here you will get a list of all the applications on that device. You can again sort this to get the latest app. NOTE: Xcode changes the directory name every time you run the app, so don't rely on making alias/short cuts on desktop.
The easiest way is to use the app, which does everything automatically. With Swift 4, you can use the code below to get your app's home directory. Your app's document directory is in there. Print(NSHomeDirectory). I think you already know that your app's home directory is changeable, so if you don't want to add additional code to your codebase, is a nice tool for you.
And further more, you may wonder is there a tool, that can help you save time from closing and reopening same SQLite database every time after your app's home directory be changed. And the answer is yes, a tool I know is. From it's document, it says that: Handle database file name or directory changes. This makes SQLiteFlow can work friendly with your SQLite database in iOS simulator.
The only PC trainer I know is the one provided by Garmin. For continental student, might be delivered quicker and at a better price (note that the French boutique sells an earlier version) You can read on the Garmin website This PC Trainer operates on Windows® 2000/XP/Vista®/7 platforms only; Windows 8/8.1 and Mac® operating systems are not supported At some point my old Windows 7 laptop will cease to work, and most of my students don’t have any legacy computer at hand.
My first idea would be to look for another piece of software. Is there any? The other idea would be to use an emulator. I could use one with some success to emulate the G430 on my Mac during my CPL training. Have any of tried with the G1000? I use an old version (8.13). I could not find any GNSS approach in it.
1 Where is the oldest GNSS approach published? I suppose it’s not in Europe. 2 If you have a newer version are there any GNSS approaches in it?
EDIT may be that post should be in Avionics?