airsdk / apm

AIR Package Manager
https://repository.airsdk.dev/
MIT License
60 stars 10 forks source link

apm update - check have access to private packages before uninstalling #179

Closed Shaunmax closed 1 year ago

Shaunmax commented 1 year ago

Hello I just did an apm update and all the anes got uninstalled ? why did that happen ? If you want, I can share the screenshot in an email.

Shaunmax commented 1 year ago

Here is the terminal logs:

Last login: Sun Jun 18 18:50:07 on console
companymac@MacBook-Pro projectname % apm update
✓ Found package: com.distriqt.Exceptions@3.1.0    
Uninstall package : com.distriqt.Exceptions
✓ Removed package : com.distriqt.Exceptions                               
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.SystemGestures@2.2.0    
Uninstall package : com.distriqt.SystemGestures
✓ Removed package : com.distriqt.SystemGestures                                   
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.admob.AdColony@4.9.3    
Uninstall package : com.distriqt.admob.AdColony
✓ Removed package : com.distriqt.admob.AdColony                                   
Uninstall package : com.distriqt.Adverts
✓ Removed package : com.distriqt.Adverts                            
Uninstall package : com.google.code.gson
com.google.code.gson :: Required by another package - skipping uninstall
Uninstall package : androidx.work
androidx.work :: Required by another package - skipping uninstall
Uninstall package : androidx.room
androidx.room :: Required by another package - skipping uninstall
Uninstall package : androidx.vectordrawable
androidx.vectordrawable :: Required by another package - skipping uninstall
Uninstall package : androidx.constraintlayout
androidx.constraintlayout :: Required by another package - skipping uninstall
Uninstall package : androidx.core
androidx.core :: Required by another package - skipping uninstall
Uninstall package : androidx.browser
androidx.browser :: Required by another package - skipping uninstall
Uninstall package : androidx.appcompat
androidx.appcompat :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.playservices.Ads
✓ Removed package : com.distriqt.playservices.Ads                                     
Uninstall package : com.distriqt.playservices.Base
com.distriqt.playservices.Base :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.GoogleAnalytics@4.2.0    
Uninstall package : com.distriqt.GoogleAnalytics
✓ Removed package : com.distriqt.GoogleAnalytics                                    
Uninstall package : com.distriqt.playservices.Analytics
com.distriqt.playservices.Analytics :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.playservices.Base
com.distriqt.playservices.Base :: Required by another package - skipping uninstall
Uninstall package : androidx.core
androidx.core :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.PushNotifications-OneSignal@11.3.1   
Uninstall package : com.distriqt.PushNotifications-OneSignal
✓ Removed package : com.distriqt.PushNotifications-OneSignal                                                
Uninstall package : io.grpc
io.grpc :: Required by another package - skipping uninstall
Uninstall package : io.reactivex
✓ Removed package : io.reactivex                    
Uninstall package : androidx.work
✓ Removed package : androidx.work                     
Uninstall package : androidx.vectordrawable
androidx.vectordrawable :: Required by another package - skipping uninstall
Uninstall package : androidx.room
✓ Removed package : androidx.room                     
Uninstall package : androidx.exifinterface
✓ Removed package : androidx.exifinterface                              
Uninstall package : androidx.emoji2
androidx.emoji2 :: Required by another package - skipping uninstall
Uninstall package : androidx.core
androidx.core :: Required by another package - skipping uninstall
Uninstall package : androidx.constraintlayout
✓ Removed package : androidx.constraintlayout                                 
Uninstall package : androidx.cardview
✓ Removed package : androidx.cardview                         
Uninstall package : androidx.browser
androidx.browser :: Required by another package - skipping uninstall
Uninstall package : androidx.appcompat
androidx.appcompat :: Required by another package - skipping uninstall
Uninstall package : com.bumptech.glide
✓ Removed package : com.bumptech.glide                          
Uninstall package : com.google.protobuflite
com.google.protobuflite :: Required by another package - skipping uninstall
Uninstall package : com.google.guava
com.google.guava :: Required by another package - skipping uninstall
Uninstall package : com.google.dagger
com.google.dagger :: Required by another package - skipping uninstall
Uninstall package : com.google.code.gson
✓ Removed package : com.google.code.gson                            
Uninstall package : com.google.android.datatransport
com.google.android.datatransport :: Required by another package - skipping uninstall
Uninstall package : com.jetbrains.kotlin
✓ Removed package : com.jetbrains.kotlin                            
Uninstall package : com.google.firebase.core
com.google.firebase.core :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.playservices.CloudMessaging
com.distriqt.playservices.CloudMessaging :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.playservices.Base
com.distriqt.playservices.Base :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.Firebase@7.3.0    
Uninstall package : com.distriqt.Firebase
✓ Removed package : com.distriqt.Firebase                             
Uninstall package : com.distriqt.playservices.Base
com.distriqt.playservices.Base :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.playservices.AdsIdentifier
com.distriqt.playservices.AdsIdentifier :: Required by another package - skipping uninstall
Uninstall package : androidx.core
androidx.core :: Required by another package - skipping uninstall
Uninstall package : com.google.firebase.core
✓ Removed package : com.google.firebase.core                                
Uninstall package : com.distriqt.playservices.CloudMessaging
✓ Removed package : com.distriqt.playservices.CloudMessaging                                                
Uninstall package : com.google.android.datatransport
com.google.android.datatransport :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.firebase.Crashlytics@7.3.0    
Uninstall package : com.distriqt.firebase.Crashlytics
✓ Removed package : com.distriqt.firebase.Crashlytics                                         
Uninstall package : com.google.dagger
com.google.dagger :: Required by another package - skipping uninstall
Uninstall package : com.google.android.datatransport
com.google.android.datatransport :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.Share@7.4.2    
Uninstall package : com.distriqt.Share
✓ Removed package : com.distriqt.Share                          
Uninstall package : androidx.core
androidx.core :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.firebase.Performance@7.3.0    
Uninstall package : com.distriqt.firebase.Performance
✓ Removed package : com.distriqt.firebase.Performance                                         
Uninstall package : com.distriqt.square.okhttp3
✓ Removed package : com.distriqt.square.okhttp3                                   
Uninstall package : com.google.protobuflite
com.google.protobuflite :: Required by another package - skipping uninstall
Uninstall package : com.google.dagger
✓ Removed package : com.google.dagger                         
Uninstall package : com.google.android.datatransport
✓ Removed package : com.google.android.datatransport                                        
Uninstall package : androidx.vectordrawable
androidx.vectordrawable :: Required by another package - skipping uninstall
Uninstall package : androidx.appcompat
androidx.appcompat :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.firebase.RemoteConfig
✓ Removed package : com.distriqt.firebase.RemoteConfig                                          
✓ Found package: com.distriqt.Application@6.12.0   
Uninstall package : com.distriqt.Application
✓ Removed package : com.distriqt.Application                                
Uninstall package : com.distriqt.playservices.AppSet
✓ Removed package : com.distriqt.playservices.AppSet                                        
Uninstall package : com.distriqt.playservices.Base
com.distriqt.playservices.Base :: Required by another package - skipping uninstall
Uninstall package : androidx.core
androidx.core :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.playservices.Base
com.distriqt.playservices.Base :: Required by another package - skipping uninstall
Uninstall package : androidx.core
androidx.core :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.ApplicationRater@6.3.2    
Uninstall package : com.distriqt.ApplicationRater
✓ Removed package : com.distriqt.ApplicationRater                                     
Uninstall package : com.google.android.play
com.google.android.play :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.firebase.Firestore@7.3.0    
Uninstall package : com.distriqt.firebase.Firestore
✓ Removed package : com.distriqt.firebase.Firestore                                       
Uninstall package : com.google.protobuflite
✓ Removed package : com.google.protobuflite                               
Uninstall package : io.grpc
✓ Removed package : io.grpc               
Uninstall package : com.google.guava
✓ Removed package : com.google.guava                        
Uninstall package : com.distriqt.square.okhttp
✓ Removed package : com.distriqt.square.okhttp                                  
Uninstall package : com.distriqt.firebase.Database
✓ Removed package : com.distriqt.firebase.Database                                      
Uninstall package : com.distriqt.firebase.Auth
com.distriqt.firebase.Auth :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.firebase.Auth
com.distriqt.firebase.Auth :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.InAppBilling@14.4.1   
Uninstall package : com.distriqt.InAppBilling
✓ Removed package : com.distriqt.InAppBilling                                 
Uninstall package : com.google.android.play
✓ Removed package : com.google.android.play                               
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.Flurry@7.1.0    
Uninstall package : com.distriqt.Flurry
✓ Removed package : com.distriqt.Flurry                           
Uninstall package : com.distriqt.playservices.Analytics
✓ Removed package : com.distriqt.playservices.Analytics                                           
Uninstall package : com.distriqt.playservices.Base
com.distriqt.playservices.Base :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.firebase.Storage@7.3.0    
Uninstall package : com.distriqt.firebase.Storage
✓ Removed package : com.distriqt.firebase.Storage                                     
Uninstall package : com.distriqt.firebase.Auth
✓ Removed package : com.distriqt.firebase.Auth                                  
Uninstall package : androidx.browser
✓ Removed package : androidx.browser                        
✓ Found package: com.distriqt.firebase.RemoteConfig@7.3.0    
✓ Found package: com.distriqt.Dialog@8.7.0    
Uninstall package : com.distriqt.Dialog
✓ Removed package : com.distriqt.Dialog                           
Uninstall package : androidx.vectordrawable
✓ Removed package : androidx.vectordrawable                               
Uninstall package : androidx.emoji2
✓ Removed package : androidx.emoji2                       
Uninstall package : androidx.appcompat
✓ Removed package : androidx.appcompat                          
Uninstall package : androidx.core
androidx.core :: Required by another package - skipping uninstall
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.Adverts@14.0.3   
✓ Found package: com.distriqt.IDFA@5.2.0    
Uninstall package : com.distriqt.IDFA
✓ Removed package : com.distriqt.IDFA                         
Uninstall package : androidx.core
✓ Removed package : androidx.core                     
Uninstall package : com.distriqt.playservices.AdsIdentifier
✓ Removed package : com.distriqt.playservices.AdsIdentifier                                               
Uninstall package : com.distriqt.playservices.Base
✓ Removed package : com.distriqt.playservices.Base                                      
Uninstall package : com.distriqt.Core
com.distriqt.Core :: Required by another package - skipping uninstall
✓ Found package: com.distriqt.ZipUtils@3.1.0    
Uninstall package : com.distriqt.ZipUtils
✓ Removed package : com.distriqt.ZipUtils                             
Uninstall package : com.distriqt.Core
✓ Removed package : com.distriqt.Core                         
✓ Found package: com.distriqt.Core@7.3.0   
✓ Found package: com.jetbrains.kotlin@1.8.10  
✓ Found package: com.distriqt.Adverts@14.0.3   
✓ Found package: com.distriqt.playservices.Base@18.0.101 
✓ Found package: androidx.core@1.6.2   
✓ Found package: com.distriqt.playservices.Analytics@18.0.101 
✓ Found package: androidx.appcompat@1.4.101 
✓ Found package: androidx.browser@1.3.1   
✓ Found package: androidx.constraintlayout@2.1.400 
✓ Found package: androidx.vectordrawable@1.1.2   
✓ Found package: androidx.room@2.3.1   
✓ Found package: androidx.work@2.7.1   
✓ Found package: com.google.code.gson@2.8.901 
✓ Found package: com.google.firebase.core@29.0.403 
✓ Found package: com.google.guava@31.0.102 
✓ Found package: com.jetbrains.kotlin@1.4.321 
✓ Found package: com.google.dagger@2.27.1   
✓ Found package: io.grpc@1.41.2   
✓ Found package: com.google.protobuflite@3.17.202 
✓ Found package: com.google.android.datatransport@3.0.2   
✓ Found package: com.distriqt.playservices.CloudMessaging@17.0.201 
✓ Found package: com.bumptech.glide@4.12.3   
✓ Found package: androidx.cardview@1.0.2   
✓ Found package: androidx.exifinterface@1.3.600 
✓ Found package: io.reactivex@2.0.202 
✓ Found package: androidx.emoji2@1.0.101 
✓ Found package: com.distriqt.playservices.AdsIdentifier@18.0.101 
✓ Found package: com.distriqt.square.okhttp3@3.12.102 
✓ Found package: com.distriqt.playservices.AppSet@16.1.201 
✓ Found package: com.google.android.play@1.10.301 
✓ Found package: com.distriqt.square.okhttp@2.7.502 
✓ Found package: com.distriqt.firebase.Auth@7.3.0   
✓ Found package: com.distriqt.firebase.Database@7.3.0   
✓ Found package: com.google.android.play@1.10.301
✓ Found package: com.distriqt.playservices.Base@18.1.1   
✓ Found package: com.distriqt.playservices.Ads@21.3.0   
✓ Found package: androidx.core@1.9.1   
✓ Found package: androidx.appcompat@1.6.100 
✓ Found package: androidx.browser@1.5.0   
✓ Found package: androidx.room@2.5.100 
✓ Found package: androidx.work@2.8.100 
✓ Found package: com.jetbrains.kotlin@1.8.10  
Installing package : com.google.dagger@2.27.1
✓ downloaded
⣽ extracting /Users/companymac/Projects/projectname/apm_packages/com.google.d✓ extracted    
Installed package : com.google.dagger@2.27.1
Installing package : com.distriqt.ZipUtils@3.1.0
✓ downloaded
⣻ extracting /Users/companymac/Projects/projectname/apm_packages/com.distriqt✓ extracted    
Installed package : com.distriqt.ZipUtils@3.1.0
Installing package : com.google.android.datatransport@3.0.2
✓ downloaded
⢿ extracting /Users/companymac/Projects/projectname/apm_packages/com.google.a✓ extracted    
Installed package : com.google.android.datatransport@3.0.2
Installing package : com.bumptech.glide@4.12.3
✓ downloaded
⡿ extracting /Users/companymac/Projects/projectname/apm_packages/com.bumptech✓ extracted    
Installed package : com.bumptech.glide@4.12.3
Installing package : com.distriqt.Firebase@7.3.0
✓ downloaded
⣟ extracting /Users/companymac/Projects/projectname/apm_packages/com.distriqt✓ extracted    
Installed package : com.distriqt.Firebase@7.3.0
Installing package : com.distriqt.Application@6.12.0
✓ downloaded
⣯ extracting /Users/companymac/Projects/projectname/apm_packages/com.distriqt✓ extracted    
Installed package : com.distriqt.Application@6.12.0
Installing package : androidx.emoji2@1.0.101
✓ downloaded
⣷ extracting /Users/companymac/Projects/projectname/apm_packages/androidx.emo✓ extracted    
Installed package : androidx.emoji2@1.0.101
Installing package : com.distriqt.InAppBilling@14.4.1
✓ downloaded
⣾ extracting /Users/companymac/Projects/projectname/apm_packages/com.distriqt✓ extracted    
Installed package : com.distriqt.InAppBilling@14.4.1
Installing package : com.distriqt.firebase.Database@7.3.0
✓ downloaded
⣽ extracting /Users/companymac/Projects/projectname/apm_packages/com.distriqt✓ extracted    
Installed package : com.distriqt.firebase.Database@7.3.0
Installing package : com.google.guava@31.0.102
✓ downloaded
⣻ extracting /Users/companymac/Projects/projectname/apm_packages/com.google.g✓ extracted    
Installed package : com.google.guava@31.0.102
Installing package : androidx.vectordrawable@1.1.2
✓ downloaded
⢿ extracting /Users/companymac/Projects/projectname/apm_packages/androidx.vec✓ extracted    
Installed package : androidx.vectordrawable@1.1.2
Installing package : com.google.code.gson@2.8.901
✓ downloaded
⡿ extracting /Users/companymac/Projects/projectname/apm_packages/com.google.c✓ extracted    
Installed package : com.google.code.gson@2.8.901
Installing package : androidx.cardview@1.0.2
✓ downloaded
⣟ extracting /Users/companymac/Projects/projectname/apm_packages/androidx.car✓ extracted    
Installed package : androidx.cardview@1.0.2
Installing package : com.google.protobuflite@3.17.202
✓ downloaded
⣯ extracting /Users/companymac/Projects/projectname/apm_packages/com.google.p✓ extracted    
Installed package : com.google.protobuflite@3.17.202
Installing package : com.distriqt.GoogleAnalytics@4.2.0
✓ downloaded
⣷ extracting /Users/companymac/Projects/projectname/apm_packages/com.distriqt✓ extracted    
Installed package : com.distriqt.GoogleAnalytics@4.2.0
Installing package : com.distriqt.firebase.Firestore@7.3.0
✓ downloaded
⣾ extracting /Users/companymac/Projects/projectname/apm_packages/com.distriqt⣽ extracting :   inflating: /Users/companymac/Projects/projectname/apm_packages/com.distriqt.firebase.Firestore/contents/ane/com.distriqt.firebase.Firestore.✓ extracted    
Installed package : com.distriqt.firebase.Firestore@7.3.0
Installing package : com.distriqt.Dialog@8.7.0
✗ [404] There was an issue accessing the package, this is a private package so check you have a valid license and that you have correctly set your github access token
ERROR :: Failed to install package : com.distriqt.Dialog@8.7.0
companymac@MacBook-Pro projectname % apm uninstall com.distriqt.Flurry
Nothing to uninstall
companymac@MacBook-Pro projectname % apm install com.distriqt.Dialog@8.7.0
✗ No package found matching : com.distriqt.Dialog@8.7.0@latest
companymac@MacBook-Pro projectname % apm generate app-descriptor
Android package name: air.com.company.appnameme
✓ Android manifest merge  
✓ iOS additions merge complete
✓ iOS entitlements merge complete
✓ App descriptor generated: /Users/companymac/Projects/projectname/src/appname-app.xml
companymac@MacBook-Pro projectname % 
marchbold commented 1 year ago

