From cc45a4800b153eb8f13f638681a62a5db0e02417 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 26 Jul 2013 14:44:40 -0700 Subject: [PATCH] Updated iOS (markdown) --- iOS.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/iOS.md b/iOS.md index 90abaa7..2e50493 100644 --- a/iOS.md +++ b/iOS.md @@ -33,6 +33,10 @@ Where `mapnik-test` is the name of the app: notice the actual symbol names are m To fix this you need to know several things about your build setup and XCode and then you will be equipped to set up Instruments to get access to your function symbols (and the ones inside Mapnik). +You also need to have you project in XCode configured to write `.dSYM` files for debugging (which sit next to your app): + + + - Check whether your Profile `scheme` (as xcode calls different build variants) is being build as debug or release. Both will work for profiling as far as symbols go. To know the scheme go to the Xcode menu and choose `Product > Scheme > Edit Scheme` and then on the left side of the drawer choose "Profile" then note whether the "Build Configuration" is Release or Debug for your given app and destination device. - Find your XCode `DerivedData` folder, which is where builds actually go. It is normally at `~/Library/Developer/Xcode/DerivedData` @@ -50,4 +54,4 @@ To fix this you need to know several things about your build setup and XCode and - Then hit "symbolicate" back in the previous window and you should find the symbols for both mapnik and your app now showing up by name in the call stack like: - + \ No newline at end of file