From a9e96416a820f5fd4683f9a3a291b866f47c3cfd Mon Sep 17 00:00:00 2001 From: Shazron Abdullah Date: Tue, 5 Jan 2016 16:00:12 -0800 Subject: [PATCH] Fixes #194 - Segmentation fault: 11 --- src/ios-deploy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios-deploy.c b/src/ios-deploy.c index 44c7a91..7d039b6 100644 --- a/src/ios-deploy.c +++ b/src/ios-deploy.c @@ -1266,7 +1266,7 @@ service_conn_t start_house_arrest_service(AMDeviceRef device) { CFStringRef cf_bundle_id = CFStringCreateWithCString(NULL, bundle_id, kCFStringEncodingUTF8); if (AMDeviceStartHouseArrestService(device, cf_bundle_id, 0, &houseFd, 0) != 0) { - on_error(@"Unable to find bundle with id: %@", bundle_id); + on_error(@"Unable to find bundle with id: %@", [NSString stringWithUTF8String:bundle_id]); } check_error(AMDeviceStopSession(device));