libMobileGestalt Problem

I don’t see anything really odd about it. I wonder if it’s a combination of the module and the data you’re trying to read/write. I don’t know how much effort anyone should spend on this. You have a working and recommended solution (use our JSON apis). 

I think we can call this issue closed.

Rob

Hi Rob!  Agreed.  Thank you for taking time to look at it.  Yes, I have now removed the file from my project and used the available json api.  Yep, no need to check on the file :slight_smile: Consider this issue solved.  Thanks!

I tried to remove everything from my code.  The app now displays just a plain white screen.  But it still won’t launch.  Noticed the Security Error also.  I hope someone can shed some light :frowning:

Activated fonts in ‘arial bold.ttf’ (Arial-BoldMT)

Activated fonts in ‘arial.ttf’ (ArialMT)

Copyright © 2009-2017  C o r o n a   L a b s   I n c .

Version: 3.0.0

Build: 2017.3106

Loading project from:   ~/Documents/Projects/Xoomi/xoomi_final/xoomi

Project sandbox folder: ~/Library/Application Support/Corona Simulator/xoomi-C131E859308EA06EBAB86F14D2A9AA1D

Platform: iPhone / x86_64 / 10.12.6 / Intel® HD Graphics 6000 / 2.1 INTEL-10.25.17 / 2017.3106 / en-PH | PH | en_PH | en

Building iOS app for xavier@xoomi.com.au with 2017.3106

Using custom build id from app bundle: 00000 (AppSettings.lua)

BuildID: 5976dfb700635

Using additional build settings from: /Users/she/Documents/Projects/Xoomi/xoomi_final/xoomi/build.settings

Building: Copying app resources

Building: Unpacking build from server

Code signing identity: “iPhone Developer: Xavier McKeon (FCZS6VFU33)”

“iPhone Developer: Xavier McKeon (FCZS6VFU33)” (8771441429CEAFDDC92668573F525C2DD4494ECE)

security: SecPolicySetValue: One or more parameters passed to a function were not valid.

security: SecPolicySetValue: One or more parameters passed to a function were not valid.

Codesign embedded frameworks in folder (/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/Frameworks):

Created XCENT: /var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmppT3mps/entitlements.xcent

Creating Info.plist…

    adding extra plist setting UIAppFonts: [“arial bold.ttf”,“arial.ttf”]

    adding extra plist setting UIStatusBarHidden: true

    adding extra plist setting NSCalendarsUsageDescription: Did not use this

    adding extra plist setting UIApplicationExitsOnSuspend: false

    adding extra plist setting UILaunchStoryboardName: LaunchScreen

    adding extra plist setting UIPrerenderedIcon: true

    adding extra plist setting CFBundleIconFiles: [“Icon.png”,“Icon@2x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-40.png”,“Icon-Small-40@2x.png”,“Icon-Small-40@3x.png”,“Icon-60.png”,“Icon-60@2x.png”,“Icon-60@3x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-50.png”,“Icon-Small-50@2x.png”,“Icon-Small.png”,“Icon-Small@2x.png”,“Icon-Small@3x.png”]

    adding extra plist setting CFBundleShortVersionString: 1.0

Application version information:

    Version: 1.0            [CFBundleShortVersionString] (set in build.settings)

      Build: 2017.07.251405 [CFBundleVersion] (set by Simulator)

Building: Signing application with “iPhone Developer: Xavier McKeon (FCZS6VFU33)”

“iPhone Developer: Xavier McKeon (FCZS6VFU33)”

iOS build succeeded in 13 seconds

Installing ‘xoomi.app’ on sweetshe_7Plus …

Uploading xoomi.app package contents… DONE.

Installing ‘au.com.getxoomi’

Install: CreatingStagingDirectory (5%)

Install: ExtractingPackage (15%)

Install: InspectingPackage (20%)

Install: TakingInstallLock (20%)

Install: PreflightingApplication (30%)

Install: InstallingEmbeddedProfile (30%)

Install: VerifyingApplication (40%)

Install: CreatingContainer (50%)

Install: InstallingApplication (60%)

Install: PostflightingApplication (70%)

Install: SandboxingApplication (80%)

Install: GeneratingApplicationMap (90%)

----------  Device Log Starts  ----------

[Device] libMobileGestalt MobileGestaltSupport.m:153: pid 1207 (xoomi) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled

[Device] libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see <rdar://problem/11744455>)

[Device] Platform: iPhone / iPhone9,4 / 10.3.2 / Apple A10 GPU / OpenGL ES 2.0 Metal - 39.9 / 2017.3106 / en-PH | PH | en_PH | en

Hi @_sweetshe_

I’m sorry you’re running into issues. I believe you are chasing the wrong error. I just ran the game I’m building on my iPhone 6 (iOS 10.3.3) and this was in my console log:

Jul 25 10:51:12 iPhone MobileGestaltHelper(libMobileGestalt.dylib)[976] <Notice>: libMobileGestalt MobileGestalt.c:287: server_access_check denied access to question InverseDeviceID for pid 1109

Jul 25 10:51:12 iPhone Alien Invasion(libMobileGestaltExtensions.dylib)[1109] <Notice>: libMobileGestalt MobileGestaltSupport.m:153: pid 1109 (Alien Invasion) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled

Jul 25 10:51:12 iPhone Alien Invasion(libMobileGestalt.dylib)[1109] <Notice>: libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see <rdar://problem/11744455>)

But my app installs and runs correctly. These libMobileGestalt errors are iOS errors happen to everyone and are very likely not the issue you are running into.

I’m gathering that it’s not installing. Can you open a terminal and run this command:

defaults write com.coronalabs.Corona_Simulator debugBuildProcess 2

 

It might require you to restart Corona for it to take effect. This should produce more information in your build log. Can you try that and post your build.log back here?

Rob

Thanks Rob!  

Here’s the log, it’s quite long :frowning: my apologies for this…

Activated fonts in ‘arial bold.ttf’ (Arial-BoldMT)

Activated fonts in ‘arial.ttf’ (ArialMT)

Copyright © 2009-2017  C o r o n a   L a b s   I n c .

Version: 3.0.0

Build: 2017.3106

Loading project from:   ~/Documents/Projects/Xoomi/XOOMI

Project sandbox folder: ~/Library/Application Support/Corona Simulator/XOOMI-3E1EF76447B0A0A5AC45B7AF0B7FC759

Platform: iPhone / x86_64 / 10.12.6 / Intel® HD Graphics 6000 / 2.1 INTEL-10.25.17 / 2017.3106 / en-PH | PH | en_PH | en

notifications.registerForPushNotifications() WARNING: The Notifications V2 plugin is only supported on iOS and Android devices

Loaded settings

Building iOS app for xavier@xoomi.com.au with 2017.3106

Using custom build id from app bundle: 00000 (AppSettings.lua)

DeviceBuildData: {“isLaunchPadActive”:false,“targetCertType”:“developer”,“targetPlatformVersion”:103000,“debugBuildProcess”:2,“targetDevice”:127,“splashScreen”:{“ios”:{“enable”:true,“image”:“logo.png”},“android”:{“enable”:true,“image”:“logo.png”}},“dailyBuildRevision”:3106,“buildBucket”:“ansca-templates”,“clientPlatform”:“Mac OS X”,“targetAppStore”:“apple”,“targetPlatform”:0,“clientDeviceId”:“34c1b2a9188371e1c40b7271834cdd3f”,“plugins”:{“plugin.facebook.v4”:{“publisherId”:“com.coronalabs”},“plugin.google.play.services”:{“publisherId”:“com.coronalabs”},“plugin.notifications.v2”:{“publisherId”:“com.coronalabs”},“plugin.google.iap.v3”:{“supportedPlatforms”:{“android”:true},“publisherId”:“com.coronalabs”}},“dailyBuildYear”:2017,“clientProductId”:“basic”,“appName”:“xoomi”}

