iOS Question Crash after page resize

This is my first B4i app, so bear with me...

My app is crashing on startup and I get this on the log:

Application_Start
Application_Active
When page_resize event raised : 13:32:04
SignalHandler 6
Error occurred on line: 360 (Main)
Signal - 6
Stack Trace: (
"0 Shaknspin Companion App 0x00000001009f2654 SignalHandler + 120",
"1 libsystem_platform.dylib 0x00000001ed8ccd9c ABA70F95-77D9-37FD-B287-998CD4D565E1 + 28060",
"2 libsystem_kernel.dylib 0x00000001d123c92c B9B71733-3791-3116-A5E2-6159FABF74A2 + 174380",
"3 libsystem_kernel.dylib 0x00000001d123c95c B9B71733-3791-3116-A5E2-6159FABF74A2 + 174428",
"4 TCC TCCAccessRequest + 0",
"5 TCC 91A3EAC0-DBEE-3D9A-96D8-EB25B6FDA3C1 + 12736",
"6 TCC 91A3EAC0-DBEE-3D9A-96D8-EB25B6FDA3C1 + 29292",
"7 libxpc.dylib 71B8F9FC-CEC6-34D9-94CD-3A801FE709BF + 99512",
"8 libxpc.dylib 71B8F9FC-CEC6-34D9-94CD-3A801FE709BF + 52144",
"9 libdispatch.dylib 3BBE17AC-597B-3B79-91AC-21A5523E7BD7 + 398104"
)


Line 360 is the end of the page resize Sub:

358 Private Sub Page1_Resize(Width As Int, Height As Int)
359 Log("When page_resize event raised : " & DateTime.Time(DateTime.Now))
360 End Sub

Why is this happening ?
 
It will connect yo a BLE peripheral and extract some data from it.

I have this one because I will email a temporary file at the end
#PlistExtra: <key>UIFileSharingEnabled</key><true/>

Should I need something specific to BLE ?
 
Upvote 0
Wait...

I added
#PlistExtra: <key>NSBluetoothAlwaysUsageDescription</key><string>Bluetooth used to connect to ...</string>
and it's working now
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…