Hi,

The update command will uninstall an old version and then install the newer version. The uninstall is required as it removes all the files (assets etc) associated with the extension to ensure you don't have any old files left over. But looks as though the install failed due to your subscription having expired.

Has your subscription expired to the extensions you are using?

Shaunmax commented 1 year ago

Hi,

The update command will uninstall an old version and then install the newer version. The uninstall is required as it removes all the files (assets etc) associated with the extension to ensure you don't have any old files left over. But looks as though the install failed due to your subscription having expired.

Has your subscription expired to the extensions you are using?

No, my subscriptions are active.

image

In fact the other day I was able to update another project and did not face any issues there. Check that folder below :

image

I was planning to uninstall Flurry as I will be no longer using it in my projects. Also I can see that I have missed Dialog's subscription in February, but still my understanding is that - apm should not uninstall it and should allow me to keep it with no further updates.

marchbold commented 1 year ago

The issue is with com.distriqt.Dialog. Do you have an active subscription for that?

Shaunmax commented 1 year ago

No, it expired in February.

On Mon, Jun 19, 2023, 11:50 Michael @.***> wrote:

The issue is with com.distriqt.Dialog. Do you have an active subscription for that?

— Reply to this email directly, view it on GitHub https://github.com/airsdk/apm/issues/179#issuecomment-1596577887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6PAMTPGPUXLGCWBQYOX3DXL7VSXANCNFSM6AAAAAAZK5ECXA . You are receiving this because you authored the thread.Message ID: @.***>

