thughesimsuk Member Licensed User Longtime User Mar 21, 2017 #1 I have an app that works perfectly in debug mode. When I run the release I cant pull any records from the db3? I don't get errors or anything just blank tables where my records normally appear in debug. For clarification I have a db3 file that I copy from File.DirAssets into File.DirDocuments, when a user logs in. Then I use iSQL to manage the rest. Is there a permission that I need to set for release? I have an "IOS distribution" and "IOS development" certificate as I thought that would be the issue but I have tried both and still cant the database working in release mode. Any help would be welcome as this is costing me time now on my project. Many thanks, Tom
I have an app that works perfectly in debug mode. When I run the release I cant pull any records from the db3? I don't get errors or anything just blank tables where my records normally appear in debug. For clarification I have a db3 file that I copy from File.DirAssets into File.DirDocuments, when a user logs in. Then I use iSQL to manage the rest. Is there a permission that I need to set for release? I have an "IOS distribution" and "IOS development" certificate as I thought that would be the issue but I have tried both and still cant the database working in release mode. Any help would be welcome as this is costing me time now on my project. Many thanks, Tom
Erel B4X founder Staff member Licensed User Longtime User Mar 21, 2017 #2 You should use iReleaseLogger to be able to see the logs in release mode and understand what happens. Upvote 0
You should use iReleaseLogger to be able to see the logs in release mode and understand what happens.
thughesimsuk Member Licensed User Longtime User Mar 21, 2017 #3 Erel said: You should use iReleaseLogger to be able to see the logs in release mode and understand what happens. Click to expand... Thanks Erel. I have done as you have said but can't seem to get anything working with the logs? I have created a firewall rule to allow port : 54323. And confirmed my desktop IP address. I uninstall my app then I hit "Build Release App" which compiles with no errors, but the b4ilogger does not give any reports? Upvote 0
Erel said: You should use iReleaseLogger to be able to see the logs in release mode and understand what happens. Click to expand... Thanks Erel. I have done as you have said but can't seem to get anything working with the logs? I have created a firewall rule to allow port : 54323. And confirmed my desktop IP address. I uninstall my app then I hit "Build Release App" which compiles with no errors, but the b4ilogger does not give any reports?
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2017 #4 Are you running the B4J program? Upvote 0
thughesimsuk Member Licensed User Longtime User Mar 22, 2017 #5 Erel said: Are you running the B4J program? Click to expand... Hi Erel Yes, It is listening to port 54323. I also tried disabling the firewall but that had no effect. I am using a local mac computer to compile the code. Upvote 0
Erel said: Are you running the B4J program? Click to expand... Hi Erel Yes, It is listening to port 54323. I also tried disabling the firewall but that had no effect. I am using a local mac computer to compile the code.
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2017 #6 Another option is to connect the iPhone to the Mac and use this app to read the logs: https://lemonjar.com/iosconsole/ On iOS 10 the logs are full of noise. You should filter based on your app name. Upvote 0
Another option is to connect the iPhone to the Mac and use this app to read the logs: https://lemonjar.com/iosconsole/ On iOS 10 the logs are full of noise. You should filter based on your app name.
thughesimsuk Member Licensed User Longtime User Mar 22, 2017 #7 Erel said: Another option is to connect the iPhone to the Mac and use this app to read the logs: https://lemonjar.com/iosconsole/ On iOS 10 the logs are full of noise. You should filter based on your app name. Click to expand... Thanks Erel, I will give that a go. Upvote 0
Erel said: Another option is to connect the iPhone to the Mac and use this app to read the logs: https://lemonjar.com/iosconsole/ On iOS 10 the logs are full of noise. You should filter based on your app name. Click to expand... Thanks Erel, I will give that a go.
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2017 #8 If you like you can upload your project and I'll test it here. Upvote 0
thughesimsuk Member Licensed User Longtime User Mar 22, 2017 #9 thughesimsuk said: Thanks Erel, I will give that a go. Click to expand... Hi Erel I have installed the iosconsole and get a flood of reports now! thankyou again for the advice. I have identifed that I am getting a "Sandbox Violation" when I try to tap into the db3 for records. Any advice? Code: Copy 22/03/2017, 09:36:33 kernel(Sandbox)[0]: SandboxViolation: P4A(1665) deny(1) network-outbound *:54323 Upvote 0
thughesimsuk said: Thanks Erel, I will give that a go. Click to expand... Hi Erel I have installed the iosconsole and get a flood of reports now! thankyou again for the advice. I have identifed that I am getting a "Sandbox Violation" when I try to tap into the db3 for records. Any advice? Code: Copy 22/03/2017, 09:36:33 kernel(Sandbox)[0]: SandboxViolation: P4A(1665) deny(1) network-outbound *:54323
thughesimsuk Member Licensed User Longtime User Mar 22, 2017 #10 Erel said: If you like you can upload your project and I'll test it here. Click to expand... Thanks Erel. I cant post the application because it has company sensitive data. I will however make a new project with a simple table of data and see what happens when I release it. If I still encounter issues maybe I could send you that. Again I would like to give thanks to the advice and help. Upvote 0
Erel said: If you like you can upload your project and I'll test it here. Click to expand... Thanks Erel. I cant post the application because it has company sensitive data. I will however make a new project with a simple table of data and see what happens when I release it. If I still encounter issues maybe I could send you that. Again I would like to give thanks to the advice and help.
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2017 #11 thughesimsuk said: I have identifed that I am getting a "Sandbox Violation" when I try to tap into the db3 for records. Any advice? Click to expand... This is related to iReleaseLogger. Are you testing it on a real device? Upvote 0
thughesimsuk said: I have identifed that I am getting a "Sandbox Violation" when I try to tap into the db3 for records. Any advice? Click to expand... This is related to iReleaseLogger. Are you testing it on a real device?
thughesimsuk Member Licensed User Longtime User Mar 22, 2017 #12 Erel said: This is related to iReleaseLogger. Are you testing it on a real device? Click to expand... Yes, I have an ipad air that im using as my test device. That's what the iosconsole(https://lemonjar.com/iosconsole/) came up with. Upvote 0
Erel said: This is related to iReleaseLogger. Are you testing it on a real device? Click to expand... Yes, I have an ipad air that im using as my test device. That's what the iosconsole(https://lemonjar.com/iosconsole/) came up with.
Erel B4X founder Staff member Licensed User Longtime User Mar 23, 2017 #13 Remove iReleaseLogger and look for the standard logs in iosconsole. Upvote 0
thughesimsuk Member Licensed User Longtime User Mar 29, 2017 #14 Erel said: If you like you can upload your project and I'll test it here. Click to expand... Could someone please test this. The DB3 wont load when I release, but works fine in debug. Thanks. Attachments db3_issue.zip db3_issue.zip 382.7 KB · Views: 665 Upvote 0
Erel said: If you like you can upload your project and I'll test it here. Click to expand... Could someone please test this. The DB3 wont load when I release, but works fine in debug. Thanks.
Erel B4X founder Staff member Licensed User Longtime User Mar 29, 2017 #15 Seems like the zip file is invalid. Upvote 0
thughesimsuk Member Licensed User Longtime User Mar 29, 2017 #16 Erel said: Seems like the zip file is invalid. Click to expand... Attachments db3_issue.zip db3_issue.zip 400.5 KB · Views: 669 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 30, 2017 #17 How can I reproduce it? I just see a list of items. BTW, you should use CustomListView to implement the list. Upvote 0
How can I reproduce it? I just see a list of items. BTW, you should use CustomListView to implement the list.
thughesimsuk Member Licensed User Longtime User Mar 30, 2017 #18 Erel said: How can I reproduce it? I just see a list of items. BTW, you should use CustomListView to implement the list. Click to expand... When I "Build Server > Build Release App" I don't see any records. But when I debug it all works fine? Upvote 0
Erel said: How can I reproduce it? I just see a list of items. BTW, you should use CustomListView to implement the list. Click to expand... When I "Build Server > Build Release App" I don't see any records. But when I debug it all works fine?
Erel B4X founder Staff member Licensed User Longtime User Mar 30, 2017 #19 It works fine here. Try to uninstall the existing app before you install the new one. Upvote 0
thughesimsuk Member Licensed User Longtime User Mar 30, 2017 #20 Erel said: It works fine here. Try to uninstall the existing app before you install the new one. Click to expand... Yeah, I uninstall and still the same. Could this be an issue related to certificates? Would it be worth me trying an install on another device? Upvote 0
Erel said: It works fine here. Try to uninstall the existing app before you install the new one. Click to expand... Yeah, I uninstall and still the same. Could this be an issue related to certificates? Would it be worth me trying an install on another device?