BuildID: 5977d6e0686ae

  • ‘[’ -z /Users/she/Documents/Projects/Xoomi/XOOMI -o -z /Users/she/Documents/Projects/Xoomi/APK/xoomi.app ‘]’

  • rsync -v --itemize-changes -r --times --delete-excluded ‘–exclude=**/*.lua’ --exclude=build.settings ‘–exclude=**/.*’ --delete --prune-empty-dirs --links --copy-unsafe-links --hard-links --perms --chmod=Da+rx,Fa+r --human-readable /Users/she/Documents/Projects/Xoomi/XOOMI/ /Users/she/Documents/Projects/Xoomi/APK/xoomi.app

building file list … done

*deleting _CodeSignature/CodeResources

*deleting _CodeSignature/

*deleting CoronaResources.bundle/widget_theme_pickerWheel_mask.png

*deleting CoronaResources.bundle/widget_theme_onOff_mask_android_holo.png

*deleting CoronaResources.bundle/widget_theme_onOff_mask.png

*deleting CoronaResources.bundle/widget_theme_ios@2x.png

*deleting CoronaResources.bundle/widget_theme_ios7@4x.png

*deleting CoronaResources.bundle/widget_theme_ios7@2x.png

*deleting CoronaResources.bundle/widget_theme_ios7.png

*deleting CoronaResources.bundle/widget_theme_ios.png

*deleting CoronaResources.bundle/widget_theme_android_holo_light@4x.png

*deleting CoronaResources.bundle/widget_theme_android_holo_light@2x.png

*deleting CoronaResources.bundle/widget_theme_android_holo_light.png

*deleting CoronaResources.bundle/widget_theme_android_holo_dark@4x.png

*deleting CoronaResources.bundle/widget_theme_android_holo_dark@2x.png

*deleting CoronaResources.bundle/widget_theme_android_holo_dark.png

*deleting CoronaResources.bundle/widget_theme_android@2x.png

*deleting CoronaResources.bundle/widget_theme_android.png

*deleting CoronaResources.bundle/Info.plist

*deleting CoronaResources.bundle/

*deleting xoomi

*deleting resource.corona-archive

*deleting embedded.mobileprovision

*deleting _CoronaSplashScreen.png

*deleting PkgInfo

*deleting MainWindow.nib

*deleting MainWindow-iPad.nib

*deleting Info.plist

*deleting Corona3rdPartyLicenses.txt

.d…t… ./

>f+++++++ Xoomi.sublime-project

>f+++++++ Xoomi.sublime-workspace

>f+++++++ main.sublime-workspace

>f+++++++ sfx_notification.m4a

>f+++++++ sfx_notification.mp3

.d…t… art/

>f+++++++ art/bg_main.png

sent 380.62K bytes  received 164 bytes  761.58K bytes/sec

total size is 19.32M  speedup is 50.72

  • ‘[’ ‘’ == NO ‘]’

Archive:  /var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/output.zip

  Length      Date    Time    Name

---------  ---------- -----   ----

        0  07-26-2017 07:35   xoomi.app/

     7933  07-26-2017 15:40   xoomi.app/embedded.mobileprovision

     1008  07-26-2017 07:35   xoomi.app/MainWindow-iPad.nib

   268628  07-26-2017 07:35   xoomi.app/resource.car

        8  07-26-2017 07:35   xoomi.app/PkgInfo

        0  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/

    25930  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_android.png

      608  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_onOff_mask.png

    55806  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_android_holo_dark@4x.png

    23099  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_android_holo_light@2x.png

    55656  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_android_holo_light@4x.png

     9692  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_android_holo_light.png

      144  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_onOff_mask_android_holo.png

   145505  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_ios7@4x.png

    17581  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_ios7.png

    79620  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_ios@2x.png

    58732  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_android@2x.png

      865  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_pickerWheel_mask.png

     1106  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/Info.plist

     9658  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_android_holo_dark.png

    50866  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_ios7@2x.png

    22692  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_android_holo_dark@2x.png

    36451  07-26-2017 07:35   xoomi.app/CoronaResources.bundle/widget_theme_ios.png

    17703  07-26-2017 15:40   xoomi.app/_CoronaSplashScreen.png

     4454  07-26-2017 07:35   xoomi.app/Info.plist

        0  07-26-2017 07:35   xoomi.app/_CodeSignature/

     9935  07-26-2017 07:35   xoomi.app/_CodeSignature/CodeResources

        0  07-26-2017 07:35   xoomi.app/.build/

        0  07-26-2017 07:35   xoomi.app/.build/libtemplate/

     7582  07-26-2017 07:35   xoomi.app/.build/libtemplate/Defaults.lua

 22864816  07-26-2017 07:35   xoomi.app/.build/libtemplate/libtemplate.a

    13813  07-26-2017 07:35   xoomi.app/.build/libtemplate/Builder.lua

      334  07-26-2017 07:35   xoomi.app/.build/libtemplate/build.lua

     2629  07-26-2017 07:35   xoomi.app/.build/libtemplate/BuilderUtils.lua

        0  07-26-2017 07:35   xoomi.app/.build/plugin.google.play.services/

  6283616  12-29-2016 05:33   xoomi.app/.build/plugin.google.play.services/libgoogle-play-services.a

      227  12-29-2016 05:33   xoomi.app/.build/plugin.google.play.services/metadata.lua

        0  07-26-2017 07:35   xoomi.app/.build/plugin.facebook.v4/

 10972824  04-25-2017 05:05   xoomi.app/.build/plugin.facebook.v4/libFBSDKCoreKit.a

  3386760  04-25-2017 05:05   xoomi.app/.build/plugin.facebook.v4/libBolts.a

   456824  04-25-2017 05:05   xoomi.app/.build/plugin.facebook.v4/libfacebook.a

      401  04-25-2017 05:05   xoomi.app/.build/plugin.facebook.v4/metadata.lua

  2479784  04-25-2017 05:05   xoomi.app/.build/plugin.facebook.v4/libFBSDKLoginKit.a

  8285600  04-25-2017 05:05   xoomi.app/.build/plugin.facebook.v4/libFBSDKShareKit.a

        0  07-26-2017 07:35   xoomi.app/.build/plugin.notifications.v2/

  2487336  04-25-2017 05:05   xoomi.app/.build/plugin.notifications.v2/libFirebaseCore.a

  5128312  04-25-2017 05:05   xoomi.app/.build/plugin.notifications.v2/libProtobuf.a

   449496  05-08-2017 11:14   xoomi.app/.build/plugin.notifications.v2/libNotificationsV2Plugin.a

   435720  04-25-2017 05:05   xoomi.app/.build/plugin.notifications.v2/libGoogleToolboxForMac.a

  7696584  04-25-2017 05:05   xoomi.app/.build/plugin.notifications.v2/libFirebaseAnalytics.a

      538  04-25-2017 05:05   xoomi.app/.build/plugin.notifications.v2/metadata.lua

  2294968  04-25-2017 05:05   xoomi.app/.build/plugin.notifications.v2/libFirebaseInstanceID.a

  3463360  04-25-2017 05:05   xoomi.app/.build/plugin.notifications.v2/libFirebaseMessaging.a

    73237  07-26-2017 07:35   xoomi.app/Corona3rdPartyLicenses.txt

     1008  07-26-2017 07:35   xoomi.app/MainWindow.nib

---------                     -------

 77689449                     55 files

Using additional build settings from: /Users/she/Documents/Projects/Xoomi/XOOMI/build.settings

Running: rm -rf “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app”.dSYM

Server dir name: xoomi.app

Server app name: xoomi (local name: xoomi)

Running: mkdir -p “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app”

Building: Copying app resources

getCopyResourcesScript: set -x

SRC_DIR="/Users/she/Documents/Projects/Xoomi/XOOMI"

DST_DIR="/Users/she/Documents/Projects/Xoomi/APK/xoomi.app"

exec 2>&1