marchbold commented 1 year ago

Yep, that would be it.

I might have to consider adding a check into the update process that checks you have access before starting the update. Will add this to my list.

Shaunmax commented 1 year ago

But all my other anes got uninstalled? Last week there was no issue with the other which was also using the same number of anes

On Mon, Jun 19, 2023, 12:08 Michael @.***> wrote:

Yep, that would be it.

I might have to consider adding a check into the update process that checks you have access before starting the update. Will add this to my list.

— Reply to this email directly, view it on GitHub https://github.com/airsdk/apm/issues/179#issuecomment-1596594705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6PAMXBBABTEOYKUWOWJV3XL7XVLANCNFSM6AAAAAAZK5ECXA . You are receiving this because you authored the thread.Message ID: @.***>

Shaunmax commented 1 year ago

@marchbold Also what should I do now? I need to push a new build asap! shall I copy the anes from my other projects ?

marchbold commented 1 year ago

@Shaunmax What version of apm are you using? I thought we had resolved that issue with the deletion when an install failed.

apm doesn't really handle your subscriptions as it isn't tied to distriqt's subscription system. It can only can access extensions you currently have access to.

As a quick fix I'd suggest you grab your extensions from your other projects if you need to get a build going quickly.

Shaunmax commented 1 year ago

What version of apm are you using?

I dont remember the version, but I can confirm that it was not the latest. I updated it to the latest only after this issue.

marchbold commented 1 year ago

Okay, that would explain a few things then, the older versions definitely had a bug where the project would be deleted if it failed in the last part of the update process.

Do you have it in version control so you can restore it easily?

Shaunmax commented 1 year ago

Do you have it in version control so you can restore it easily?

I think so, let me give it a try!

Shaunmax commented 1 year ago

@marchbold I was able to rollback, but now

when I try to do apm update i am getting Nothing to update - check the package identifier is correct

when i try apm uninstall com.distriqt.Flurry is get Nothing to uninstall

marchbold commented 1 year ago

Did you confirm the project.apm contained the extensions you expected? Try deleting the project lock file and apm_packages directory and just keep your project.apm. Then run apm install

Shaunmax commented 1 year ago

Did you confirm the project.apm contained the extensions you expected? Try deleting the project lock file and apm_packages directory and just keep your project.apm. Then run apm install

Nothing happened

Shaunmax commented 1 year ago

I am stuck with this project~

marchbold commented 1 year ago

Hi, Did you confirm that you had restored project.apm correctly and that it contained the extensions you expected?

Shaunmax commented 1 year ago

Hi, Did you confirm that you had restored project.apm correctly and that it contained the extensions you expected?

Yes, I did. Since I updated the AIR sdk, I am now forced to update the anes

Shaunmax commented 1 year ago

After doing lot's of trial & error testing finally I was able to update the anes using apm. But now the issue is that the app is crashing on iOS.

@marchbold in the Console window which process should I check to identify the crash reason ?

marchbold commented 1 year ago

In the Console app you should see your device on the left and then select the process that matches your application name.

Shaunmax commented 1 year ago

In the Console app you should see your device on the left and then select the process that matches your application name.

I can confirm that the crash is happening after updating anes .

image

Could it be that the apm generate app-descriptor is not properly adding extensions in the xml ?

here's my list

`

androidx.appcompat
<extensionID>androidx.browser</extensionID>
<extensionID>androidx.cardview</extensionID>
<extensionID>androidx.constraintlayout</extensionID>
<extensionID>androidx.core</extensionID>
<extensionID>androidx.emoji2</extensionID>
<extensionID>androidx.exifinterface</extensionID>
<extensionID>androidx.room</extensionID>
<extensionID>androidx.vectordrawable</extensionID>
<extensionID>androidx.work</extensionID>
<extensionID>com.bumptech.glide</extensionID>
<extensionID>com.digitalstrawberry.nativeExtensions.ANESounds</extensionID>
<extensionID>com.distriqt.Adverts</extensionID>
<extensionID>com.distriqt.Application</extensionID>
<extensionID>com.distriqt.ApplicationRater</extensionID>
<extensionID>com.distriqt.Core</extensionID>
<extensionID>com.distriqt.Dialog</extensionID>
<extensionID>com.distriqt.Exceptions</extensionID>
<extensionID>com.distriqt.Firebase</extensionID>
<extensionID>com.distriqt.GoogleAnalytics</extensionID>
<extensionID>com.distriqt.IDFA</extensionID>
<extensionID>com.distriqt.InAppBilling</extensionID>
<extensionID>com.distriqt.PushNotifications</extensionID>
<extensionID>com.distriqt.Share</extensionID>
<extensionID>com.distriqt.SystemGestures</extensionID>
<extensionID>com.distriqt.ZipUtils</extensionID>
<extensionID>com.distriqt.admob.AdColony</extensionID>
<extensionID>com.distriqt.firebase.Auth</extensionID>
<extensionID>com.distriqt.firebase.Crashlytics</extensionID>
<extensionID>com.distriqt.firebase.Database</extensionID>
<extensionID>com.distriqt.firebase.Firestore</extensionID>
<extensionID>com.distriqt.firebase.Performance</extensionID>
<extensionID>com.distriqt.firebase.RemoteConfig</extensionID>
<extensionID>com.distriqt.firebase.Storage</extensionID>
<extensionID>com.distriqt.playservices.Ads</extensionID>
<extensionID>com.distriqt.playservices.AdsIdentifier</extensionID>
<extensionID>com.distriqt.playservices.Analytics</extensionID>
<extensionID>com.distriqt.playservices.AppSet</extensionID>
<extensionID>com.distriqt.playservices.Base</extensionID>
<extensionID>com.distriqt.playservices.CloudMessaging</extensionID>
<extensionID>com.distriqt.square.okhttp</extensionID>
<extensionID>com.distriqt.square.okhttp3</extensionID>
<extensionID>com.google.android.datatransport</extensionID>
<extensionID>com.google.android.play</extensionID>
<extensionID>com.google.code.gson</extensionID>
<extensionID>com.google.dagger</extensionID>
<extensionID>com.google.firebase.core</extensionID>
<extensionID>com.google.guava</extensionID>
<extensionID>com.google.protobuflite</extensionID>
<extensionID>com.jetbrains.kotlin</extensionID>
<extensionID>io.grpc</extensionID>
<extensionID>io.reactivex</extensionID>

`

