1 2 Previous Next 23 Replies Latest reply on Jul 12, 2016 7:14 AM by ricardomiranda

    iOS SDK issue

    cmaning

      Product and version iOS SDK

      OS and version iOS 9

       

      Hardware iPad 4

      Description

      Distributing the .ipa via MDM.  After downloading the App from MDM, it launches but crashes.  Following is the crash log with the library error highlighted showing it is not loading.

       

      See attached Summary screen capture to view that there are 0 Entitlements for the SDK.

       

       

      Apr 28 13:10:50 DexMediaTest-iOS8 SpringBoard[58] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

      Apr 28 13:10:50 DexMediaTest-iOS8 SpringBoard[58] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

      Apr 28 13:10:50 DexMediaTest-iOS8 kernel[0] <Notice>: xpcproxy[771] Container: /private/var/mobile/Containers/Data/Application/9C210AC6-0C01-48A4-B4B7-BCF75BB44F79 (sandbox)

      Apr 28 13:10:50 DexMediaTest-iOS8 securityd[87] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

      Apr 28 13:10:50 DexMediaTest-iOS8 securityd[87] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

      Apr 28 13:10:50 DexMediaTest-iOS8 amfid[194] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

      Apr 28 13:10:50 DexMediaTest-iOS8 securityd[87] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

      Apr 28 13:10:50 DexMediaTest-iOS8 securityd[87] <Error>:  secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found

      Apr 28 13:10:50 DexMediaTest-iOS8 amfid[194] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]

      Apr 28 13:10:50 DexMediaTest-iOS8 kernel[0] <Notice>: AMFI: Prez Pro(pid 771) - [deny-mmap] mapped executable file has no team identifier in its signature: /private/var/containers/Bundle/Application/D63BBE9A-0AF5-45D4-A8BE-D215CCFDC843/Prez Pro.app/Frameworks/iOSAppSDK.framework/iOSAppSDK

      Apr 28 13:10:50 DexMediaTest-iOS8 com.apple.xpc.launchd[1] (UIKitApplication:com.dexmedia.prezpro[0xf4bc][771]) <Notice>: Service exited due to signal: Trace/BPT trap: 5

      Apr 28 13:10:50 DexMediaTest-iOS8 ReportCrash[772] <Notice>: Formulating report for corpse[771] Prez Pro

      Apr 28 13:10:50 DexMediaTest-iOS8 SpringBoard[58] <Warning>: Application 'UIKitApplication:com.dexmedia.prezpro[0xf4bc]' crashed.

      Apr 28 13:10:50 DexMediaTest-iOS8 ReportCrash[772] <Warning>: Report of type '109(109_Prez Pro)' not saved because the limit of 25 logs has been reached

      Apr 28 13:10:50 DexMediaTest-iOS8 ReportCrash[772] <Error>: Notice: This report is abbreviated for syslog inclusion because it could not be saved to disk.

      Symbolication may be possible by manually cleaning up and including the Binary Image section of a full report from this same device -- good luck!

      Apr 28 13:10:50 DexMediaTest-iOS8 ReportCrash[772] <Error>: Process:             Prez Pro [771]

      Path:                /private/var/containers/Bundle/Application/D63BBE9A-0AF5-45D4-A8BE-D215CCFDC843/Prez Pro.app/Prez Pro

      OS Version:          iOS 9.3.1 (13E238)

      Apr 28 13:10:50 DexMediaTest-iOS8 ReportCrash[772] <Error>: Exception Type:  EXC_BREAKPOINT (SIGTRAP)

      Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe

      Triggered by Thread:  0

      Apr 28 13:10:50 DexMediaTest-iOS8 ReportCrash[772] <Error>: Dyld Error Message:

      Dyld Message: Library not loaded: @rpath/iOSAppSDK.framework/iOSAppSDK

      Referenced from: /var/containers/Bundle/Application/D63BBE9A-0AF5-45D4-A8BE-D215CCFDC843/Prez Pro.app/Prez Pro

      Reason: no suitable image found.  Did find:

      /private/var/containers/Bundle/Application/D63BBE9A-0AF5-45D4-A8BE-D215CCFDC843/Prez Pro.app/Frameworks/iOSAppSDK.framework/iOSAppSDK: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/D63BBE9A-0AF5-45D4-A8BE-D215CCFDC843/Prez Pro.app/Frameworks/iOSAppSDK.framework/iOSAppSDK'

      Dyld Version: 390.7

       

      Message was edited by: Chris Maningas

        • 1. Re: iOS SDK issue
          TSGal

          cmaning:

           

          Thank you for your post.

           

          Does the app launch on any device?  Or, is the app not launching only on your iPad?

           

          Did you or someone else use iOS App SDK to create the app?  If it was yourself, then send in your original solution so I can build the app and see what is causing the application to not launch.  I have sent you a private message with instructions where to send the solution.

           

          TSGal

          FileMaker, Inc.

          • 2. Re: iOS SDK issue
            cmaning

            I sent an email earlier this a.m. per the instructions in the other email you sent.  Myself and another co-worker used the iOS App SDK.  The app launches then crashes.

             

            We are in need of deploying this via MDM immediately.  Any progress with building and diagnosis?  Seems to be an issue with the team certificates.  We can build other apps but using the FileMaker iOS App SDK with the team certificates seems to be an issue.

             

            Thanks

            Chris

            • 3. Re: iOS SDK issue
              TSGal

              cmaning:

               

              I did not receive an email.

               

              If you do not use the team certificates, does the application launch?  If not, then send in the database file so we can build an iOS App SDK project and determine why your solution fails.  I have sent you another private message to ensure you have the correct email address.

               

              TSGal

              FileMaker, Inc.

              • 4. Re: iOS SDK issue
                cmaning

                I just resent the email with the link to download the files.  Thank you.  We are not able to distribute on the MDM unless we use the Enterprise certificates.  We have been unsuccessful trying to distribute via the MDM without using the enterprise certificates.

                • 5. Re: iOS SDK issue
                  TSGal

                  cmaning:

                   

                  Confirmation that the email has been received, and the download has been successful.

                   

                  With a quick look at the config file, alwaysOverwrite is set to 1.  If you set alwaysOverwrite to 0, are you then able to launch?

                   

                  I will look at the project later today.

                   

                  TSGal

                  FileMaker, Inc.

                  • 6. Re: iOS SDK issue
                    cmaning

                    We have built the project with the alwaysOverwrite set to 0 and the project launches but then crashes.

                    • 7. Re: iOS SDK issue
                      TSGal

                      cmaning:

                       

                      The tester has been unable to reproduce the problem.  The tester used his own personal app ID that is enabled for both iCloud and Data Protection.  If your App ID is not enabled for iCloud, the app will crash.  The tester would like to verify your App ID used for iCloud documents works in a simple test case.

                       

                      TSGal

                      FileMaker, Inc.

                      • 8. Re: iOS SDK issue
                        cmaning

                        I just sent you an email with screen shots verifying iCloud and Data Protection enabled.

                        • 9. Re: iOS SDK issue
                          TSGal

                          cmaning:

                           

                          I received the screen shots.  Thank you.

                           

                          I have sent this back to the tester.

                           

                          Since we cannot reproduce the crash with our settings, it may be system related.  What version of Xcode are you using?  What version of Mac OS X are you running?

                           

                          TSGal

                          FileMaker, Inc.

                          • 10. Re: iOS SDK issue
                            cmaning

                            Xcode Version 7.3 (7D175)

                            Mac OS X 10.11.3

                            • 11. Re: iOS SDK issue
                              cmaning

                              New Crash Log:

                              May  2 15:35:15 iPad kernel[0] <Notice>: xpcproxy[866] Container: /private/var/mobile/Containers/Data/Application/31E5A83C-37C6-4937-88EF-2D5EE9E21085 (sandbox)

                              May  2 15:35:15 iPad kernel[0] <Notice>: AMFI: Prez Pro(pid 866) - [deny-mmap] mapped executable file has no team identifier in its signature: /private/var/mobile/Containers/Bundle/Application/FAF9A2F6-0BF6-40EC-8DD1-FCCA3B53AA12/Prez Pro.app/Frameworks/iOSAppSDK.framework/iOSAppSDK

                              May  2 15:35:15 iPad assertiond[62] <Warning>: Unable to obtain a task name port right for pid 866: (os/kern) failure (5)

                              May  2 15:35:15 iPad SpringBoard[53] <Warning>: Unable to register for exec notifications: No such process

                              May  2 15:35:15 iPad SpringBoard[53] <Warning>: Unable to obtain a task name port right for pid 866: (os/kern) failure (5)

                              May  2 15:35:15 iPad SpringBoard[53] <Warning>: Unable to obtain a task name port right for <FBApplicationProcess: 0x128ed6250; com.dexmedia.prezpro; pid: 866>

                              May  2 15:35:15 iPad SpringBoard[53] <Warning>: Application 'UIKitApplication:com.dexmedia.prezpro[0xd60]' crashed.

                              May  2 15:35:15 iPad com.apple.xpc.launchd[1] (UIKitApplication:com.dexmedia.prezpro[0xd60][866]) <Notice>: Service exited due to signal: Trace/BPT trap: 5

                              May  2 15:35:15 iPad ReportCrash[867] <Notice>: Formulating report for corpse[866] Prez Pro

                              May  2 15:35:15 iPad SpringBoard[53] <Warning>: Application '(null)' exited for an unknown reason.

                              May  2 15:35:15 iPad ReportCrash[867] <Warning>: saved type '109_Prez Pro' report (8 of max 25) as /var/mobile/Library/Logs/CrashReporter/Prez Pro_2016-05-02-153515_iPad.ips

                              May  2 15:35:31 iPad AbsoluteApps[158] <Warning>: discarding location (location services haven't been started yet)

                              May  2 15:35:40 iPad mdmd[868] <Notice>: (Note ) MDM: mdmd starting...

                              • 12. Re: iOS SDK issue
                                cmaning

                                Below is the  message we receive on the iPad when installing from the MDM.

                                install error message.png

                                • 13. Re: iOS SDK issue
                                  TSGal

                                  cmaning:

                                   

                                  Thanks for the information and crash report.  I have sent this back to Development and Testing for review.

                                   

                                  TSGal

                                  FileMaker, Inc.

                                  • 14. Re: iOS SDK issue
                                    TSGal

                                    cmaning:

                                     

                                    We noticed your project is all lowercase, but the Bundle identifier shows two uppercase characters.  Try switching to all lowercase and try again.

                                     

                                    TSGal

                                    FileMaker, Inc.

                                    1 2 Previous Next