rsync goes haywire if either the source or destination are empty

if [-z “$SRC_DIR” -o -z “$DST_DIR”]

then

echo “iPhonePackageApp: invalid SRC_DIR or DST_DIR for rsync”

exit 1

fi

rsync -v --itemize-changes -r --times --delete-excluded  --exclude=’**/*.lua’ --exclude=‘build.settings’ --exclude="**/.*"  --delete --prune-empty-dirs --links --copy-unsafe-links --hard-links --perms --chmod=“Da+rx,Fa+r” --human-readable “$SRC_DIR/” “$DST_DIR”

run pngcrush appropriately

if ["$SHOULD_PRESERVE" == “NO”]

then

COPYPNG=$(xcrun -f copypng)

find “$DST_DIR” -name ‘*.png’ -exec “$COPYPNG” -compress {} {}.copypng ; -exec mv {}.copypng {} ;

fi

Running: set -x

SRC_DIR="/Users/she/Documents/Projects/Xoomi/XOOMI"

DST_DIR="/Users/she/Documents/Projects/Xoomi/APK/xoomi.app"

exec 2>&1

rsync goes haywire if either the source or destination are empty

if [-z “$SRC_DIR” -o -z “$DST_DIR”]

then

echo “iPhonePackageApp: invalid SRC_DIR or DST_DIR for rsync”

exit 1

fi

rsync -v --itemize-changes -r --times --delete-excluded  --exclude=’**/*.lua’ --exclude=‘build.settings’ --exclude="**/.*"  --delete --prune-empty-dirs --links --copy-unsafe-links --hard-links --perms --chmod=“Da+rx,Fa+r” --human-readable “$SRC_DIR/” “$DST_DIR”

run pngcrush appropriately

if ["$SHOULD_PRESERVE" == “NO”]

then

COPYPNG=$(xcrun -f copypng)

find “$DST_DIR” -name ‘*.png’ -exec “$COPYPNG” -compress {} {}.copypng ; -exec mv {}.copypng {} ;

fi

Contents of ZIP file from server:

Running: unzip -l /var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/output.zip

Building: Unpacking build from server

Running: unzip -q -V -o /var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/output.zip -d “/Users/she/Documents/Projects/Xoomi/APK”

Running: mv -f “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/resource.car” “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/resource.corona-archive”

Building: Adding plugins

builder: buildOptions: {

  “dstDir”:"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app",

  “dstName”:“xoomi”,

  “dstPath”:"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/xoomi",

  “librarySearchPaths”:["/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/libtemplate"],

  “pluginsDir”:"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build",

  “settings”:{

    “splashScreen”:{

      “ios”:{

        “enable”:true,

        “image”:“logo.png”

      },

      “android”:{

        “enable”:true,

        “image”:“logo.png”

      }

    },

    “orientation”:{

      “default”:“portrait”,

      “supported”:[“portrait”,“portraitUpsideDown”]

    },

    “plugins”:{

      “plugin.facebook.v4”:{

        “publisherId”:“com.coronalabs”

      },

      “plugin.google.play.services”:{

        “publisherId”:“com.coronalabs”

      },

      “plugin.notifications.v2”:{

        “publisherId”:“com.coronalabs”

      },

      “plugin.google.iap.v3”:{

        “supportedPlatforms”:{

          “android”:true

        },

        “publisherId”:“com.coronalabs”

      }

    },

    “iphone”:{

      “components”:[],

      “plist”:{

        “NSPhotoLibraryUsageDescription”:“This app would like to access the photo library.”,

        “NSMicrophoneUsageDescription”:“This app would like to access the microphone.”,

        “LSApplicationQueriesSchemes”:[“fb”,“fbapi”,“fbauth2”,“fb-messenger-api”,“fbshareextension”],

        “UIPrerenderedIcon”:true,

        “CFBundleShortVersionString”:“1.0”,

        “NSCameraUsageDescription”:“This app would like to access the camera.”,

        “UIStatusBarHidden”:true,

        “NSCalendarsUsageDescription”:“Did not use this”,

        “FacebookAppID”:“1484000371630813”,

        “UILaunchStoryboardName”:“LaunchScreen”,

        “UIApplicationExitsOnSuspend”:false,

        “CFBundleIconFiles”:[“Icon.png”,“Icon@2x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-40.png”,“Icon-Small-40@2x.png”,“Icon-Small-40@3x.png”,“Icon-60.png”,“Icon-60@2x.png”,“Icon-60@3x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-50.png”,“Icon-Small-50@2x.png”,“Icon-Small.png”,“Icon-Small@2x.png”,“Icon-Small@3x.png”],

        “CFBundleURLTypes”:[{

            “CFBundleURLSchemes”:[“fb1484000371630813”]

          }]

      }

    },

    “android”:{

      “usesPermissions”:[“android.permission.CAMERA”,“android.permission.RECORD_AUDIO”,“com.android.vending.BILLING”,“android.permission.WRITE_EXTERNAL_STORAGE”,“android.permission.INTERNET”],

      “facebookAppId”:“1484000371630813”,

      “googlePlayGamesAppId”:“1056309582382”,

      “versionCode”:“1”

    }

  },

  “tmpDir”:"/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe",

  “verbose”:true

}

Analyzing plugins…

Found native plugin: /Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/plugin.facebook.v4

Found native plugin: /Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/plugin.google.play.services

Found native plugin: /Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/plugin.notifications.v2

Done.

Analyzing Lua plugins…

Examining plugin: plugin.facebook.v4

Examining plugin: plugin.google.play.services

Examining plugin: plugin.notifications.v2

Done.

Compiling Slices…

Compiling architecture: armv7

<execute>cd “/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/armv7”;unset LIBRARY_PATH; export IPHONEOS_DEPLOYMENT_TARGET=8; export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin";"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" -stdlib=libstdc++ -arch armv7 -isysroot “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk” -ObjC -all_load -fobjc-link-runtime -miphoneos-version-min=8 -std=c++11 -stdlib=libc++ -Xlinker -rpath -Xlinker @executable_path/Frameworks -L"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/libtemplate" -L"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/plugin.facebook.v4" -L"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/plugin.google.play.services" -L"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/plugin.notifications.v2" -F"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/Frameworks" -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreVideo -framework CoreText -framework GameKit -framework GLKit -framework ImageIO -framework MapKit -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework OpenAL -framework OpenGLES -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework Accounts -framework CoreTelephony -framework AdSupport -framework EventKit -framework EventKitUI -weak_framework GameController -weak_framework AssetsLibrary -weak_framework Photos -weak_framework Foundation -weak_framework Twitter -weak_framework UserNotifications -weak_framework UserNotificationsUI -lobjc -lsqlite3 -ltemplate -lBolts -lFBSDKCoreKit -lFBSDKLoginKit -lFBSDKShareKit -lfacebook -lc++ -lgoogle-play-services -lNotificationsV2Plugin -lFirebaseAnalytics -lFirebaseCore -lFirebaseInstanceID -lFirebaseMessaging -lGoogleToolboxForMac -lProtobuf -lz -o “/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/armv7/xoomi”</execute>

<result>ld: warning: directory not found for option ‘-F/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/Frameworks’</result>

Done.

Compiling architecture: arm64

<execute>cd “/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/arm64”;unset LIBRARY_PATH; export IPHONEOS_DEPLOYMENT_TARGET=8; export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin";"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" -fexceptions -stdlib=libstdc++ -arch arm64 -isysroot “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk” -ObjC -all_load -fobjc-link-runtime -miphoneos-version-min=8 -std=c++11 -stdlib=libc++ -Xlinker -rpath -Xlinker @executable_path/Frameworks -L"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/libtemplate" -L"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/plugin.facebook.v4" -L"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/plugin.google.play.services" -L"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build/plugin.notifications.v2" -F"/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/Frameworks" -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreVideo -framework CoreText -framework GameKit -framework GLKit -framework ImageIO -framework MapKit -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework OpenAL -framework OpenGLES -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework Accounts -framework CoreTelephony -framework AdSupport -framework EventKit -framework EventKitUI -weak_framework GameController -weak_framework AssetsLibrary -weak_framework Photos -weak_framework Foundation -weak_framework Twitter -weak_framework UserNotifications -weak_framework UserNotificationsUI -lobjc -lsqlite3 -ltemplate -lBolts -lFBSDKCoreKit -lFBSDKLoginKit -lFBSDKShareKit -lfacebook -lc++ -lgoogle-play-services -lNotificationsV2Plugin -lFirebaseAnalytics -lFirebaseCore -lFirebaseInstanceID -lFirebaseMessaging -lGoogleToolboxForMac -lProtobuf -lz -o “/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/arm64/xoomi”</execute>

<result>ld: warning: directory not found for option ‘-F/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/Frameworks’</result>

Done.

Done.

Creating Universal Binary…

<execute>cd “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app”;export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin";"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo" -create  “/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/armv7/xoomi” “/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/arm64/xoomi” -output “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/xoomi”</execute>

<result></result>

Done.

Emit debug symbols…

<execute>cd “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app”;export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin";"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil" “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/xoomi” -o “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app.dSYM”</execute>

<result></result>

Done.

Stripping…

<execute>cd “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app”;export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin";"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -x “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/xoomi”</execute>

<result></result>

Done.

Build Succeeded.

builder: buildCallSucceeded: true; buildResult: nil

Running: mv “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/.build” “/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe”

captureCommandOutput: security find-identity -p codesigning | grep ‘8771441429CEAFDDC92668573F525C2DD4494ECE’ | sed -e ‘s/.*(".*").*/\1/’

Code signing identity: “iPhone Developer: Xavier McKeon (FCZS6VFU33)”

“iPhone Developer: Xavier McKeon (FCZS6VFU33)” (8771441429CEAFDDC92668573F525C2DD4494ECE)

populateUIAppFonts: Found font file: arial bold.ttf

populateUIAppFonts: Found font file: arial.ttf

populateUIAppFonts:  AFTER: #2: tmpUIAppFonts: [“arial bold.ttf”,“arial.ttf”]

====================================

iPhonePostPackage: options: {

  “appBundleFile”:""/Users/she/Documents/Projects/Xoomi/APK/xoomi.app"",

  “appid”:“D22QMFYZQB.au.com.getxoomi”,

  “bundledisplayname”:“xoomi”,

  “bundleexecutable”:“xoomi”,

  “bundleid”:“au.com.getxoomi”,

  “bundlename”:“xoomi”,

  “bundleversion”:“1.0”,

  “dstDir”:"/Users/she/Documents/Projects/Xoomi/APK",

  “dstFile”:“xoomi”,

  “mobileProvision”:"/Users/she/Library/MobileDevice/Provisioning Profiles/b54b8601-2139-4456-8be1-f30efac44049.mobileprovision",

  “pushEnvironment”:“development”,

  “sdkRoot”:"/Applications/Xcode.app/Contents/Developer",

  “settings”:{

    “splashScreen”:{

      “ios”:{

        “enable”:true,

        “image”:“logo.png”

      },

      “android”:{

        “enable”:true,

        “image”:“logo.png”

      }

    },

    “orientation”:{

      “default”:“portrait”,

      “supported”:[“portrait”,“portraitUpsideDown”]

    },

    “plugins”:{

      “plugin.facebook.v4”:{

        “publisherId”:“com.coronalabs”

      },

      “plugin.google.play.services”:{

        “publisherId”:“com.coronalabs”

      },

      “plugin.notifications.v2”:{

        “publisherId”:“com.coronalabs”

      },

      “plugin.google.iap.v3”:{

        “supportedPlatforms”:{

          “android”:true

        },

        “publisherId”:“com.coronalabs”

      }

    },

    “iphone”:{

      “components”:[],

      “plist”:{

        “NSPhotoLibraryUsageDescription”:“This app would like to access the photo library.”,

        “UIAppFonts”:[“arial bold.ttf”,“arial.ttf”],

        “NSMicrophoneUsageDescription”:“This app would like to access the microphone.”,

        “LSApplicationQueriesSchemes”:[“fb”,“fbapi”,“fbauth2”,“fb-messenger-api”,“fbshareextension”],

        “UIPrerenderedIcon”:true,

        “CFBundleShortVersionString”:“1.0”,

        “NSCameraUsageDescription”:“This app would like to access the camera.”,

        “UIStatusBarHidden”:true,

        “NSCalendarsUsageDescription”:“Did not use this”,

        “FacebookAppID”:“1484000371630813”,

        “UILaunchStoryboardName”:“LaunchScreen”,

        “UIApplicationExitsOnSuspend”:false,

        “CFBundleIconFiles”:[“Icon.png”,“Icon@2x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-40.png”,“Icon-Small-40@2x.png”,“Icon-Small-40@3x.png”,“Icon-60.png”,“Icon-60@2x.png”,“Icon-60@3x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-50.png”,“Icon-Small-50@2x.png”,“Icon-Small.png”,“Icon-Small@2x.png”,“Icon-Small@3x.png”],

        “CFBundleURLTypes”:[{

            “CFBundleURLSchemes”:[“fb1484000371630813”]

          }]

      }

    },

    “android”:{

      “usesPermissions”:[“android.permission.CAMERA”,“android.permission.RECORD_AUDIO”,“com.android.vending.BILLING”,“android.permission.WRITE_EXTERNAL_STORAGE”,“android.permission.INTERNET”],

      “facebookAppId”:“1484000371630813”,

      “googlePlayGamesAppId”:“1056309582382”,

      “versionCode”:“1”

    }

  },

  “signingIdentity”:“8771441429CEAFDDC92668573F525C2DD4494ECE”,

  “signingIdentityName”:"“iPhone Developer: Xavier McKeon (FCZS6VFU33)”\n"iPhone Developer: Xavier McKeon (FCZS6VFU33)"",

  “srcAssets”:"/Users/she/Documents/Projects/Xoomi/XOOMI",

  “targetDevice”:127,

  “targetPlatform”:“iOS”,

  “tmpDir”:"/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe",

  “verbose”:true,

  “liveBuild”:false

}

====================================

captureCommandOutput: security cms -D -i ‘/Users/she/Library/MobileDevice/Provisioning Profiles/b54b8601-2139-4456-8be1-f30efac44049.mobileprovision’ | plutil -p - | fgrep ‘get-task-allow’

security: SecPolicySetValue: One or more parameters passed to a function were not valid.

get_task_allow_setting:     “get-task-allow” => 1

captureCommandOutput: security cms -D -i ‘/Users/she/Library/MobileDevice/Provisioning Profiles/b54b8601-2139-4456-8be1-f30efac44049.mobileprovision’ | plutil -p - | fgrep ‘beta-reports-active’

security: SecPolicySetValue: One or more parameters passed to a function were not valid.

beta_reports_active_setting: 

Created XCENT: /var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/entitlements.xcent

Running: cat /var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/entitlements.xcent

<?xml version=“1.0” encoding=“UTF-8”?>

<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version=“1.0”>

<dict>

<key>application-identifier</key>

<string>D22QMFYZQB.au.com.getxoomi</string>

<key>keychain-access-groups</key>

<array>

<string>D22QMFYZQB.au.com.getxoomi</string>

</array>

<key>aps-environment</key>

    <string>development</string>

<key>get-task-allow</key>

<true/>

</dict>

</plist>

Delegate class: CoronaFacebookDelegate

Delegate class: CoronaNotificationsDelegate

