iOS Question App closes after ther lauch image

schimanski

Well-Known Member
Licensed User
Longtime User
After compiling my app in debug or release, the app only shows the launch image and than closes again. There is no further information for the reason even in release with the iReleaseLogger. I have deinstalled the app and tried an older version to install, which had started before, but there is the same problem.

Thanks for help...


Edit: I tested it under ios 10.3.3 and 11.2 beta.
 

schimanski

Well-Known Member
Licensed User
Longtime User
SetDebugAutoFlushlogs(True) doesn't shows anything.

I didn't had the permission
B4X:
#PlistExtra:<key>NSPhotoLibraryAddUsageDescription</key><string>Save photo in albums.</string>
. Now I added it, but the same problem.

My permissions are:

B4X:
#Region  Project Attributes

    #ApplicationLabel: XXX
  
    #Version: 4.2.0
    #iPhoneOrientations: Portrait, LandscapeLeft, LandscapeRight
    #iPadOrientations: Portrait, LandscapeLeft, LandscapeRight, PortraitUpsideDown
 
    #Entitlement: <key>aps-environment</key><string>production</string>

    #if Enterprise
        #CertificateFile: ios_enterprisedistribution.cer
        #ProvisionFile: firebaseenterprise.mobileprovision
        #UrlScheme: de.xxx.xx
    #end if
  
    #QueriesSchemes: de.xxx.xx1
    #QueriesSchemes: de.xxx.xx2.
    #QueriesSchemes: de.xxx.xx3
  
    #PlistExtra: <key>UIBackgroundModes</key><array><string>fetch</string><string>location</string></array>
    #PlistExtra:<key>NSLocationAlwaysUsageDescription</key><string>Track your location in the background for better ad revenue.</string>
    #PlistExtra:<key>NSLocationUsageDescription</key><string>Used to display the current navigation data.</string>
    #PlistExtra: <key>UIFileSharingEnabled</key><false/> 
  
    #PlistExtra: <key>CFBundleLocalizations</key><array><string>German</string></array>

    #PlistExtra:<key>NSPhotoLibraryUsageDescription</key><string>Select a photo.</string>
    #PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo.</string>
    #PlistExtra:<key>NSMicrophoneUsageDescription</key><string>Record video.</string>
 
    #PlistExtra:<key>NSPhotoLibraryAddUsageDescription</key><string>Save photo in albums.</string>
      

    #ATSEnabled: False 
  

    #PlistExtra:<key>CFBundleDocumentTypes</key>
    #PlistExtra:<array><dict><key>CFBundleTypeIconFiles</key><array/>
    #PlistExtra:<key>CFBundleTypeName</key>
    #PlistExtra:<string>name</string>
    #PlistExtra:<key>LSItemContentTypes</key><array>
    #PlistExtra:<string>public.data</string>
    #PlistExtra:</array></dict></array>
  
#End Region

#AdditionalLib: ColorPicker.framework.swift.3
#MinVersion: 9
 
Upvote 0
Top