frome the console i got this :

[application<com.company.appname>:1949] Error disabling CPU monitoring: 3

Scene FBSceneManager/sceneID:com.company.appname-default update failed: <NSError: 0x2811e59b0; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
    NSUnderlyingError = <NSError: 0x2811e7060; domain: FBWorkspaceScene; code: 1; reason: "Client process exited.">;
}
marchbold commented 1 year ago

Is there any more in the logs?

Shaunmax commented 1 year ago

Is there any more in the logs?

I will share the whole log, for your reference, in a minute

Shaunmax commented 1 year ago

Is there any more in the logs?

Here is the full log for the filter com.company.appname

default 15:37:51.094691+0530    SpringBoard SBIconView touches began with event: <UITouchesEvent: 0x2827ecd00> timestamp: 150915 touches: {(
    <UITouch: 0xdf2b640c0> phase: Began tap count: 1 force: 0.000 window: <SBHomeScreenWindow: 0xdf29d34e0; HomeScreen-0xdf29d34e0-5; baseClass = UIWindow; frame = (0 0; 390 844); clipsToBounds = YES; opaque = NO; gestureRecognizers = <NSArray: 0x2813b2430>; layer = <UIWindowLayer: 0x2813b2280>> responder: <SBIconView: 0xdf20b2000; frame: {{120, 273}, {60, 74}}; icon: <SBApplicationIcon: 0x28335f700; nodeID: com.company.appname; bundleID: com.company.appname>; location: SBIconLocationRoot; isTouchDownInIcon: YES> location in window: {150.66665649414062, 280.33332824707031} previous location in window: {150.66665649414062, 280.33332824707031} location in view: {30.666656494140625, 7.3333282470703125} previous location in view: {30.666656494140625, 7.3333282470703125}
)}, tap gesture: <SBIconTapGestureRecognizer: 0xdf2b1c3a0; baseClass = UITapGestureRecognizer; state = Possible; view = <SBIconView: 0xdf20b2000>; target= <(action=tapGestureDi
default 15:37:51.198225+0530    SpringBoard [SwitcherOrientation] outSwitcherOrientation: landscapeRight (3), outElementsOrientations: {
    "sceneID:com.company.appname-default" = 3;
}
default 15:37:51.201929+0530    SpringBoard Asked to bootstrap a new process with identity: application<com.company.appname>
default 15:37:51.201957+0530    SpringBoard Creating process (sync=true) with identity: application<com.company.appname>
default 15:37:51.202043+0530    SpringBoard Created <FBWorkspace: 0x282b909a0; application<com.company.appname>>
default 15:37:51.202119+0530    SpringBoard Bootstrapping application<com.company.appname> with intent foreground-interactive
default 15:37:51.204696+0530    runningboardd   Acquiring assertion targeting application<com.company.appname> from originator [osservice<com.apple.SpringBoard>:34] with description <RBSAssertionDescriptor| "FBApplicationProcess" ID:33-34-382636 target:application<com.company.appname> attributes:[
    <RBSDomainAttribute| domain:"com.apple.frontboard" name:"Bootstrap-Foreground" sourceEnvironment:"(null)">,
    <RBSDomainAttribute| domain:"com.apple.frontboard" name:"Visibility" sourceEnvironment:"(null)">
    ]>
default 15:37:51.204858+0530    runningboardd   Assertion 33-34-382636 (target:application<com.company.appname>) will be created as active
default 15:37:51.205348+0530    runningboardd   Executing launch request for application<com.company.appname> (FBApplicationProcess)
default 15:37:51.207858+0530    runningboardd   preflightManager for <RBSLaunchRequest| application<com.company.appname>; "FBApplicationProcess"> -> ALLOWED
default 15:37:51.207885+0530    runningboardd   Creating and launching job for: application<com.company.appname>
default 15:37:51.207911+0530    runningboardd   _mutateContextIfNeeded called for com.company.appname
default 15:37:51.212949+0530    SpringBoard Updated preferences for <Switcher>:(
    "activationPolicyForParticipantsBelow: from AtMostForegroundActive to AtMostBackground",
    "homeGestureConsumption: Always",
    "homeAffordanceDrawingSuppression: from Suppress to Default",
    "associatedSceneIdentifiersToSuppressInSystemAperture: from {(\n)} to {(\n    \"sceneID:com.company.appname-default\"\n)}",
    "suppressSystemApertureForSystemChromeSuppression: NO",
    "associatedBundleIdentifiersToSuppressInSystemAperture: from {(\n)} to {(\n    \"com.company.appname\"\n)}"
)
default 15:37:51.213068+0530    SpringBoard Resolved Stack (
    "associatedSceneIdentifiersToSuppressInSystemAperture: from sceneID:com.company.appname-default to com.company.appname",
    "associatedBundleIdentifiersToSuppressInSystemAperture: from com.company.appname to nil",
    "systemApertureSuppressedForSystemChromeSuppression: NO",
    "<TransientOverlayPresentation> ownsHomeGesture: YES; activationState: ForegroundActive; suppression: Default;",
    "associatedSceneIdentifiersToSuppressInSystemAperture: from sceneID:com.company.appname-default to com.company.appname",
    "associatedBundleIdentifiersToSuppressInSystemAperture: from com.company.appname to nil",
    "systemApertureSuppressedForSystemChromeSuppression: NO",
    "<CoverSheet> ownsHomeGesture: YES; activationState: ForegroundActive; suppression: Default;",
    "associatedSceneIdentifiersToSuppressInSystemAperture: from sceneID:com.company.appname-default to com.company.appname",
    "associatedBundleIdentifiersToSuppressInSystemAperture: from com.p<…>
default 15:37:51.213197+0530    SpringBoard Updated preferences for <Switcher>:(
    "activationPolicyForParticipantsBelow: AtMostBackground",
    "homeGestureConsumption: Always",
    "homeAffordanceDrawingSuppression: Default",
    "associatedSceneIdentifiersToSuppressInSystemAperture: {(\n    \"sceneID:com.company.appname-default\"\n)}",
    "suppressSystemApertureForSystemChromeSuppression: NO",
    "associatedBundleIdentifiersToSuppressInSystemAperture: {(\n    \"com.company.appname\"\n)}"
)
default 15:37:51.213239+0530    SpringBoard Resolved Stack (
    "associatedSceneIdentifiersToSuppressInSystemAperture: from sceneID:com.company.appname-default to com.company.appname",
    "associatedBundleIdentifiersToSuppressInSystemAperture: com.company.appname",
    "systemApertureSuppressedForSystemChromeSuppression: NO",
    "<TransientOverlayPresentation> ownsHomeGesture: YES; activationState: ForegroundActive; suppression: Default;",
    "associatedSceneIdentifiersToSuppressInSystemAperture: from sceneID:com.company.appname-default to com.company.appname",
    "associatedBundleIdentifiersToSuppressInSystemAperture: com.company.appname",
    "systemApertureSuppressedForSystemChromeSuppression: NO",
    "<CoverSheet> ownsHomeGesture: YES; activationState: ForegroundActive; suppression: Default;",
    "associatedSceneIdentifiersToSuppressInSystemAperture: from sceneID:com.company.appname-default to com.company.appname",
    "associatedBundleIdentifiersToSuppressInSystemAperture: com.company.appname",
    "sy<…>
default 15:37:51.221242+0530    mediaserverd    <<<< FigCaptureDisplayLayoutMonitor >>>> -[FigCaptureDisplayLayoutMonitor _parseDisplayLayout:]: <FigCaptureDisplayLayoutMonitor: 0x62eb724f0 Main Display> <FBSDisplayLayout: 0x62eb857b0; displayIdentity: Main> {    bounds = {{0, 0}, {390, 844}};    interfaceOrientation = "portrait (1)";    backlightLevel = 100;    elements = {        <SBSDisplayLayoutElement: 0x62ea5bde0; sceneID:com.company.appname-default; bundleID: com.company.appname; frame: {{0, 0}, {390, 844}}; level: 1; role: primary>;    }    timestamp = 3 July 2023 at 3:37:51 PM IST;}
default 15:37:51.221272+0530    mediaserverd    <<<< FigCaptureDisplayLayoutMonitor >>>> -[FigCaptureDisplayLayoutMonitor _updateObserversWithLayout:]: <FigCaptureDisplayLayoutMonitor: 0x62eb724f0 Main Display> <FigCaptureDisplayLayout: 0x6318863d0 07-03-2023 15:37:51, Main Display, foreground:[com.company.appname]>
default 15:37:51.222755+0530    SpringBoard [Main] dispatch event:
<SBTransitionSwitcherModifierEvent: 0xdf5f0e4b0; type: MainTransition; transitionID: 9EEDA407-XXXX-XXXXX-9DAD-23BF1006A12D; phase: Prepare; animated: YES; fromAppLayout: 0x0; toAppLayout: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main>; fromEnvironmentMode: home-screen; toEnvironmentMode: application; fromOrientation: UIInterfaceOrientationPortrait; toOrientation: UIInterfaceOrientationLandscapeRight; fromSpaceConfiguration: undefined; toSpaceConfiguration: full; pendingTermination: {(
)}; activating: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main>; morphingPIPLayoutRole: undefined>
default 15:37:51.222784+0530    SpringBoard [Main] handle response:
<SBSwitcherModifierEventResponse: 0x28111cdb0> {
    <SBSwitcherModifierEventResponse: 0x28111e5b0> {
        <SBTimerEventSwitcherEventResponse: 0x28111d770; delay: 0.300000; reason: kSBTransitionModifierInvalidateAsyncRenderingReason>;
        <SBInvalidateAdjustedAppLayoutsSwitcherEventResponse: 0x28111d5f0>;
    };
    <SBSwitcherModifierEventResponse: 0x28111f360> {
        <SBUpdateLayoutSwitcherEventResponse: 0x280733b40; updateVisibleItems; layout; style; mode: None>;
        <SBRequestFolderSnapshotsSwitcherEventResponse: 0x28111fd80; snapshotRequested: YES>;
        <SBIconOverlayVisibilitySwitcherEventResponse: 0x2807321c0; visible: YES; appLayout: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main>>;
        <SBIconViewVisibilitySwitcherEventResponse: 0x283c3d7c0; visible: NO; animationSettings: 0x0; appLayout: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main>>;
        <SBTimerEventSwitcherEventResponse: 0x28111ec70; delay: 0
default 15:37:51.224190+0530    runningboardd   application<com.company.appname>: -[RBPersonaManager personaForIdentity:context:personaUID:personaUniqueString:] required 11.794925 ms (wallclock); resolved to {1000, 362A6044-90B2-4EA5-A5DA-670508672631}
default 15:37:51.224221+0530    runningboardd   'application<com.company.appname>' Skipping container path lookup because containerization was prevented (<RBSLaunchContext: 0x8d2d23660>)
default 15:37:51.224251+0530    runningboardd   'application<com.company.appname>' Constructed job description (context <RBSLaunchContext: 0x8d2d23660>):
<dictionary: 0x8d2874ce0> { count = 18, transaction: 0, voucher = 0x0, contents =
    "ProcessType" => <string: 0x8d289c7b0> { length = 3, contents = "App" }
    "EnableTransactions" => <bool: 0x222e7d5d0>: false
    "_ManagedBy" => <string: 0x8d284e630> { length = 22, contents = "com.apple.runningboard" }
    "CFBundleIdentifier" => <string: 0x8d2863730> { length = 24, contents = "com.company.appname" }
    "_ResourceCoalition" => <string: 0x8d287a340> { length = 37, contents = "application<com.company.appname>" }
    "ThrottleInterval" => <int64: 0x904173443f84725f>: 2147483647
    "PersonaEnterprise" => <int64: 0x90417347c07b92e7>: 1000
    "MachServices" => <dictionary: 0x8d2867600> { count = 0, transaction: 0, voucher = 0x0, contents =
    }
    "EnablePressuredExit" => <bool: 0x222e7d5d0>: false
    "InitialTaskRole" => <int64: 0x90417347c07b8daf>: 1
    "UserName" => <string: 0x8d28a8a10> { length = 6, contents = "mobile" }
    "EnvironmentV<…>
default 15:37:51.228423+0530    bluetoothd  SystemUI unknown identifier: 'sceneID:com.company.appname-default' / 'com.company.appname'
default 15:37:51.248501+0530    runningboardd   [application<com.company.appname>:2583] Memory Limits: active 2098 inactive 2098
 <private>
default 15:37:51.248539+0530    runningboardd   [application<com.company.appname>:2583] This process will be managed.
default 15:37:51.248646+0530    runningboardd   Now tracking process: [application<com.company.appname>:2583]
default 15:37:51.248908+0530    runningboardd   Calculated state for application<com.company.appname>: running-active (role: UserInteractiveFocal)
default 15:37:51.252221+0530    runningboardd   Using default underlying assertion for app: [application<com.company.appname>:2583]
default 15:37:51.253112+0530    runningboardd   Acquiring assertion targeting [application<com.company.appname>:2583] from originator [application<com.company.appname>:2583] with description <RBSAssertionDescriptor| "RB Underlying Assertion" ID:33-33-382637 target:2583 attributes:[
    <RBSDomainAttribute| domain:"com.apple.underlying" name:"defaultUnderlyingAppAssertion" sourceEnvironment:"(null)">,
    <RBSAcquisitionCompletionAttribute| policy:AfterApplication>
    ]>
default 15:37:51.253429+0530    runningboardd   Assertion 33-33-382637 (target:[application<com.company.appname>:2583]) will be created as active
default 15:37:51.254024+0530    runningboardd   [application<com.company.appname>:2583] Set jetsam priority to 100 [0] flag[1]
default 15:37:51.254100+0530    runningboardd   [application<com.company.appname>:2583] reported to RB as running
default 15:37:51.254136+0530    runningboardd   [application<com.company.appname>:2583] Resuming task.
default 15:37:51.254268+0530    runningboardd   [application<com.company.appname>:2583] Set darwin role to: UserInteractiveFocal
default 15:37:51.254625+0530    SpringBoard Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.255249+0530    runningboardd   Calculated state for application<com.company.appname>: running-active (role: UserInteractiveFocal)
default 15:37:51.255369+0530    runningboardd   [application<com.company.appname>:2583] set Memory Limits to Hard Active (2098)
default 15:37:51.255506+0530    runningboardd   [application<com.company.appname>:2583] set Memory Limits to Hard Active (2098)
default 15:37:51.255599+0530    runningboardd   Successfully acquired underlying assertion for [application<com.company.appname>:2583]
default 15:37:51.255793+0530    SpringBoard [application<com.company.appname>:2583] Bootstrap success!
default 15:37:51.255963+0530    SpringBoard [application<com.company.appname>:2583] Setting process task state to: Running
default 15:37:51.256031+0530    SpringBoard [application<com.company.appname>:2583] Setting process visibility to: Foreground
default 15:37:51.256149+0530    powerd  Process runningboardd.33 Created SystemIsActive "application<com.company.appname>33-34-382636:FBApplicationProcess" age:00:00:00  id:51539645489 [System: SysAct]
default 15:37:51.256400+0530    SpringBoard [application<com.company.appname>:2583] Registering event dispatcher at connect
default 15:37:51.256498+0530    SpringBoard [application<com.company.appname>:2583] Initial launch assertion state: ForegroundFocal.
default 15:37:51.256633+0530    SpringBoard Adding: <FBApplicationProcess: 0xdf5f39290; application<com.company.appname>:2583(v1C4D)>
default 15:37:51.268719+0530    mediaserverd    Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.269145+0530    accessoryd  Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.269336+0530    accessoryd  Posting application state change {
    ACCPlatformApplicationStateDisplayIDKey = "com.company.appname";
    ACCPlatformApplicationStateKey = 8;
    ACCPlatformApplicationStateProcessIDKey = 2583;
}
default 15:37:51.272838+0530    SpringBoard [Main] dispatch event:
<SBTransitionSwitcherModifierEvent: 0xdf5f0e4b0; type: MainTransition; transitionID: 9EEDA407-XXXX-XXXX-9DAD-23BF1006A12D; phase: Animate; animated: YES; fromAppLayout: 0x0; toAppLayout: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main>; fromEnvironmentMode: home-screen; toEnvironmentMode: application; fromOrientation: UIInterfaceOrientationPortrait; toOrientation: UIInterfaceOrientationLandscapeRight; fromSpaceConfiguration: undefined; toSpaceConfiguration: full; pendingTermination: {(
)}; activating: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main>; morphingPIPLayoutRole: undefined>
default 15:37:51.274194+0530    accessoryd  handling app state change notification {
    ACCPlatformApplicationStateDisplayIDKey = "com.company.appname";
    ACCPlatformApplicationStateKey = 8;
    ACCPlatformApplicationStateProcessIDKey = 2583;
}
default 15:37:51.275329+0530    runningboardd   [application<com.company.appname>:2583] termination reported by launchd (6, 1, 6)
default 15:37:51.275384+0530    runningboardd   Removing process: [application<com.company.appname>:2583]
default 15:37:51.275628+0530    runningboardd   Removing launch job for: [application<com.company.appname>:2583]
default 15:37:51.275958+0530    useractivityd   Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.275999+0530    locationd   Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.276038+0530    runningboardd   Removed job for [application<com.company.appname>:2583]
default 15:37:51.276134+0530    runningboardd   Removing assertions for terminated process: [application<com.company.appname>:2583]
default 15:37:51.276207+0530    runningboardd   Removed last relative-start-date-defining assertion for process application<com.company.appname>
default 15:37:51.276237+0530    aggregated  Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.277151+0530    locationd   {"msg":"invoking applicationStateChange handler", "StateChangeData":"{\n    BKSApplicationStateAppIsFrontmost = 1;\n    BKSApplicationStateExtensionKey = 0;\n    SBApplicationStateDisplayIDKey = \"com.company.appname\";\n    SBApplicationStateKey = 8;\n    SBApplicationStateProcessIDKey = 2583;\n    SBMostElevatedStateForProcessID = 8;\n}"}
default 15:37:51.277369+0530    locationd   {"msg":"Post Application State Change Notification", "notification":"ForegroundRunning", "pid":2583, "bundleId":"com.company.appname"}
default 15:37:51.279186+0530    powerd  Process runningboardd.33 Released SystemIsActive "application<com.company.appname>33-34-382636:FBApplicationProcess" age:00:00:00  id:51539645489 [System: SysAct]
default 15:37:51.280029+0530    runningboardd   Calculated state for application<com.company.appname>: none (role: None)
default 15:37:51.280405+0530    runningboardd   Calculated state for application<com.company.appname>: none (role: None)
default 15:37:51.282417+0530    IDSCredentialsAgent Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.282764+0530    SpringBoard [Main] dispatch event:
<SBSceneReadySwitcherModifierEvent: 0x281a63800; type: SceneReady; appLayout: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main> {
    configuration = full;
    itemsToLayoutAttributes = {
        sceneID:com.company.appname-default = <SBDisplayItemLayoutAttributes: 0x2829c2a00; contentOrientation: "landscapeRight (3)"; lastInteractionTime: 49; sizingPolicy: maximized; size: unspecified; center: unspecified; occlusionState: unknown; userConfiguredSizeBeforeOverlapping: unspecified; unoccludedPeekingCenter: unspecified>;
    }
    environment = main;
    centerConfiguration = undefined;
    preferredDisplayOrdinal = 0;
    continuousExposeIdentifier = com.company.appname;
    layoutItems = {
        primary = <SBDisplayItem: 0x28111d7d0; type: App; bundleIdentifier: com.company.appname; uniqueIdentifier: sceneID:com.company.appname-default>;
    }
}>
default 15:37:51.284660+0530    SpringBoard [0x2827bfdc0:(FBSceneManager):sceneID:com.company.appname-default] Initialized with workspace: 0x282b909a0.
default 15:37:51.284718+0530    backboardd  Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.284774+0530    SpringBoard [application<com.company.appname>:2583] Registered new scene: <FBUIApplicationWorkspaceScene: 0x2827bfdc0; (FBSceneManager):sceneID:com.company.appname-default> (fromRemnant = 0)
default 15:37:51.284801+0530    SpringBoard [sceneID:com.company.appname-default][1] Scene activated.
default 15:37:51.284876+0530    SpringBoard [application<com.company.appname>:2583] Workspace interruption policy did change: reconnect
error   15:37:51.285613+0530    SpringBoard [application<com.company.appname>:2583] Workspace afterlife assertion failed: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}
default 15:37:51.285927+0530    SpringBoard Now tracking: <FBScene: 0x2829a3780; FBSceneManager:sceneID:com.company.appname-default>
default 15:37:51.286030+0530    SpringBoard [sceneID:com.company.appname-default] Setting deactivation reasons to: 'systemAnimation' for reason: scene settings update - settings are eligible for deactivation reasons.
default 15:37:51.286372+0530    dasd    Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.287178+0530    symptomsd   Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.287447+0530    SpringBoard didAddExternalForegroundApplicationSceneHandle pid:2583 scene:com.apple.frontboard.systemappservices::FBSceneManager:sceneID%3Acom.company.appname-default now:<recentPIDs: [2583]; recentSceneIdentityTokensByPID: {2583: [com.apple.frontboard.systemappservices::FBSceneManager:sceneID%3Acom.company.appname-default]}>
default 15:37:51.287539+0530    SpringBoard policy: MRU target:<pid=2583 token=com.apple.frontboard.systemappservices::FBSceneManager:sceneID%3Acom.company.appname-default>
default 15:37:51.287640+0530    SpringBoard policy: now generation: 1599; keyboardFocusTarget: <token: com.apple.frontboard.systemappservices::FBSceneManager:sceneID%3Acom.company.appname-default; pid: 2583>; recentlyUsedScenes: <recentPIDs: [2583]; recentSceneIdentityTokensByPID: {2583: [com.apple.frontboard.systemappservices::FBSceneManager:sceneID%3Acom.company.appname-default]}>; selectionPolicy: KeyboardArbiter; shouldSuppressRemoteDeferring: 0
default 15:37:51.289211+0530    UserEventAgent  Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.290317+0530    watchdogd   Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.290570+0530    SpringBoard [sceneID:com.company.appname-default] scene content state changed: preparing
default 15:37:51.290860+0530    wifid   Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.291440+0530    WirelessRadioManagerd   Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.291773+0530    SpringBoard [0x2827bfdc0:(FBSceneManager):sceneID:com.company.appname-default] Scene lifecycle state did change: Foreground
default 15:37:51.291829+0530    SpringBoard [0x2827bfdc0:(FBSceneManager):sceneID:com.company.appname-default] Scene assertion state did change: ForegroundFocal.
default 15:37:51.291883+0530    SpringBoard [application<com.company.appname>:2583] Launch assertion supersedes update of workspace assertion to ForegroundFocal.
default 15:37:51.291913+0530    SpringBoard [application<com.company.appname>:2583] Workspace assertion state did change: ForegroundFocal (acquireAssertion = NO).
default 15:37:51.291970+0530    CommCenter  Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.292505+0530    callservicesd   Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.294734+0530    contextstored   Hit the server for a process handle 19aed2300000a17 that resolved to: [application<com.company.appname>:2583]
default 15:37:51.301644+0530    locationd   {"msg":"#CLIUA AppMonitor notification", "notification":"ForegroundRunning", "pid":2583, "bundleId":"com.company.appname", "ClientKey":"com.company.appname"}
default 15:37:51.301723+0530    locationd   {"msg":"#CLIUA Marking change", "clientKey":"com.company.appname", "reason":"Process state from RunningBoard", "assertionLevel":5, "coming":1}
default 15:37:51.301958+0530    locationd   {"msg":"#CLIUA updating AssertionRecord", "ClientKey":"com.company.appname", "AssertionLevel":{"type":"decode failure","raw value":0,"expected type":"Generic"}}
default 15:37:51.302042+0530    locationd   {"msg":"#CLIUA AssertionRecord updated", "ClientKey":"com.company.appname", "AssertionLevel":{"type":"decode failure","raw value":5,"expected type":"Generic"}}
default 15:37:51.302112+0530    locationd   {"msg":"#CLIUA in-use level changed for client", "ClientKey":"com.company.appname"}
default 15:37:51.308979+0530    SpringBoard [com.company.appname] Foreground app will not request ephemeral notifications isAppClip: NO wantsEphemeral notifications: NO
default 15:37:51.309118+0530    SpringBoard [application<com.company.appname>:2583] Connection to remote process was not established.
default 15:37:51.309401+0530    SpringBoard [application<com.company.appname>:2583] Now flagged as pending exit for reason: launch failed
default 15:37:51.309432+0530    SpringBoard [application<com.company.appname>:2583] Process exited: <RBSProcessExitContext| specific, status:<RBSProcessExitStatus| domain:dyld(6) code:1>>.
default 15:37:51.309520+0530    SpringBoard [application<com.company.appname>:2583] Setting process task state to: Not Running
default 15:37:51.309604+0530    SpringBoard [application<com.company.appname>:2583] Setting process visibility to: Unknown
default 15:37:51.309662+0530    SpringBoard [application<com.company.appname>:2583] Invalidating workspace.
default 15:37:51.309766+0530    SpringBoard Removing source registration for processHandle: [application<com.company.appname>:2583]
default 15:37:51.309819+0530    SpringBoard [0x2827bfdc0:(FBSceneManager):sceneID:com.company.appname-default] Invalidated for workspace: 0x282b909a0.
default 15:37:51.309847+0530    SpringBoard Removing: <FBApplicationProcess: 0xdf5f39290; application<com.company.appname>:2583(v1C4D)>
default 15:37:51.309875+0530    SpringBoard [application<com.company.appname>:2583] Dropping launch assertion.
default 15:37:51.312640+0530    SpringBoard Application process state changed for com.company.appname: <SBApplicationProcessState: 0x281a61a20; pid: 2583; taskState: Not Running; visibility: Unknown>
default 15:37:51.315474+0530    SpringBoard [Main] dispatch event:
<SBSceneReadySwitcherModifierEvent: 0x281a60020; type: SceneReady; appLayout: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main> {
    configuration = full;
    itemsToLayoutAttributes = {
        sceneID:com.company.appname-default = <SBDisplayItemLayoutAttributes: 0x2829c2a00; contentOrientation: "landscapeRight (3)"; lastInteractionTime: 49; sizingPolicy: maximized; size: unspecified; center: unspecified; occlusionState: unknown; userConfiguredSizeBeforeOverlapping: unspecified; unoccludedPeekingCenter: unspecified>;
    }
    environment = main;
    centerConfiguration = undefined;
    preferredDisplayOrdinal = 0;
    continuousExposeIdentifier = com.company.appname;
    layoutItems = {
        primary = <SBDisplayItem: 0x28111d7d0; type: App; bundleIdentifier: com.company.appname; uniqueIdentifier: sceneID:com.company.appname-default>;
    }
}>
default 15:37:51.316173+0530    SpringBoard Process exited: <FBApplicationProcess: 0xdf5f39290; application<com.company.appname>:2583(v1C4D)> -> <RBSProcessExitContext| specific, status:<RBSProcessExitStatus| domain:dyld(6) code:1>>
default 15:37:51.316766+0530    SpringBoard Application process state changed for com.company.appname: (null)
default 15:37:51.317805+0530    SpringBoard Client provider invalidated: <FBWorkspace: 0x282b909a0; application<com.company.appname>>
default 15:37:51.318054+0530    SpringBoard Invalidating scene: sceneID:com.company.appname-default
default 15:37:51.318262+0530    locationd   {"msg":"computing freshAuthorizationContext", "ClientKey":"com.company.appname", "BigSwitch":1, "InUseLevel":{"type":"decode failure","raw value":5,"expected type":"Generic"}}
default 15:37:51.318386+0530    SpringBoard willRemoveExternalForegroundApplicationSceneHandle pid:2583 scene:com.apple.frontboard.systemappservices::FBSceneManager:sceneID%3Acom.company.appname-default now:<empty>
default 15:37:51.318656+0530    SpringBoard No longer tracking: <FBScene: 0x2829a3780; FBSceneManager:sceneID:com.company.appname-default>
default 15:37:51.318742+0530    SpringBoard [sceneID:com.company.appname-default][1] Scene invalidated.
default 15:37:51.319365+0530    SpringBoard [SBMainDisplaySceneManager sceneManager:didDestroyScene: <FBScene: 0x2829a3780; (null):sceneID:com.company.appname-default>] - proposing IdleTimerBehavior.
error   15:37:51.325855+0530    SpringBoard Scene FBSceneManager/sceneID:com.company.appname-default update failed: <NSError: 0x2811c1e30; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
    NSUnderlyingError = <NSError: 0x28115c060; domain: FBWorkspaceScene; code: 1; reason: "Client process exited.">;
}
default 15:37:51.334418+0530    accessoryd  Posting application state change {
    ACCPlatformApplicationStateDisplayIDKey = "com.company.appname";
    ACCPlatformApplicationStateKey = 1;
    ACCPlatformApplicationStateProcessIDKey = 2583;
}
default 15:37:51.334599+0530    accessoryd  handling app state change notification {
    ACCPlatformApplicationStateDisplayIDKey = "com.company.appname";
    ACCPlatformApplicationStateKey = 1;
    ACCPlatformApplicationStateProcessIDKey = 2583;
}
default 15:37:51.338428+0530    wifid   -[WiFiUserInteractionMonitor setApplicationRunningState:foregroundState:andNetworkingState:forBundleId:]: com.company.appname entered foreground
default 15:37:51.338603+0530    wifid   -[WiFiUserInteractionMonitor isInNonNetworkingApp]: currently in non-networking app com.company.appname
default 15:37:51.338691+0530    wifid   -[WiFiUserInteractionMonitor setApplicationRunningState:foregroundState:andNetworkingState:forBundleId:]: com.company.appname exited
default 15:37:51.339380+0530    locationd   {"msg":"invoking applicationStateChange handler", "StateChangeData":"{\n    BKSApplicationStateAppIsFrontmost = 0;\n    BKSApplicationStateExtensionKey = 0;\n    SBApplicationStateDisplayIDKey = \"com.company.appname\";\n    SBApplicationStateKey = 1;\n    SBApplicationStateProcessIDKey = 2583;\n    SBMostElevatedStateForProcessID = 1;\n}"}
default 15:37:51.340734+0530    locationd   {"msg":"Post Application State Change Notification", "notification":"Terminated", "pid":2583, "bundleId":"com.company.appname"}
default 15:37:51.342341+0530    locationd   {"msg":"#CLIUA AppMonitor notification", "notification":"Terminated", "pid":2583, "bundleId":"com.company.appname", "ClientKey":"com.company.appname"}
default 15:37:51.342422+0530    locationd   {"msg":"#CLIUA Marking change", "clientKey":"com.company.appname", "reason":"Process state from RunningBoard", "assertionLevel":5, "coming":0}
default 15:37:51.342509+0530    locationd   {"msg":"#CLIUA updating AssertionRecord", "ClientKey":"com.company.appname", "AssertionLevel":{"type":"decode failure","raw value":5,"expected type":"Generic"}}
default 15:37:51.342591+0530    locationd   {"msg":"#CLIUA AssertionRecord updated", "ClientKey":"com.company.appname", "AssertionLevel":{"type":"decode failure","raw value":0,"expected type":"Generic"}}
default 15:37:51.342663+0530    locationd   {"msg":"#CLIUA in-use level changed for client", "ClientKey":"com.company.appname"}
default 15:37:51.344604+0530    locationd   {"msg":"computing freshAuthorizationContext", "ClientKey":"com.company.appname", "BigSwitch":1, "InUseLevel":{"type":"decode failure","raw value":0,"expected type":"Generic"}}
default 15:37:51.347698+0530    SpringBoard [com.company.appname] com.company.appname application state changed to ForegroundRunning
default 15:37:51.347737+0530    SpringBoard [com.company.appname] Ignore becoming foreground for application without push registration
default 15:37:51.347769+0530    SpringBoard [com.company.appname] com.company.appname application state changed to Terminated
default 15:37:51.347798+0530    SpringBoard [com.company.appname] Ignore becoming background for application without push registration
default 15:37:51.884545+0530    SpringBoard [Main] dispatch event:
<SBTransitionSwitcherModifierEvent: 0xdf2c45650; type: MainTransition; transitionID: 9EEDA407-XXXXX-XXXXX-9DAD-23BF1006A12D; phase: Complete; animated: YES; fromAppLayout: 0x0; toAppLayout: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main>; fromEnvironmentMode: home-screen; toEnvironmentMode: application; fromOrientation: UIInterfaceOrientationPortrait; toOrientation: UIInterfaceOrientationLandscapeRight; fromSpaceConfiguration: undefined; toSpaceConfiguration: full; pendingTermination: {(
)}; activating: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main>; morphingPIPLayoutRole: undefined>
default 15:37:51.885970+0530    SpringBoard [Main] handle response:
<SBSwitcherModifierEventResponse: 0x28110b390> {
    <SBPreemptAnimationSwitcherEventResponse: 0x281109a70>;
    <SBSwitcherModifierEventResponse: 0x281109e90> {
        <SBInvalidateAdjustedAppLayoutsSwitcherEventResponse: 0x28110abe0>;
        <SBSwitcherModifierEventResponse: 0x28110b660> {
            <SBRequestFolderSnapshotsSwitcherEventResponse: 0x28110a9a0; snapshotRequested: NO>;
            <SBIconOverlayVisibilitySwitcherEventResponse: 0x280764e80; visible: NO; appLayout: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main>>;
            <SBIconViewVisibilitySwitcherEventResponse: 0x283c95bd0; visible: YES; animationSettings: 0x0; appLayout: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main>>;
            <SBMatchMoveToIconViewSwitcherEventResponse: 0x280765cc0; active: NO; appLayout: <SBAppLayout: 0x283344080; primary: com.company.appname:default; environment: main>>;
        };
    };
}
default 15:37:51.904691+0530    ReportCrash loadStoreInfo [platform 2] com.company.appname from file:///private/var/containers/Bundle/Application/XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX/AppName.app/
default 15:37:51.911933+0530    SpringBoard Front display did change: <SBApplication: 0x28238fed0; com.company.appname>
default 15:37:51.921750+0530    ReportCrash com.company.appname is not a MetricKit client
default 15:37:51.964828+0530    SpringBoard Updated preferences for <Switcher>:(
    "activationPolicyForParticipantsBelow: from AtMostBackground to AtMostForegroundActive",
    "homeGestureConsumption: Always",
    "homeAffordanceDrawingSuppression: from Default to Suppress",
    "associatedSceneIdentifiersToSuppressInSystemAperture: from {(\n    \"sceneID:com.company.appname-default\"\n)} to {(\n)}",
    "suppressSystemApertureForSystemChromeSuppression: NO",
    "associatedBundleIdentifiersToSuppressInSystemAperture: from {(\n    \"com.company.appname\"\n)} to {(\n)}"
)
default 15:37:51.964905+0530    SpringBoard Resolved Stack (
    "associatedSceneIdentifiersToSuppressInSystemAperture: nil",
    "associatedBundleIdentifiersToSuppressInSystemAperture: from nil to com.company.appname",
    "systemApertureSuppressedForSystemChromeSuppression: NO",
    "<TransientOverlayPresentation> ownsHomeGesture: YES; activationState: ForegroundActive; suppression: Default;",
    "associatedSceneIdentifiersToSuppressInSystemAperture: nil",
    "associatedBundleIdentifiersToSuppressInSystemAperture: from nil to com.company.appname",
    "systemApertureSuppressedForSystemChromeSuppression: NO",
    "<CoverSheet> ownsHomeGesture: YES; activationState: ForegroundActive; suppression: Default;",
    "associatedSceneIdentifiersToSuppressInSystemAperture: nil",
    "associatedBundleIdentifiersToSuppressInSystemAperture: from nil to com.company.appname",
    "systemApertureSuppressedForSystemChromeSuppression: NO",
    "<Switcher> ownsHomeGesture: YES; activationState: ForegroundActive; suppression: Suppress;",
    "associatedSceneI<…>
default 15:37:51.970168+0530    mediaserverd    <<<< FigCaptureDisplayLayoutMonitor >>>> -[FigCaptureDisplayLayoutMonitor _parseDisplayLayout:]: <FigCaptureDisplayLayoutMonitor: 0x62eb724f0 Main Display> <FBSDisplayLayout: 0x631fed430; displayIdentity: Main> {    bounds = {{0, 0}, {390, 844}};    interfaceOrientation = "portrait (1)";    backlightLevel = 100;    elements = {        <SBSDisplayLayoutElement: 0x62e9e9c10; com.apple.springboard.home-screen; frame: {{0, 0}, {390, 844}}; level: 0; role: primary>;        <SBSDisplayLayoutElement: 0x62e819450; sceneID:com.company.appname-default; bundleID: com.company.appname; frame: {{0, 0}, {390, 844}}; level: 1; role: primary>;    }    timestamp = 3 July 2023 at 3:37:51 PM IST;}
default 15:37:51.970200+0530    mediaserverd    <<<< FigCaptureDisplayLayoutMonitor >>>> -[FigCaptureDisplayLayoutMonitor _updateObserversWithLayout:]: <FigCaptureDisplayLayoutMonitor: 0x62eb724f0 Main Display> <FigCaptureDisplayLayout: 0x62ec6a7f0 07-03-2023 15:37:51, Main Display, foreground:[com.company.appname]>
default 15:37:51.975266+0530    bluetoothd  SystemUI unknown identifier: 'sceneID:com.company.appname-default' / 'com.company.appname'
Shaunmax commented 1 year ago

@marchbold I just updated to the latest anes. but the issue persists!

marchbold commented 1 year ago

Can you post your apm project and lock files so I can have a look? Can't really see anything obvious from the log.

Shaunmax commented 1 year ago

Can you post your apm project and lock files so I can have a look? Can't really see anything obvious from the log.

{
    "identifier": "com.company.appname",
    "name": "App Name",
    "filename": "FileName",
    "version": "15.0.0",
    "versionLabel": "",
    "dependencies": [
        {
            "version": "4.9.3",
            "id": "com.distriqt.admob.AdColony"
        },
        {
            "version": "14.0.3",
            "id": "com.distriqt.Adverts"
        },
        {
            "version": "7.0.0",
            "id": "com.distriqt.Application"
        },
        {
            "version": "6.3.2",
            "id": "com.distriqt.ApplicationRater"
        },
        {
            "version": "8.7.0",
            "id": "com.distriqt.Dialog"
        },
        {
            "version": "3.1.0",
            "id": "com.distriqt.Exceptions"
        },
        {
            "version": "7.3.0",
            "id": "com.distriqt.Firebase"
        },
        {
            "version": "7.3.0",
            "id": "com.distriqt.firebase.Crashlytics"
        },
        {
            "version": "7.3.0",
            "id": "com.distriqt.firebase.Firestore"
        },
        {
            "version": "7.3.0",
            "id": "com.distriqt.firebase.Performance"
        },
        {
            "version": "7.3.0",
            "id": "com.distriqt.firebase.RemoteConfig"
        },
        {
            "version": "7.3.0",
            "id": "com.distriqt.firebase.Storage"
        },
        {
            "version": "4.2.0",
            "id": "com.distriqt.GoogleAnalytics"
        },
        {
            "version": "5.2.0",
            "id": "com.distriqt.IDFA"
        },
        {
            "version": "14.4.1",
            "id": "com.distriqt.InAppBilling"
        },
        {
            "version": "11.3.1",
            "id": "com.distriqt.PushNotifications-OneSignal"
        },
        {
            "version": "7.4.2",
            "id": "com.distriqt.Share"
        },
        {
            "version": "2.2.0",
            "id": "com.distriqt.SystemGestures"
        },
        {
            "version": "3.1.0",
            "id": "com.distriqt.ZipUtils"
        }
    ],
    "configuration": {
        "adMobAndroidApplicationId": {
            "name": "adMobAndroidApplicationId",
            "required": "true",
            "value": "ca-app-pub-XXXXXXXXXXXXX~XXXXXXXXXXX"
        },
        "adMobIOSApplicationId": {
            "name": "adMobIOSApplicationId",
            "required": "true",
            "value": "ca-app-pub-XXXXXXXXXXXXX~XXXXXXXXXXXX"
        },
        "apsEnvironment": {
            "name": "apsEnvironment",
            "required": "true",
            "value": "y"
        },
        "bundleSeedId": {
            "name": "bundleSeedId",
            "required": "true",
            "value": "y"
        },
        "getTaskAllow": {
            "name": "getTaskAllow",
            "required": "true",
            "value": "false"
        },
        "photoLibraryAddUsageDescription": {
            "name": "photoLibraryAddUsageDescription",
            "required": "true",
            "value": "Access to photo library is required to save images."
        },
        "photoLibraryUsageDescription": {
            "name": "photoLibraryUsageDescription",
            "required": "true",
            "value": "Access to photo library is required to save images."
        },
        "userTrackingUsageDescription": {
            "name": "userTrackingUsageDescription",
            "required": "true",
            "value": "Allows us to deliver personalized ads for you."
        }
    },
    "repositories": [],
    "deployOptions": {}
}
Shaunmax commented 1 year ago

@marchbold here - both the files : apm_files.zip

Shaunmax commented 1 year ago

@marchbold any update on this ?

Shaunmax commented 1 year ago

@marchbold any update ?

marchbold commented 1 year ago

Hi, I've been away on a short break, will be looking at apm again later this week.

Shaunmax commented 1 year ago

Hi, I've been away on a short break, will be looking at apm again later this week.

Is there anything I can try from my side as an alternate, I have to push a build asap

marchbold commented 1 year ago

Hi, apm seems to have handled your project files correctly so the error must be in the integration of the extensions.

Did you add the dynamic frameworks to your project build (assets/ios/Frameworks)? There are a few for OneSignal that may not have been there in the past

Shaunmax commented 1 year ago

Hi, apm seems to have handled your project files correctly so the error must be in the integration of the extensions.

Did you add the dynamic frameworks to your project build (assets/ios/Frameworks)? There are a few for OneSignal that may not have been there in the past

no, that was the issue!

marchbold commented 1 year ago

Brilliant, great to hear we got there in the end.