CoronaPListSupport.modifyPlist: options: {

  “appBundleFile”:""/Users/she/Documents/Projects/Xoomi/APK/xoomi.app"",

  “appid”:“D22QMFYZQB.au.com.getxoomi”,

  “bundledisplayname”:“xoomi”,

  “bundleexecutable”:“xoomi”,

  “bundleid”:“au.com.getxoomi”,

  “bundlename”:“xoomi”,

  “bundleversion”:“1.0”,

  “dstDir”:"/Users/she/Documents/Projects/Xoomi/APK",

  “dstFile”:“xoomi”,

  “mobileProvision”:"/Users/she/Library/MobileDevice/Provisioning Profiles/b54b8601-2139-4456-8be1-f30efac44049.mobileprovision",

  “pushEnvironment”:“development”,

  “sdkRoot”:"/Applications/Xcode.app/Contents/Developer",

  “settings”:{

    “splashScreen”:{

      “ios”:{

        “enable”:true,

        “image”:“logo.png”

      },

      “android”:{

        “enable”:true,

        “image”:“logo.png”

      }

    },

    “orientation”:{

      “default”:“portrait”,

      “supported”:[“portrait”,“portraitUpsideDown”]

    },

    “plugins”:{

      “plugin.facebook.v4”:{

        “publisherId”:“com.coronalabs”

      },

      “plugin.google.play.services”:{

        “publisherId”:“com.coronalabs”

      },

      “plugin.notifications.v2”:{

        “publisherId”:“com.coronalabs”

      },

      “plugin.google.iap.v3”:{

        “supportedPlatforms”:{

          “android”:true

        },

        “publisherId”:“com.coronalabs”

      }

    },

    “iphone”:{

      “components”:[],

      “plist”:{

        “NSPhotoLibraryUsageDescription”:“This app would like to access the photo library.”,

        “UIAppFonts”:[“arial bold.ttf”,“arial.ttf”],

        “NSMicrophoneUsageDescription”:“This app would like to access the microphone.”,

        “LSApplicationQueriesSchemes”:[“fb”,“fbapi”,“fbauth2”,“fb-messenger-api”,“fbshareextension”],

        “UIPrerenderedIcon”:true,

        “CFBundleShortVersionString”:“1.0”,

        “NSCameraUsageDescription”:“This app would like to access the camera.”,

        “UIStatusBarHidden”:true,

        “NSCalendarsUsageDescription”:“Did not use this”,

        “FacebookAppID”:“1484000371630813”,

        “UILaunchStoryboardName”:“LaunchScreen”,

        “UIApplicationExitsOnSuspend”:false,

        “CFBundleIconFiles”:[“Icon.png”,“Icon@2x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-40.png”,“Icon-Small-40@2x.png”,“Icon-Small-40@3x.png”,“Icon-60.png”,“Icon-60@2x.png”,“Icon-60@3x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-50.png”,“Icon-Small-50@2x.png”,“Icon-Small.png”,“Icon-Small@2x.png”,“Icon-Small@3x.png”],

        “CFBundleURLTypes”:[{

            “CFBundleURLSchemes”:[“fb1484000371630813”]

          }]

      }

    },

    “android”:{

      “usesPermissions”:[“android.permission.CAMERA”,“android.permission.RECORD_AUDIO”,“com.android.vending.BILLING”,“android.permission.WRITE_EXTERNAL_STORAGE”,“android.permission.INTERNET”],

      “facebookAppId”:“1484000371630813”,

      “googlePlayGamesAppId”:“1056309582382”,

      “versionCode”:“1”

    }

  },

  “signingIdentity”:“8771441429CEAFDDC92668573F525C2DD4494ECE”,

  “signingIdentityName”:"“iPhone Developer: Xavier McKeon (FCZS6VFU33)”\n"iPhone Developer: Xavier McKeon (FCZS6VFU33)"",

  “srcAssets”:"/Users/she/Documents/Projects/Xoomi/XOOMI",

  “targetDevice”:127,

  “targetPlatform”:“iOS”,

  “tmpDir”:"/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe",

  “verbose”:true,

  “liveBuild”:false

}

Creating Info.plist…

Base Info.plist: {

  “NSContactsUsageDescription”:“NSContactsUsageDescription should be set to a valid usage description”,

  “NSPhotoLibraryUsageDescription”:“NSPhotoLibraryUsageDescription should be set to a valid usage description”,

  “CFBundleVersion”:"@BUNDLE_VERSION@",

  “CFBundleSupportedPlatforms”:[“iPhoneOS”],

  “DTPlatformBuild”:“14E269”,

  “CFBundleDevelopmentRegion”:“en”,

  “CFBundleInfoDictionaryVersion”:“6.0”,

  “UIRequiresFullScreen”:true,

  “CFBundlePackageType”:“APPL”,

  “NSAppleMusicUsageDescription”:“NSAppleMusicUsageDescription should be set to a valid usage description”,

  “DTXcode”:“0832”,

  “UIInterfaceOrientation”:“UIInterfaceOrientationPortrait”,

  “NSLocationWhenInUseUsageDescription”:“NSLocationWhenInUseUsageDescription should be set to a valid usage description”,

  “UISupportedInterfaceOrientations”:[“UIInterfaceOrientationPortrait”],

  “UIStatusBarHidden”:true,

  “NSLocationUsageDescription”:“NSLocationUsageDescription should be set to a valid usage description”,

  “DTSDKName”:“iphoneos10.3”,

  “DTCompiler”:“com.apple.compilers.llvm.clang.1_0”,

  “NSHealthShareUsageDescription”:“NSHealthShareUsageDescription should be set to a valid usage description”,

  “DTPlatformName”:“iphoneos”,

  “NSMainNibFile~ipad”:“MainWindow-iPad”,

  “NSSpeechRecognitionUsageDescription”:“NSSpeechRecognitionUsageDescription should be set to a valid usage description”,

  “CoronaSDKBuild”:“2017.3106”,

  “CFBundleExecutable”:“template”,

  “UIPrerenderedIcon”:true,

  “NSCameraUsageDescription”:“NSCameraUsageDescription should be set to a valid usage description”,

  “UIDeviceFamily”:[1,2],

  “NSMotionUsageDescription”:“NSMotionUsageDescription should be set to a valid usage description”,

  “DTSDKBuild”:“14E269”,

  “NSCalendarsUsageDescription”:“NSCalendarsUsageDescription should be set to a valid usage description”,

  “NSSiriUsageDescription”:“NSSiriUsageDescription should be set to a valid usage description”,

  “CFBundleName”:“template”,

  “UIStatusBarStyle”:“UIStatusBarStyleBlackTranslucent”,

  “CFBundleIdentifier”:“com.coronalabs.template”,

  “CoronaViewSupportedInterfaceOrientations”:[“UIInterfaceOrientationPortrait”],

  “NSBluetoothPeripheralUsageDescription”:“NSBluetoothPeripheralUsageDescription should be set to a valid usage description”,

  “NSMicrophoneUsageDescription”:“NSMicrophoneUsageDescription should be set to a valid usage description”,

  “NSMainNibFile”:“MainWindow”,

  “NSRemindersUsageDescription”:“NSRemindersUsageDescription should be set to a valid usage description”,

  “NSHealthUpdateUsageDescription”:“NSHealthUpdateUsageDescription should be set to a valid usage description”,

  “CFBundleShortVersionString”:"@BUNDLE_SHORT_VERSION_STRING@",

  “LSRequiresIPhoneOS”:true,

  “NSHomeKitUsageDescription”:“NSHomeKitUsageDescription should be set to a valid usage description”,

  “DTPlatformVersion”:“10.3”,

  “MinimumOSVersion”:“8.0”,

  “BuildMachineOSBuild”:“16A323”,

  “NSLocationAlwaysUsageDescription”:“NSLocationAlwaysUsageDescription should be set to a valid usage description”,

  “DTXcodeBuild”:“8E2002”,

  “CFBundleDisplayName”:“template”

}

    adding extra plist setting NSPhotoLibraryUsageDescription: This app would like to access the photo library.

    adding extra plist setting UIAppFonts: [“arial bold.ttf”,“arial.ttf”]

    adding extra plist setting NSMicrophoneUsageDescription: This app would like to access the microphone.

    adding extra plist setting LSApplicationQueriesSchemes: [“fb”,“fbapi”,“fbauth2”,“fb-messenger-api”,“fbshareextension”]

    adding extra plist setting UIPrerenderedIcon: true

    adding extra plist setting CFBundleShortVersionString: 1.0

    adding extra plist setting NSCameraUsageDescription: This app would like to access the camera.

    adding extra plist setting UIStatusBarHidden: true

    adding extra plist setting NSCalendarsUsageDescription: Did not use this

    adding extra plist setting FacebookAppID: 1484000371630813

    adding extra plist setting UILaunchStoryboardName: LaunchScreen

    adding extra plist setting UIApplicationExitsOnSuspend: false

    adding extra plist setting CFBundleIconFiles: [“Icon.png”,“Icon@2x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-40.png”,“Icon-Small-40@2x.png”,“Icon-Small-40@3x.png”,“Icon-60.png”,“Icon-60@2x.png”,“Icon-60@3x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-50.png”,“Icon-Small-50@2x.png”,“Icon-Small.png”,“Icon-Small@2x.png”,“Icon-Small@3x.png”]

    adding extra plist setting CFBundleURLTypes: [{“CFBundleURLSchemes”:[“fb1484000371630813”]}]

Final Info.plist: {

  “NSContactsUsageDescription”:“NSContactsUsageDescription should be set to a valid usage description”,

  “NSPhotoLibraryUsageDescription”:“This app would like to access the photo library.”,

  “CFBundleVersion”:“2017.07.260741”,

  “CFBundleSupportedPlatforms”:[“iPhoneOS”],

  “DTPlatformBuild”:“14E269”,

  “CFBundleDevelopmentRegion”:“en”,

  “CFBundleInfoDictionaryVersion”:“6.0”,

  “UIRequiresFullScreen”:true,

  “CFBundlePackageType”:“APPL”,

  “NSAppleMusicUsageDescription”:“NSAppleMusicUsageDescription should be set to a valid usage description”,

  “FacebookAppID”:“1484000371630813”,

  “CFBundleDisplayName”:“xoomi”,

  “UIApplicationExitsOnSuspend”:false,

  “DTXcode”:“0832”,

  “NSCalendarsUsageDescription”:“Did not use this”,

  “UIInterfaceOrientation”:“UIInterfaceOrientationPortrait”,

  “NSLocationWhenInUseUsageDescription”:“NSLocationWhenInUseUsageDescription should be set to a valid usage description”,

  “UISupportedInterfaceOrientations”:[“UIInterfaceOrientationPortrait”,“UIInterfaceOrientationPortraitUpsideDown”],

  “UIStatusBarHidden”:true,

  “CoronaSDKBuild”:“2017.3106”,

  “NSLocationUsageDescription”:“NSLocationUsageDescription should be set to a valid usage description”,

  “UILaunchStoryboardName”:“LaunchScreen”,

  “NSMainNibFile~ipad”:“MainWindow-iPad”,

  “CFBundleIconFiles”:[“Icon.png”,“Icon@2x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-40.png”,“Icon-Small-40@2x.png”,“Icon-Small-40@3x.png”,“Icon-60.png”,“Icon-60@2x.png”,“Icon-60@3x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-50.png”,“Icon-Small-50@2x.png”,“Icon-Small.png”,“Icon-Small@2x.png”,“Icon-Small@3x.png”],

  “DTSDKName”:“iphoneos10.3”,

  “DTCompiler”:“com.apple.compilers.llvm.clang.1_0”,

  “NSHealthShareUsageDescription”:“NSHealthShareUsageDescription should be set to a valid usage description”,

  “DTPlatformName”:“iphoneos”,

  “CoronaDelegates”:[“CoronaFacebookDelegate”,“CoronaNotificationsDelegate”],

  “NSSpeechRecognitionUsageDescription”:“NSSpeechRecognitionUsageDescription should be set to a valid usage description”,

  “LSApplicationQueriesSchemes”:[“fb”,“fbapi”,“fbauth2”,“fb-messenger-api”,“fbshareextension”],

  “CFBundleExecutable”:“xoomi”,

  “UIPrerenderedIcon”:true,

  “NSCameraUsageDescription”:“This app would like to access the camera.”,

  “UIDeviceFamily”:[1,2],

  “NSMotionUsageDescription”:“NSMotionUsageDescription should be set to a valid usage description”,

  “DTSDKBuild”:“14E269”,

  “UIAppFonts”:[“arial bold.ttf”,“arial.ttf”],

  “NSSiriUsageDescription”:“NSSiriUsageDescription should be set to a valid usage description”,

  “CFBundleName”:“xoomi”,

  “UIStatusBarStyle”:“UIStatusBarStyleBlackTranslucent”,

  “CFBundleIdentifier”:“au.com.getxoomi”,

  “CoronaViewSupportedInterfaceOrientations”:[“UIInterfaceOrientationPortrait”,“UIInterfaceOrientationPortraitUpsideDown”],

  “NSBluetoothPeripheralUsageDescription”:“NSBluetoothPeripheralUsageDescription should be set to a valid usage description”,

  “NSMicrophoneUsageDescription”:“This app would like to access the microphone.”,

  “NSMainNibFile”:“MainWindow”,

  “NSRemindersUsageDescription”:“NSRemindersUsageDescription should be set to a valid usage description”,

  “NSHealthUpdateUsageDescription”:“NSHealthUpdateUsageDescription should be set to a valid usage description”,

  “CFBundleShortVersionString”:“1.0”,

  “LSRequiresIPhoneOS”:true,

  “NSHomeKitUsageDescription”:“NSHomeKitUsageDescription should be set to a valid usage description”,

  “DTPlatformVersion”:“10.3”,

  “MinimumOSVersion”:“8.0”,

  “BuildMachineOSBuild”:“16A323”,

  “NSLocationAlwaysUsageDescription”:“NSLocationAlwaysUsageDescription should be set to a valid usage description”,

  “DTXcodeBuild”:“8E2002”,

  “CFBundleURLTypes”:[{

      “CFBundleURLSchemes”:[“fb1484000371630813”]

    }]

}

Application version information:

    Version: 1.0            [CFBundleShortVersionString] (set in build.settings)

      Build: 2017.07.260741 [CFBundleVersion] (set by Simulator)

Running: export DEVELOPER_BASE="/Applications/Xcode.app/Contents/Developer"

export CODE_SIGNING_REQUIRED=“YES”

export EXPANDED_CODE_SIGN_IDENTITY=“8771441429CEAFDDC92668573F525C2DD4494ECE”

export BUILT_PRODUCTS_DIR="/Users/she/Documents/Projects/Xoomi/APK/xoomi.app"

export FRAMEWORKS_FOLDER_PATH=Frameworks

/usr/bin/xattr -cr “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app” && “/Applications/CoronaSDK-3106/Corona Simulator.app/Contents/Resources/codesign-framework.sh”

Codesign embedded frameworks in folder (/Users/she/Documents/Projects/Xoomi/APK/xoomi.app/Frameworks):

Building: Signing application with “iPhone Developer: Xavier McKeon (FCZS6VFU33)”

“iPhone Developer: Xavier McKeon (FCZS6VFU33)”

Running: DEVELOPER_BASE="/Applications/Xcode.app/Contents/Developer"

export PATH="$DEVELOPER_BASE/Platforms/iPhoneOS.platform/Developer/usr/bin:$DEVELOPER_BASE/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate"

/usr/bin/xattr -cr “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app” && “/usr/bin/codesign” --verbose -f -s “8771441429CEAFDDC92668573F525C2DD4494ECE” --entitlements “/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/entitlements.xcent” “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app”

Running: cp -v “/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/entitlements.xcent” /tmp/

/var/folders/_j/lck9ysd57_s5k14hx170k1f80000gn/T/CLtmpXAAqSe/entitlements.xcent -> /tmp/entitlements.xcent

