forked from mirrors/linphone-iphone
Add logs app group entitlements which fixes the log collection crash
This commit is contained in:
parent
4e44d764f8
commit
76b7681bf4
2 changed files with 2 additions and 2 deletions
|
|
@ -9,6 +9,7 @@
|
|||
<string>group.belledonne-communications.linphone</string>
|
||||
<string>group.org.linphone.phone.linphoneExtension</string>
|
||||
<string>group.org.linphone.phone.msgNotification</string>
|
||||
<string>group.org.linphone.phone.logs</string>
|
||||
</array>
|
||||
<key>com.apple.security.files.user-selected.read-only</key>
|
||||
<true/>
|
||||
|
|
|
|||
|
|
@ -34,8 +34,7 @@ class Log: LoggingServiceDelegate {
|
|||
|
||||
private init() {
|
||||
service.domain = Bundle.main.bundleIdentifier!
|
||||
// CRASH TO BE FIXED ??
|
||||
//Core.setLogCollectionPath(path: Factory.Instance.getDownloadDir(context: UnsafeMutablePointer<Int8>(mutating: (Config.appGroupName as NSString).utf8String)))
|
||||
Core.setLogCollectionPath(path: Factory.Instance.getDownloadDir(context: UnsafeMutablePointer<Int8>(mutating: (Config.appGroupName as NSString).utf8String)))
|
||||
Core.enableLogCollection(state: LogCollectionState.Enabled)
|
||||
setMask()
|
||||
LoggingService.Instance.addDelegate(delegate: self)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue