Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6043] ** ARCHIVE FAILED **

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2018-12-03T06:08:46.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAppcelerator CLI
Labelsn/a
Reporterjack sparrow
AssigneeShak Hossain
Created2018-12-02T11:56:04.000+0000
Updated2018-12-03T06:08:46.000+0000

Description

I've created new project and trying to archive it and publish it to store ( iOS ) i got this error without any more msgs
2018-12-02T11:51:16.157Z | TRACE  | set environment to {"registry":"https://registry.platform.axway.com","baseurl":"https://platform.axway.com"}
2018-12-02T11:51:16.161Z | TRACE  | checking credentials for existing session
2018-12-02T11:51:16.312Z | TRACE  | Attempting to load session info from config file
2018-12-02T11:51:16.347Z | TRACE  | check if session is invalidated
2018-12-02T11:51:17.328Z | TRACE  | refresh session expiry to:  1544356277102
2018-12-02T11:51:17.330Z | TRACE  | session expiry 1544356277102 false
2018-12-02T11:51:17.331Z | TRACE  | Arrow Cloud config file: /Users/red/.acs
2018-12-02T11:51:17.333Z | TRACE  | found Arrow Cloud login { mid: 'f44eaa8488864f202c7071019c6a0d3fde3c0a26',
  publishPort: 443,
  publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
  username: 'fouani@live.com',
  cookie: 
   [ 'connect.sid=s%3AQP1zyDqmrE4brq3IC1qQOUFSAXKmIsiR.TMSZ5KUY21ROlnNoUF6%2F6l9x3ayS%2FP34gQigrc3L7e0; Path=/; Expires=Sun, 16 Dec 2018 11:08:12 GMT; HttpOnly' ],
  defaultEP: 
   { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
     publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com
2018-12-02T11:51:17.333Z | TRACE  | Arrow Cloud cookie expiry [ 1544958492000 ]
2018-12-02T11:51:17.333Z | TRACE  | session already loaded in opts.session
2018-12-02T11:51:17.334Z | TRACE  | getCredentials() session:
{
  "ipaddress": "192.168.0.101",
  "username": "fouani@live.com",
  "password": "<OMITTED>",
  "session": "<OMITTED>",
  "nonce": "<OMITTED>",
  "environment": {
    "name": "production",
    "isProduction": true,
    "acsBaseUrl": "https://api.cloud.appcelerator.com",
    "acsAuthBaseUrl": "https://secure-identity.cloud.appcelerator.com",
    "nodeACSEndpoint": "https://admin.cloudapp-enterprise.appcelerator.com"
  },
  "token": "<OMITTED>",
  "fingerprint": "f44eaa8488864f202c7071019c6a0d3fde3c0a26",
  "fingerprint_description": "Mac OSX Serial Number: C02S7PGUFVH3",
  "org_id": 730002380314940,
  "expiry": 1544356277102
}
2018-12-02T11:51:17.335Z | TRACE  | loading plugins for command "run"
2018-12-02T11:51:17.350Z | TRACE  | run search paths:
[
  "/Users/red/.appcelerator/install/7.0.8/package",
  "/Users/red/.appcelerator/install/7.0.8/package/node_modules",
  "/Users/red/Documents/Appcelerator_Studio_Workspace/Basha/plugins",
  "/Users/red/Documents/Appcelerator_Studio_Workspace/Basha/node_modules",
  "/Users/red/Documents/Appcelerator_Studio_Workspace/node_modules",
  "/Users/red/Documents/node_modules",
  "/Users/red/node_modules",
  "/Users/node_modules",
  "/node_modules",
  "/Users/red/.appcelerator/.npm/lib/node_modules"
]
2018-12-02T11:51:17.351Z | DEBUG  | [PLUGIN-LOAD] 0ms /Users/red/.appcelerator/install/7.0.8/package/appc.js
2018-12-02T11:51:17.636Z | DEBUG  | [PLUGIN-LOAD] 283ms /Users/red/.appcelerator/install/7.0.8/package/node_modules/appc-cli-titanium/appc.js
2018-12-02T11:51:17.636Z | DEBUG  | run plugin: /Users/red/.appcelerator/install/7.0.8/package/node_modules/appc-cli-titanium
2018-12-02T11:51:17.642Z | DEBUG  | [PLUGIN-LOAD] 2ms /Users/red/.appcelerator/install/7.0.8/package/node_modules/arrow/appc.js
2018-12-02T11:51:17.646Z | DEBUG  | run plugin: /Users/red/.appcelerator/install/7.0.8/package/node_modules/arrow
2018-12-02T11:51:17.670Z | TRACE  | plugin "arrow" failed its "when" function check, skipping...
2018-12-02T11:51:17.670Z | TRACE  | loading plugin "titanium" for command "run" CLI options via function
2018-12-02T11:51:17.672Z | TRACE  | loading plugin "titanium" for command "run" CLI options via array
2018-12-02T11:51:17.676Z | TRACE  | executing command "run" with the following plugins:
["titanium"]
2018-12-02T11:51:17.678Z | TRACE  | session already loaded in opts.session
2018-12-02T11:51:17.680Z | DEBUG  | Titanium Downloads Last Checked: 1543748860988
2018-12-2 13:51:21
Operating System
  Name                        = Mac OS X
  Version                     = 10.14
  Architecture                = 64bit
  # CPUs                      = 4
  Memory                      = 8589934592
Node.js
  Node.js Version             = 8.9.1
  npm Version                 = 5.5.1
Titanium CLI
  CLI Version                 = 5.1.1
Titanium SDK
  SDK Version                 = 7.5.0.GA
  SDK Path                    = /Users/red/Library/Application Support/Titanium/mobilesdk/osx/7.5.0.GA
  Target Platform             = iphone
Command
  /usr/local/bin/node /Users/red/.appcelerator/install/7.0.8/package/node_modules/titanium/lib/titanium.js build --platform ios --sdk 7.5.0.GA --log-level trace --project-dir /Users/red/Documents/Appcelerator_Studio_Workspace/Basha --deploy-type production --distribution-name awada mohamad (BC56PVBCHD) --ios-version 12.0 --keychain  --pp-uuid 4d2cf791-a680-4106-92e5-3a4efc992f05 --target dist-appstore --no-colors --no-progress-bars --no-prompt --no-banner --prompt-type socket-bundle --prompt-port 63228 --config-file /var/folders/03/zsfhfb4x4tl_l2jlt0jsy2rr0000gn/T/build-1543751477679.json --no-banner --project-dir /Users/red/Documents/Appcelerator_Studio_Workspace/Basha
[INFO] :   Found Titanium module id=hyperloop version=3.1.4 platform=iphone deploy-type=production path=/Users/red/Library/Application Support/Titanium/modules/iphone/hyperloop/3.1.4
[INFO] :   Found Titanium module id=ti.cloud version=3.2.11 platform=commonjs deploy-type=production path=/Users/red/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.11
[INFO] :   Found Titanium plugin id=ti.alloy version=1.0 
[INFO] :   Deploy type: production
[INFO] :   Building for target: dist-appstore
[INFO] :   Building using iOS SDK: 12.0
[INFO] :   Building for device family: iphone
[INFO] :   iOS Distribution Certificate: awada mohamad (BC56PVBCHD)
[INFO] :   Team ID: BC56PVBCHD
[INFO] :   Minimum iOS version: 8.0
[INFO] :   Using default keychain
[INFO] :   Logging disabled
[INFO] :   Debugging disabled
[INFO] :   Profiler disabled
[INFO] :   Set to copy files instead of symlinking
[INFO] :   Forcing clean build: /Users/red/Documents/Appcelerator_Studio_Workspace/Basha/build/iphone/build-manifest.json does not exist
[INFO] :   Initializing the build directory
[INFO] :   Found Alloy app in /Users/red/Documents/Appcelerator_Studio_Workspace/Basha/app
[INFO] :   Executing Alloy compile: /usr/local/bin/node /Users/red/.appcelerator/install/7.0.8/package/node_modules/alloy/bin/alloy compile /Users/red/Documents/Appcelerator_Studio_Workspace/Basha/app --config theme=null,platform=ios,version=0,simtype=none,devicefamily=iphone,deploytype=production,target=dist-appstore --no-colors
[INFO] :   [config.json] config.json unchanged, using cached config.json...
[INFO] :   ----- MVC GENERATION -----
[INFO] :   [global style] loading from cache...
[INFO] :   [index.xml] view processing...
[INFO] :   style:      "index.tss"
[INFO] :   view:       "index.xml"
[INFO] :   controller: "index.js"
[INFO] :   created:    "Resources/iphone/alloy/controllers/index.js"
[INFO] :   created:     "Resources/iphone/alloy/styles/index.js"
[INFO] :   
[INFO] :   [app.js] using cached app.js...
[INFO] :   
[INFO] :   ----- OPTIMIZING -----
[INFO] :   - iphone/alloy.js
[INFO] :   - iphone/alloy/sync/localStorage.js
[INFO] :   - iphone/alloy/sync/properties.js
[INFO] :   - iphone/alloy/sync/sql.js
[INFO] :   
[INFO] :   Alloy compiled in 0.51078s
[INFO] :   Alloy compiler completed successfully
[INFO] :   JavaScript files need to be encrypted
[INFO] :   Creating Xcode project
[INFO] :   Creating Entitlements.plist
[INFO] :   Creating Info.plist
[INFO] :   Disabling ATS
[INFO] :   Creating main.m
[INFO] :   Creating Xcode config files
[INFO] :   Copying Titanium libraries
[INFO] :   Copying Titanium iOS files
[INFO] :   Installing default LaunchScreen.storyboard
[INFO] :   Cleaning Xcode derived data
[INFO] :   Creating debugger and profiler plists
[INFO] :   Analyzing Resources directory
[INFO] :   Analyzing platform files
[INFO] :   Analyzing module files
[INFO] :   Analyzing localized launch images
[INFO] :   Analyzing CommonJS modules
[INFO] :   Analyzing CommonJS module: ti.cloud
[INFO] :   Creating asset catalog
[INFO] :   Creating app icon set
[INFO] :   Creating launch logo image set
[INFO] :   Missing 5 launch logos, generating missing launch logos from DefaultIcon.png
[INFO] :   Missing 12 app icons, generating missing icons
[INFO] :     appicon-Small@2x.png - Used for iPhone, iPad - size: 58x58
[INFO] :     appicon-Small@3x.png - Used for iPhone - size: 87x87
[INFO] :     appicon-Small-40@2x.png - Used for iPhone, iPad - size: 80x80
[INFO] :     appicon-Small-40@3x.png - Used for iPhone - size: 120x120
[INFO] :     appicon-60@2x.png - Used for iPhone - size: 120x120
[INFO] :     appicon-60@3x.png - Used for iPhone - size: 180x180
[INFO] :     appicon-Marketing.png - Used for iPhone - size: 1024x1024
[INFO] :     LaunchLogo~iphone - Used for iphone - size: 320x320 - size: 320x320
[INFO] :     LaunchLogo@2x~iphone - Used for iphone - size: 374x374 - size: 374x374
[INFO] :     LaunchLogo@3x~iphone - Used for iphone - size: 621x621 - size: 621x621
[INFO] :     LaunchLogo~ipad - Used for ipad - size: 384x384 - size: 384x384
[INFO] :     LaunchLogo@2x~ipad - Used for ipad - size: 1024x1024 - size: 1024x1024
[INFO] :   Creating launch image set
[INFO] :   Creating assets image set
[INFO] :   Processing JavaScript files
[WARN] :   The implicit global scope for variable declarations in app.js is deprecated in 7.5.0, and will be removed in 9.0.0
[WARN] :   See http://go.appcelerator.com/Titanium_SDK_7.5.0_Functionality_Update for more info
[INFO] :   Writing bootstrap json
[INFO] :   Writing app properties
[INFO] :   Encrypting JavaScript files
[INFO] :   Writing i18n files
[INFO] :   Processing Titanium symbols
[INFO] :   Removing files
[INFO] :   Optimizing .plist and .png files
[INFO] :   Starting Hyperloop assembly
[INFO] :   Skipping Hyperloop compile, no usage found ...
[INFO] :   Finished Hyperloop assembly in 0 seconds
[INFO] :   Invoking xcodebuild
[ERROR] :  ** ARCHIVE FAILED **

Comments

  1. jack sparrow 2018-12-02

    I've fixed it the issue was from provision profile is invalid , i created a new one and its works fine now , but the console in appc should show such error XD i had to spend all day searching for solution
  2. Rakhi Mitro 2018-12-03

    Hello [~jackSparrow], Thanks for your feedback. Which error are you experiencing now? It would be great if you can share your environmental details and error logs here.
  3. Rakhi Mitro 2018-12-03

    Issue is fixed in the latest studio and SDK.

JSON Source