Running: chmod 755 “/Users/she/Documents/Projects/Xoomi/APK/xoomi.app”

Running: rm -f “/Users/she/Documents/Projects/Xoomi/APK/xoomi.ipa”

iOS build succeeded in 53 seconds

  • PROGRAM_NAME=ERROR

++ defaults read com.coronalabs.Corona_Simulator sendToAllDevices

  • SEND_TO_ALL=

++ dirname ‘/Applications/CoronaSDK-3106/Corona Simulator.app/Contents/Resources/ios_sendapp.sh’

  • CORONA_RES_DIR=’/Applications/CoronaSDK-3106/Corona Simulator.app/Contents/Resources’

  • RUN_UTIL_PATH=’/Applications/CoronaSDK-3106/Corona Simulator.app/Contents/Resources/device-support/run-idevice-util’

  • INSTALLATION_TIMEOUT=30

  • APP=/Users/she/Documents/Projects/Xoomi/APK/xoomi.app

++ basename /Users/she/Documents/Projects/Xoomi/APK/xoomi.app

  • APPNAME=xoomi.app

  • TARGETOS=‘iPhone OS’

  • ‘[’ ‘!’ -x ‘/Applications/CoronaSDK-3106/Corona Simulator.app/Contents/Resources/device-support/run-idevice-util’ ‘]’

  • ‘[’ ‘!’ -d /Users/she/Documents/Projects/Xoomi/APK/xoomi.app ‘]’

  • ‘[’ -z ‘iPhone OS’ ‘]’

  • ‘[’ ‘!’ -x ‘/Applications/CoronaSDK-3106/Corona Simulator.app/Contents/Resources/device-support/run-idevice-util’ ‘]’

  • ENUM_IOS_DEVICES=($("$RUN_UTIL_PATH" idevice_id --list | sort -u))

++ sort -u

++ ‘/Applications/CoronaSDK-3106/Corona Simulator.app/Contents/Resources/device-support/run-idevice-util’ idevice_id --list

  • ‘[’ 1 == 0 ‘]’

  • IOS_DEVICES=()

  • COUNT=0

  • for DEVICE in ‘"${ENUM_IOS_DEVICES[@]}"’

++ ‘/Applications/CoronaSDK-3106/Corona Simulator.app/Contents/Resources/device-support/run-idevice-util’ ideviceinfo --udid 8ec2394017fd47f7ebb52ed5ba6915c86958f255

++ grep -i ProductName:

++ cut -d ’ ’ -f 2-

  • DEVICEOS=‘iPhone OS’

  • ‘[’ ‘iPhone OS’ == ‘’ ‘]’

  • ‘[’ ‘iPhone OS’ ‘!=’ ‘’ ‘]’

  • ‘[’ ‘iPhone OS’ ‘!=’ ‘iPhone OS’ ‘]’

++ ‘/Applications/CoronaSDK-3106/Corona Simulator.app/Contents/Resources/device-support/run-idevice-util’ ideviceinfo --udid 8ec2394017fd47f7ebb52ed5ba6915c86958f255

++ grep -ci ‘HostAttached: true’

  • ATTACHED=2

  • ‘[’ 2 -gt 0 ‘]’

  • IOS_DEVICES[$COUNT]=8ec2394017fd47f7ebb52ed5ba6915c86958f255

  • COUNT=1

  • ‘[’ 2 -gt 1 ‘]’

  • echo ‘DEBUG: IOS_DEVICES: 8ec2394017fd47f7ebb52ed5ba6915c86958f255’

DEBUG: IOS_DEVICES: 8ec2394017fd47f7ebb52ed5ba6915c86958f255

  • ‘[’ 1 == 0 ‘]’

  • ‘[’ ‘’ == 1 ‘]’

  • ‘[’ ‘’ == YES ‘]’

  • IOS_DEVICES=(${IOS_DEVICES[0]})

  • trap ‘kill -TERM 0’ EXIT

  • PIDS=()

  • for DEVICE in ‘"${IOS_DEVICES[@]}"’

++ ‘/Applications/CoronaSDK-3106/Corona Simulator.app/Contents/Resources/device-support/run-idevice-util’ ideviceinfo --udid 8ec2394017fd47f7ebb52ed5ba6915c86958f255

++ sed -ne ‘/^DeviceName:/s/.*: (.*)/\1/p’

++ tr ’ .!@#$%^&*()[]{}’ _

  • DEVICENAME=sweetshe_7Plus

  • echo ‘Installing ‘’‘xoomi.app’’’ on sweetshe_7Plus …’

Installing ‘xoomi.app’ on sweetshe_7Plus …

  • PIDS=(${PIDS[@]} ${!})

  • DEVICES[${!}]=‘sweetshe_7Plus (8ec2394017fd47f7ebb52ed5ba6915c86958f255)’

  • TIMEOUT_COUNT=0

  • ‘[’ 1 -gt 0 ‘]’

  • ‘[’ 0 -lt 30 ‘]’

  • sleep 1

  • ‘/Applications/CoronaSDK-3106/Corona Simulator.app/Contents/Resources/device-support/run-idevice-util’ ideviceinstaller --udid 8ec2394017fd47f7ebb52ed5ba6915c86958f255 --install /Users/she/Documents/Projects/Xoomi/APK/xoomi.app

  • tr -d ‘\r’

  • NEWPIDS=()

  • for PID in ‘"${PIDS[@]}"’

  • kill -0 842

  • ‘[’ 0 == 0 ‘]’

  • NEWPIDS=("${NEWPIDS[@]}" $PID)

  • PIDS=("${NEWPIDS[@]}")

  • TIMEOUT_COUNT=1

  • ‘[’ 1 -gt 0 ‘]’

  • ‘[’ 1 -lt 30 ‘]’

  • sleep 1

  • NEWPIDS=()

  • for PID in ‘"${PIDS[@]}"’

  • kill -0 842

  • ‘[’ 0 == 0 ‘]’

  • NEWPIDS=("${NEWPIDS[@]}" $PID)

  • PIDS=("${NEWPIDS[@]}")

  • TIMEOUT_COUNT=2

  • ‘[’ 1 -gt 0 ‘]’

  • ‘[’ 2 -lt 30 ‘]’

  • sleep 1

  • NEWPIDS=()

  • for PID in ‘"${PIDS[@]}"’

  • kill -0 842

  • ‘[’ 0 == 0 ‘]’

  • NEWPIDS=("${NEWPIDS[@]}" $PID)

  • PIDS=("${NEWPIDS[@]}")

  • TIMEOUT_COUNT=3

  • ‘[’ 1 -gt 0 ‘]’

  • ‘[’ 3 -lt 30 ‘]’

  • sleep 1

  • NEWPIDS=()

  • for PID in ‘"${PIDS[@]}"’

  • kill -0 842

  • ‘[’ 0 == 0 ‘]’

  • NEWPIDS=("${NEWPIDS[@]}" $PID)

  • PIDS=("${NEWPIDS[@]}")

  • TIMEOUT_COUNT=4

  • ‘[’ 1 -gt 0 ‘]’

  • ‘[’ 4 -lt 30 ‘]’

  • sleep 1

Uploading xoomi.app package contents… DONE.

Installing ‘au.com.getxoomi’

Install: CreatingStagingDirectory (5%)

Install: ExtractingPackage (15%)

Install: InspectingPackage (20%)

Install: TakingInstallLock (20%)

Install: PreflightingApplication (30%)

Install: InstallingEmbeddedProfile (30%)

Install: VerifyingApplication (40%)

Install: CreatingContainer (50%)

Install: InstallingApplication (60%)

Install: PostflightingApplication (70%)

Install: SandboxingApplication (80%)

