anchor.diff:                      cp ${iosKeyFile} "$HOME/Library/MobileDevice/Provisioning Profiles/$provisioningId.mobileprovision"
                   fi
               
  -                ${titaniumsdk}/mobilesdk/*/*/iphone/builder.py adhoc 6.0 $(pwd) ${appId} "${name}" "$provisioningId" "${iosCertificateName}" universal "$HOME/Library/Keychains/$keychainName"
  +                ${titaniumsdk}/mobilesdk/*/*/iphone/builder.py adhoc 6.0 $(pwd) ${appId} "${_appName}" "$provisioningId" "${iosCertificateName}" universal "$HOME/Library/Keychains/$keychainName"
               
                   # Remove our generated keychain
               
  
positive.code:     
      ${if target == "android" then
          if release then
            ''${titaniumsdk}/mobilesdk/*/*/android/builder.py distribute "${name}" ${androidsdkComposition}/libexec/android-sdk-* $(pwd) ${appId} ${androidKeyStore} ${androidKeyStorePassword} ${androidKeyAlias} $out''
          else
            ''${titaniumsdk}/mobilesdk/*/*/android/builder.py build "${name}" ${androidsdkComposition}/libexec/android-sdk-* $(pwd) ${appId}''
  
        else if target == "iphone" then
          if iosDistribute then ''
  
negative.code: {stdenv, androidsdk, titaniumsdk, xcodewrapper}:
  { appId, name, appName ? null, src, target, androidPlatformVersions ? [ "8" ]
  , release ? false, androidKeyStore ? null, androidKeyAlias ? null, androidKeyStorePassword ? null
  , iosKeyFile ? null, iosCertificateName ? null, iosCertificate ? null, iosCertificatePassword ? null, iosDistribute ? false
  }:
  