Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Strange behaviour... apps that appear to stop working
Started by sembleton Jun 27 2018 04:42 AM

6 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

sembleton

[GLOBAL: userInfoPane.html]
sembleton
  • Enthusiast

  • 64 posts
  • Corona SDK

Here is a weirdness that i cant explain...I create an app install using a development cert. on ipad or iphone..The app runs as expected for about a month then one day I launch the app and it seems to immediately fail no indications, no errors just tap the app and it seems to open and then  close. However if i double tap the home button i can see the app running!! Even stranger ALL the apps created like this fail AT THE SAME TIME!! This behaviour does not happen with apps created before the introduction of the Corona splash screen.... If i rebuild the apps they then start working fine but only for about a month.... Did i miss some restriction around using the splash screen? These apps were never created for general distribution just for my own internal use so i saw no need to pay to remove the splash screen.however the data in their documents folders is important to me...any ideas..has anyone else seen this behaviour? Plus any ideas on how i might get access the data in these apps documents folders? Could someone point me to the information around using the Corona Splash screen.,



[TOPIC: post.html]
#2

nick_sherman

[GLOBAL: userInfoPane.html]
nick_sherman
  • Corona Geek

  • 1,458 posts
  • Corona SDK

Pretty sure this is an iOS thing....development signed apps only work for a short period. Think this is to stop people creating apps and sideloading them on client's devices without paying for an apple dev account.

This allows you to install apps on devices without having to add the device ID to the provisioning profile, but with this down side.

[TOPIC: post.html]
#3

nick_sherman

[GLOBAL: userInfoPane.html]
nick_sherman
  • Corona Geek

  • 1,458 posts
  • Corona SDK

The sideload period is actually 7 days, so maybe this isn't the same thing...?



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,118 posts
  • Corona Staff

I believe the 7-day limit is for people who have not paid for a developer program membership yet. Apple has been messing around with how long various "test" versions of apps can run. I think with a paid developer account using a development profile it's 30 days. TestFlight is 90 days and AdHoc is 6 months.  You need an Enterprise developer account (Apple, not Corona) to sideload for longer periods.

 

Rob



[TOPIC: post.html]
#5

sembleton

[GLOBAL: userInfoPane.html]
sembleton
  • Enthusiast

  • 64 posts
  • Corona SDK

I did not know that..Thanks



[TOPIC: post.html]
#6

sembleton

[GLOBAL: userInfoPane.html]
sembleton
  • Enthusiast

  • 64 posts
  • Corona SDK

However this is the crash log for the app...

 

Incident Identifier: 80E6286C-E5EA-4CF1-BD48-D0D7AE69305C

CrashReporter Key:   6f6d0e69d39da87b1877d698d764c0e77f778082
Hardware Model:      iPhone6,1
Process:             shopping [3921]
Path:                /private/var/containers/Bundle/Application/B610E385-2CE3-4BFD-B8BF-24C36D0C5563/shopping.app/shopping
Identifier:          shopping
Version:             2018.03.051029 (1.0)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           shopping [4297]
 
 
Date/Time:           2018-03-05 10:29:47.4893 -0600
Launch Time:         2018-03-05 10:29:27.5492 -0600
OS Version:          iPhone OS 11.2.6 (15D100)
Baseband Version:    8.30.01
Report Version:      104
 
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000000000010a
VM Region Info: 0x10a is not in any region.  Bytes before following region: 4312383222
      REGION TYPE                      START - END             [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                 000000010109c000-00000001012b4000 [ 2144K] r-x/r-x SM=COW  ...app/shopping]
 
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
Triggered by Thread:  0


[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,118 posts
  • Corona Staff

Is there more information like a stack trace?

 

Rob




[topic_controls]
[/topic_controls]