Install: GeneratingApplicationMap (90%)

  • NEWPIDS=()

  • for PID in ‘"${PIDS[@]}"’

  • kill -0 842

  • ‘[’ 1 == 0 ‘]’

  • PIDS=("${NEWPIDS[@]}")

  • TIMEOUT_COUNT=5

  • ‘[’ 0 -gt 0 ‘]’

  • ERROR_CODE=0

  • exit 0

  • kill -TERM 0

----------  Device Log Starts  ----------

I was hoping to catch an error there, but I don’t see it. Can you open Xcode and with your phone tethered, do a Windows->Devices. Then click on your device and then click on the + button in the middle of the screen and navigate to where your build was output and try installing that way?

Before you do, it might be helpful to stretch the log window at the bottom up some so you can watch it for errors. It should successfully install or give you an error as to why not.

Thanks

Rob

Hi Rob!  Thank you so much for helping me out.  The app did installed successfully, but when I run it, it exits.  I would really appreciate if you could please :frowning: look at the device log below.   It says an exception occurred.  I copied until the last line of Thread 0, let me know if you need to see the entire log. Maybe you have any idea how to look at this?  :( Thank you so much for your time.

Incident Identifier: AB8CBA34-8CBC-4B54-B298-D10AD85951FC

CrashReporter Key:   01ba73f2fc1d161615215e3df550291dd4896b52

Hardware Model:      iPhone9,4

Process:             xoomi [1720]

Path:                /private/var/containers/Bundle/Application/6A26B18E-50AC-4561-A43E-4F6E3E754177/Xoomi.app/xoomi

Identifier:          au.com.getxoomi

Version:             2017.07.270812 (1.0)

Code Type:           ARM-64 (Native)

Role:                Foreground

Parent Process:      launchd [1]

Coalition:           au.com.getxoomi [955]

Date/Time:           2017-07-27 08:14:03.2979 +0800

Launch Time:         2017-07-27 08:13:43.2682 +0800

OS Version:          iPhone OS 10.3.2 (14F89)

Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note:  EXC_CORPSE_NOTIFY

Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d

Triggered by Thread:  0

Filtered syslog:

None found

Thread 0 name:  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:

0   xoomi                         0x00000001000a95c0 luaH_getn + 404

1   xoomi                         0x00000001000ac534 luaV_execute + 1728

2   xoomi                         0x0000000100099d54 luaD_call + 132

3   xoomi                         0x00000001000ad354 luai_objcttry + 40

4   xoomi                         0x000000010009a0fc luaD_pcall + 100

5   xoomi                         0x0000000100090928 lua_pcall + 300

6   xoomi                         0x0000000100093228 luaB_pcall + 52

7   xoomi                         0x0000000100099804 luaD_precall + 916

8   xoomi                         0x00000001000ac720 luaV_execute + 2220

9   xoomi                         0x0000000100099d54 luaD_call + 132

10  xoomi                         0x00000001000ad354 luai_objcttry + 40

11  xoomi                         0x000000010009a0fc luaD_pcall + 100

12  xoomi                         0x0000000100090928 lua_pcall + 300

13  xoomi                         0x00000001000d6770 Rtt::Lua::DoCall(lua_State*, int, int) + 132

14  xoomi                         0x00000001000f81f4 Rtt::Runtime::LoadApplication(Rtt::Runtime::LoadParameters const&) + 580

15  xoomi                         0x0000000100030b64 -[CoronaView beginRunLoop] + 312

16  xoomi                         0x000000010002e744 -[AppDelegate initializeRuntimeWithApplication:options:] + 100

17  xoomi                         0x000000010002f298 -[AppDelegate application:didFinishLaunchingWithOptions:] + 40

18  UIKit                         0x0000000188379204 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 380

19  UIKit                         0x0000000188585738 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3452

20  UIKit                         0x000000018858b1e0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1684

21  UIKit                         0x000000018859fd18 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke.3151 + 48

22  UIKit                         0x0000000188588474 -[UIApplication workspaceDidEndTransaction:] + 168

23  FrontBoardServices             0x0000000183d7f884 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36

24  FrontBoardServices             0x0000000183d7f6f0 -[FBSSerialQueue _performNext] + 176

25  FrontBoardServices             0x0000000183d7faa0 -[FBSSerialQueue _performNextFromRunLoopSource] + 56

26  CoreFoundation                 0x000000018218542c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24

27  CoreFoundation                 0x0000000182184d9c __CFRunLoopDoSources0 + 540

28  CoreFoundation                 0x00000001821829a8 __CFRunLoopRun + 744

29  CoreFoundation                 0x00000001820b2da4 CFRunLoopRunSpecific + 424

30  UIKit                         0x0000000188372384 -[UIApplication _run] + 652

31  UIKit                         0x000000018836d058 UIApplicationMain + 208

32  xoomi                         0x0000000100020004 main + 80

33  libdyld.dylib                 0x00000001810c159c start + 4

Here is what Apple has to say on this error:

The exception code 0x8badf00d indicates that an application has been terminated by iOS because a watchdog timeout occurred. The application took too long to launch, terminate, or respond to system events. One common cause of this is doing synchronous networking on the main thread. Whatever operation is on Thread 0 needs to be moved to a background thread, or processed differently, so that it does not block the main thread.

Basically you’re app is doing too much in main.lua and  it’s not responding fast enough for iOS. iOS think’s it’s hung up and sends a SIGKILL message to the app causing it to shut down.

 

 

Look at all the work you’re doing in main.lua and see if you can defer some of that until later. If you’re loading a lot of audio, make sure you’re using audio.loadStream() for big tracks instead of audio.loadSound(). Consider researching Co-routines. See: https://coronalabs.com/blog/2015/02/10/tutorial-using-coroutines-in-corona/  or maybe put some of your activities inside a timer. For instance there really isn’t a reason to start GameCenter immediately. Perhaps put that initialization in a 5 second timer.

 

 

Rob

Hi Rob!

Really appreciate.  Did found that out too.  I am currently doing as you suggest.Hope it works!  Will keep you posted. 

Hi!  Tried to remove everything from the main lua.  But my app still crashes upon launch :frowning:  same error log :frowning:

If you compile the sample Corona apps do you get this behaviour?  If not then it is to do with your code.  Worth checking if one of the sample apps compiles, installs and runs on your device.

 Yes, it has something to do with my code.  I am always able to run a Hello World app :frowning: I am hoping someone can help me figure out where to look given the error log above :frowning: please.

I decided to re-create my app.  I created a new project and added items 1 by 1.  Turns out, when I add the json.lua (JSON Encoder and Parser for Lua 5.1)  Any thoughts?  Thanks!

Are you requiring the standard Json library or something you’ve downloaded? You will need to post your code that is failing.

I did not realized early on that my previous reply was unclear :smiley: It was so nice of you to reply.  I have used it from my previous apps.  I have just added the file, did not even accessed/used it yet, but when i ran the app on my device, it crashed on launch.  

I can send you the file if you’d like to see.  I do hope you can have a look.  Thanks!

Ok, discarded the file and everything works out well!  A month of my life was bugged by just 1 file!!!  Anyway, yeah, it’s working now.  The prob got nothing to do with the libMobileGestalt lib at all! 

Thanks for the replies!  You don’t know how it made me feel to have someone to bank on.  Many, many thanks!  Much, much appreciated!

If you could send that json.lua file to us, it would be great to take a look at what the cause is. We include our own json and perhaps just the presence of it in your app bundle might cause issues with our json.lua that we include. 

Just a reminder for people finding this:  The libMobileGestalt happens to many apps, not just Corona apps. It’s a non-issue that Apple needs to fix. Here is a post on Apple’s forums about it:

https://forums.developer.apple.com/thread/72286

You can see it’s happening to many native developers, Unity and Cordova users are reporting it too. From what I can tell it causes no harm.

Rob

Thanks Rob!

Yes, I wasted so much time chasing the wrong error.  I should have posted my problem here early on.  Of course I could send the file, let me know where to upload it.  

You can upload it to DropBox or Google Drive and just share the link here.

Rob