hyperloop-examples icon indicating copy to clipboard operation
hyperloop-examples copied to clipboard

[ERROR] types[type] is not a function

Open nirmaljpatel opened this issue 5 years ago • 1 comments

Looks similar to #75 but error on latest SDK & Cocoapods

Trying to run branch 3_0_X

Appcelerator Command-Line Interface, version 7.0.10
Copyright (c) 2014-2019, Appcelerator, Inc.  All Rights Reserved.

6/6/2019, 4:47:31 PM

Operating System
  Name                        = Mac OS X
  Version                     = 10.14.3
  Architecture                = 64bit
  # CPUs                      = 4
  Memory                      = 17179869184

Node.js
  Node.js Version             = 10.15.3
  npm Version                 = 6.9.0

Titanium CLI
  CLI Version                 = 5.1.1

Titanium SDK
  SDK Version                 = 8.0.1.GA
  SDK Path                    = /Users/neo/Library/Application Support/Titanium/mobilesdk/osx/8.0.1.GA
  Target Platform             = iphone

Command
  /Users/neo/.nvm/versions/node/v10.15.3/bin/node /Users/neo/.appcelerator/install/7.0.10/package/node_modules/titanium/lib/titanium.js build --platform ios --log-level info --project-dir /Users/neo/test/hyperloop-examples --targ
et device --device-id xxx --developer-name xxxl (xxx) --pp-uuid xxx --config-file /var/folders/gq/8_ngf1fn3g9476z3dwvnk4v40000gp/T/build-1559857
644506.json --no-banner --project-dir /Users/neo/test/hyperloop-examples

[INFO]  Found Titanium module id=hyperloop version=3.0.3 platform=iphone deploy-type=test path=/Users/neo/Library/Application Support/Titanium/modules/iphone/hyperloop/3.0.3
[INFO]  Found Titanium plugin id=ti.alloy version=1.0 
[INFO]  Deploy type: test
[INFO]  Building for target: device
[INFO]  Building using iOS SDK: 12.2
[INFO]  Building for iOS device: xxxx
[INFO]  Building for device family: universal
[INFO]  iOS Development Certificate: xxxl (xxx)
[INFO]  Team ID: xxx
[INFO]  Minimum iOS version: 9.0
[INFO]  Using default keychain
[INFO]  Logging enabled on port 22112
[INFO]  Debugging disabled
[INFO]  Profiler disabled
[INFO]  Set to copy files instead of symlinking
[INFO]  Forcing clean build: /Users/neo/test/hyperloop-examples/build/iphone/build-manifest.json does not exist
[INFO]  Initializing the build directory
[INFO]  Found Alloy app in /Users/neo/test/hyperloop-examples/app
[INFO]  Executing Alloy compile: /Users/neo/.nvm/versions/node/v10.15.3/bin/node /Users/neo/.appcelerator/install/7.0.10/package/node_modules/alloy/bin/alloy compile /Users/neo/test/hyperloop-examples/app --config platform=ios,version=0,simtype=none,devicefamily=universal,deploytype=test,target=device
[INFO]   [config.json] regenerating CFG.js from config.json...
[INFO]  ----- MVC GENERATION -----
[INFO]  [app.tss] global style processing...
[INFO]  [global style] writing to cache...
[INFO]  [button.xml] view processing...
[INFO]    style:      "ios/button.tss"
[INFO]    view:       "button.xml"
[INFO]    controller: "ios/button.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/button.js"
[INFO]    created:     "Resources/iphone/alloy/styles/button.js"
[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]  [ios/alert.xml] view processing...
[INFO]    style:      "ios/alert.tss"
[INFO]    view:       "ios/alert.xml"
[INFO]    controller: "ios/alert.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/alert.js"
[INFO]    created:     "Resources/iphone/alloy/styles/alert.js"
[INFO]  [ios/animateview.xml] view processing...
[INFO]    style:      "ios/animateview.tss"
[INFO]    view:       "ios/animateview.xml"
[INFO]    controller: "ios/animateview.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/animateview.js"
[INFO]    created:     "Resources/iphone/alloy/styles/animateview.js"
[INFO]  [ios/autolayout.xml] view processing...
[INFO]    view:       "ios/autolayout.xml"
[INFO]    controller: "ios/autolayout.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/autolayout.js"
[INFO]    created:     "Resources/iphone/alloy/styles/autolayout.js"
[INFO]  [ios/beacons.xml] view processing...
[INFO]    view:       "ios/beacons.xml"
[INFO]    controller: "ios/beacons.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/beacons.js"
[INFO]    created:     "Resources/iphone/alloy/styles/beacons.js"
[INFO]  [ios/blur.xml] view processing...
[INFO]    view:       "ios/blur.xml"
[INFO]    controller: "ios/blur.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/blur.js"
[INFO]    created:     "Resources/iphone/alloy/styles/blur.js"
[INFO]  [ios/collectionview.xml] view processing...
[INFO]    view:       "ios/collectionview.xml"
[INFO]    controller: "ios/collectionview.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/collectionview.js"
[INFO]    created:     "Resources/iphone/alloy/styles/collectionview.js"
[INFO]  [ios/custom.xml] view processing...
[INFO]    view:       "ios/custom.xml"
[INFO]    controller: "ios/custom.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/custom.js"
[INFO]    created:     "Resources/iphone/alloy/styles/custom.js"
[INFO]  [ios/donutchart.xml] view processing...
[INFO]    view:       "ios/donutchart.xml"
[INFO]    controller: "ios/donutchart.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/donutchart.js"
[INFO]    created:     "Resources/iphone/alloy/styles/donutchart.js"
[INFO]  [ios/drawrect.xml] view processing...
[INFO]    style:      "ios/drawrect.tss"
[INFO]    view:       "ios/drawrect.xml"
[INFO]    controller: "ios/drawrect.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/drawrect.js"
[INFO]    created:     "Resources/iphone/alloy/styles/drawrect.js"
[INFO]  [ios/gravity.xml] view processing...
[INFO]    view:       "ios/gravity.xml"
[INFO]    controller: "ios/gravity.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/gravity.js"
[INFO]    created:     "Resources/iphone/alloy/styles/gravity.js"
[INFO]  [ios/httprequest.xml] view processing...
[INFO]    view:       "ios/httprequest.xml"
[INFO]    controller: "ios/httprequest.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/httprequest.js"
[INFO]    created:     "Resources/iphone/alloy/styles/httprequest.js"
[INFO]  [ios/label.xml] view processing...
[INFO]    view:       "ios/label.xml"
[INFO]    controller: "ios/label.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/label.js"
[INFO]    created:     "Resources/iphone/alloy/styles/label.js"
[INFO]  [ios/shapes.xml] view processing...
[INFO]    style:      "ios/shapes.tss"
[INFO]    view:       "ios/shapes.xml"
[INFO]    controller: "ios/shapes.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/shapes.js"
[INFO]    created:     "Resources/iphone/alloy/styles/shapes.js"
[INFO]  [ios/tableview.xml] view processing...
[INFO]    view:       "ios/tableview.xml"
[INFO]    controller: "ios/tableview.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/tableview.js"
[INFO]    created:     "Resources/iphone/alloy/styles/tableview.js"
[INFO]  [ios/tinder.xml] view processing...
[INFO]    view:       "ios/tinder.xml"
[INFO]    controller: "ios/tinder.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/tinder.js"
[INFO]    created:     "Resources/iphone/alloy/styles/tinder.js"
[INFO]  [ios/touches.xml] view processing...
[INFO]    view:       "ios/touches.xml"
[INFO]    controller: "ios/touches.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/touches.js"
[INFO]    created:     "Resources/iphone/alloy/styles/touches.js"
[INFO]  [ios/touchid.xml] view processing...
[INFO]    style:      "ios/touchid.tss"
[INFO]    view:       "ios/touchid.xml"
[INFO]    controller: "ios/touchid.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/touchid.js"
[INFO]    created:     "Resources/iphone/alloy/styles/touchid.js"
[INFO]  [ios/wkwebview.xml] view processing...
[INFO]    style:      "ios/wkwebview.tss"
[INFO]    view:       "ios/wkwebview.xml"
[INFO]    controller: "ios/wkwebview.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/wkwebview.js"
[INFO]    created:     "Resources/iphone/alloy/styles/wkwebview.js"
[INFO]  [ios/xib.xml] view processing...
[INFO]    view:       "ios/xib.xml"
[INFO]    controller: "ios/xib.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/xib.js"
[INFO]    created:     "Resources/iphone/alloy/styles/xib.js"
[INFO]  [libraries/calendar.xml] view processing...
[INFO]    view:       "libraries/calendar.xml"
[INFO]    controller: "ios/libraries/calendar.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/calendar.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/calendar.js"
[INFO]  [libraries/charting.xml] view processing...
[INFO]    style:      "ios/libraries/charting.tss"
[INFO]    view:       "libraries/charting.xml"
[INFO]    controller: "ios/libraries/charting.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/charting.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/charting.js"
[INFO]  [libraries/gpuImage.xml] view processing...
[INFO]    view:       "libraries/gpuImage.xml"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/gpuImage.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/gpuImage.js"
[INFO]  [libraries/index.xml] view processing...
[INFO]    view:       "libraries/index.xml"
[INFO]    controller: "ios/libraries/index.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/index.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/index.js"
[INFO]  [libraries/localytics.xml] view processing...
[INFO]    style:      "ios/libraries/localytics.tss"
[INFO]    view:       "libraries/localytics.xml"
[INFO]    controller: "ios/libraries/localytics.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/localytics.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/localytics.js"
[INFO]  [libraries/markdown.xml] view processing...
[INFO]    style:      "ios/libraries/markdown.tss"
[INFO]    view:       "libraries/markdown.xml"
[INFO]    controller: "ios/libraries/markdown.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/markdown.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/markdown.js"
[INFO]  [libraries/markdownResult.xml] view processing...
[INFO]    view:       "libraries/markdownResult.xml"
[INFO]    controller: "ios/libraries/markdownResult.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/markdownResult.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/markdownResult.js"
[INFO]  [libraries/shimmer.xml] view processing...
[INFO]    view:       "libraries/shimmer.xml"
[INFO]    controller: "ios/libraries/shimmer.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/shimmer.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/shimmer.js"
[INFO]  [libraries/ssdp.xml] view processing...
[INFO]    style:      "ios/libraries/ssdp.tss"
[INFO]    view:       "libraries/ssdp.xml"
[INFO]    controller: "ios/libraries/ssdp.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/ssdp.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/ssdp.js"
[INFO]  [sizefill.xml] view processing...
[INFO]    view:       "sizefill.xml"
[INFO]    controller: "sizefill.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/sizefill.js"
[INFO]    created:     "Resources/iphone/alloy/styles/sizefill.js"
[INFO]  [videoplayer.xml] view processing...
[INFO]    style:      "videoplayer.tss"
[INFO]    view:       "videoplayer.xml"
[INFO]    controller: "ios/videoplayer.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/videoplayer.js"
[INFO]    created:     "Resources/iphone/alloy/styles/videoplayer.js"
[INFO]   
[INFO]  [app.js] Titanium entry point processing...
[INFO]    created:    "Resources/iphone/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]  - iphone/controls.js
[INFO]  - iphone/log.js
[INFO]  - iphone/subclasses/calendardelegate.js
[INFO]  - iphone/subclasses/chartdelegate.js
[INFO]  - iphone/subclasses/collectionviewdatasourcedelegate.js
[INFO]  - iphone/subclasses/collisionbehaviordelegate.js
[INFO]  - iphone/subclasses/drawrectview.js
[INFO]  - iphone/subclasses/gesturerecognizer.js
[INFO]  - iphone/subclasses/locationmanagerdelegate.js
[INFO]  - iphone/subclasses/tableviewdatasourcedelegate.js
[INFO]  - iphone/subclasses/urlsessiondelegate.js
[INFO]  - iphone/ti.reviewdialog.js
[INFO]  - iphone/wkwebview.js
[INFO]  - iphone/xp.ui.js
[INFO]   
[INFO]  Alloy compiled in 5.76696s
[INFO]  Alloy compiler completed successfully
[INFO]  [Hyperloop] CocoaPods dependencies found. This will take a few moments but will be cached for subsequent builds
[WARN]  [Hyperloop] CocoaPods [!] The version of CocoaPods used to generate the lockfile (1.6.1) is higher than the version of the current executable (1.3.1). Incompatibility issues may arise.
[INFO]  [Hyperloop] Building CocoaPods dependencies
[WARN]  [Hyperloop] CocoaPods 2019-06-06 16:47:52.721 xcodebuild[10138:8114239]  DTDeviceKit: deviceType from fa485bc47882daaa1731ed779872b6be901d0a6a was NULL
[WARN]  [Hyperloop] CocoaPods 2019-06-06 16:47:53.164 xcodebuild[10138:8114405]  DTDeviceKit: deviceType from fa485bc47882daaa1731ed779872b6be901d0a6a was NULL
[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]  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
[WARN]  If this app has been previously installed on this device, you may need restart it to see the latest launch logo
[WARN]  iOS renders and caches the launch screen to a PNG image that seems to only be invalidated by restarting iOS
[INFO]  Missing 17 app icons, generating missing icons
[INFO]    appicon-Small.png - Used for iPad - size: 29x29
[INFO]    [email protected] - Used for iPhone, iPad - size: 58x58
[INFO]    [email protected] - Used for iPhone - size: 87x87
[INFO]    appicon-Small-40.png - Used for iPad - size: 40x40
[INFO]    [email protected] - Used for iPhone, iPad - size: 80x80
[INFO]    [email protected] - Used for iPhone - size: 120x120
[INFO]    [email protected] - Used for iPhone - size: 120x120
[INFO]    [email protected] - Used for iPhone - size: 180x180
[INFO]    appicon-76.png - Used for iPad - size: 76x76
[INFO]    [email protected] - Used for iPad - size: 152x152
[INFO]    [email protected] - Used for iPad - size: 167x167
[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]  Processing JavaScript files
[INFO]  Writing app properties
[ERROR] An error occurred during build after 53s 443ms
[ERROR] types[type] is not a function
 
MC02S30GAFVH8:hyperloop-examples neo$ 
MC02S30GAFVH8:hyperloop-examples neo$ appc "run" "--platform" "ios" "--log-level" "info" "--project-dir" "/Users/neo/test/hyperloop-examples" "--target" "device" "--device-id" "fa485bc47882daaa1731ed779872b6be901d0a6a" "--develop
er-name" "Nirmal Patel (268V2H387G)" "--pp-uuid" "c47a77cc-9dcc-431e-9d16-bfae75dad8cd"
Appcelerator Command-Line Interface, version 7.0.10
Copyright (c) 2014-2019, Appcelerator, Inc.  All Rights Reserved.

6/6/2019, 4:59:33 PM

Operating System
  Name                        = Mac OS X
  Version                     = 10.14.3
  Architecture                = 64bit
  # CPUs                      = 4
  Memory                      = 17179869184

Node.js
  Node.js Version             = 10.15.3
  npm Version                 = 6.9.0

Titanium CLI
  CLI Version                 = 5.1.1

Titanium SDK
  SDK Version                 = 8.0.1.GA
  SDK Path                    = /Users/neo/Library/Application Support/Titanium/mobilesdk/osx/8.0.1.GA
  Target Platform             = iphone

Command
  /Users/neo/.nvm/versions/node/v10.15.3/bin/node /Users/neo/.appcelerator/install/7.0.10/package/node_modules/titanium/lib/titanium.js build --platform ios --log-level info --project-dir /Users/neo/test/hyperloop-examples --targ
et device --device-id fa485bc47882daaa1731ed779872b6be901d0a6a --developer-name Nirmal Patel (268V2H387G) --pp-uuid c47a77cc-9dcc-431e-9d16-bfae75dad8cd --config-file /var/folders/gq/8_ngf1fn3g9476z3dwvnk4v40000gp/T/build-1559858
361652.json --no-banner --project-dir /Users/neo/test/hyperloop-examples

[INFO]  Found Titanium module id=hyperloop version=3.0.3 platform=iphone deploy-type=test path=/Users/neo/Library/Application Support/Titanium/modules/iphone/hyperloop/3.0.3
[INFO]  Found Titanium plugin id=ti.alloy version=1.0 
[INFO]  Deploy type: test
[INFO]  Building for target: device
[INFO]  Building using iOS SDK: 12.2
[INFO]  Building for iOS device: fa485bc47882daaa1731ed779872b6be901d0a6a
[INFO]  Building for device family: universal
[INFO]  iOS Development Certificate: Nirmal Patel (268V2H387G)
[INFO]  Team ID: 4D32GRDTEN
[INFO]  Minimum iOS version: 9.0
[INFO]  Using default keychain
[INFO]  Logging enabled on port 22112
[INFO]  Debugging disabled
[INFO]  Profiler disabled
[INFO]  Set to copy files instead of symlinking
[INFO]  Forcing clean build: /Users/neo/test/hyperloop-examples/build/iphone/build-manifest.json does not exist
[INFO]  Initializing the build directory
[INFO]  Found Alloy app in /Users/neo/test/hyperloop-examples/app
[INFO]  Executing Alloy compile: /Users/neo/.nvm/versions/node/v10.15.3/bin/node /Users/neo/.appcelerator/install/7.0.10/package/node_modules/alloy/bin/alloy compile /Users/neo/test/hyperloop-examples/app --config platform=ios,version=0,simtype=none,devicefamily=universal,deploytype=test,target=device
[INFO]   [config.json] regenerating CFG.js from config.json...
[INFO]  ----- MVC GENERATION -----
[INFO]  [app.tss] global style processing...
[INFO]  [global style] writing to cache...
[INFO]  [button.xml] view processing...
[INFO]    style:      "ios/button.tss"
[INFO]    view:       "button.xml"
[INFO]    controller: "ios/button.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/button.js"
[INFO]    created:     "Resources/iphone/alloy/styles/button.js"
[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]  [ios/alert.xml] view processing...
[INFO]    style:      "ios/alert.tss"
[INFO]    view:       "ios/alert.xml"
[INFO]    controller: "ios/alert.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/alert.js"
[INFO]    created:     "Resources/iphone/alloy/styles/alert.js"
[INFO]  [ios/animateview.xml] view processing...
[INFO]    style:      "ios/animateview.tss"
[INFO]    view:       "ios/animateview.xml"
[INFO]    controller: "ios/animateview.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/animateview.js"
[INFO]    created:     "Resources/iphone/alloy/styles/animateview.js"
[INFO]  [ios/autolayout.xml] view processing...
[INFO]    view:       "ios/autolayout.xml"
[INFO]    controller: "ios/autolayout.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/autolayout.js"
[INFO]    created:     "Resources/iphone/alloy/styles/autolayout.js"
[INFO]  [ios/beacons.xml] view processing...
[INFO]    view:       "ios/beacons.xml"
[INFO]    controller: "ios/beacons.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/beacons.js"
[INFO]    created:     "Resources/iphone/alloy/styles/beacons.js"
[INFO]  [ios/blur.xml] view processing...
[INFO]    view:       "ios/blur.xml"
[INFO]    controller: "ios/blur.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/blur.js"
[INFO]    created:     "Resources/iphone/alloy/styles/blur.js"
[INFO]  [ios/collectionview.xml] view processing...
[INFO]    view:       "ios/collectionview.xml"
[INFO]    controller: "ios/collectionview.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/collectionview.js"
[INFO]    created:     "Resources/iphone/alloy/styles/collectionview.js"
[INFO]  [ios/custom.xml] view processing...
[INFO]    view:       "ios/custom.xml"
[INFO]    controller: "ios/custom.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/custom.js"
[INFO]    created:     "Resources/iphone/alloy/styles/custom.js"
[INFO]  [ios/donutchart.xml] view processing...
[INFO]    view:       "ios/donutchart.xml"
[INFO]    controller: "ios/donutchart.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/donutchart.js"
[INFO]    created:     "Resources/iphone/alloy/styles/donutchart.js"
[INFO]  [ios/drawrect.xml] view processing...
[INFO]    style:      "ios/drawrect.tss"
[INFO]    view:       "ios/drawrect.xml"
[INFO]    controller: "ios/drawrect.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/drawrect.js"
[INFO]    created:     "Resources/iphone/alloy/styles/drawrect.js"
[INFO]  [ios/gravity.xml] view processing...
[INFO]    view:       "ios/gravity.xml"
[INFO]    controller: "ios/gravity.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/gravity.js"
[INFO]    created:     "Resources/iphone/alloy/styles/gravity.js"
[INFO]  [ios/httprequest.xml] view processing...
[INFO]    view:       "ios/httprequest.xml"
[INFO]    controller: "ios/httprequest.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/httprequest.js"
[INFO]    created:     "Resources/iphone/alloy/styles/httprequest.js"
[INFO]  [ios/label.xml] view processing...
[INFO]    view:       "ios/label.xml"
[INFO]    controller: "ios/label.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/label.js"
[INFO]    created:     "Resources/iphone/alloy/styles/label.js"
[INFO]  [ios/shapes.xml] view processing...
[INFO]    style:      "ios/shapes.tss"
[INFO]    view:       "ios/shapes.xml"
[INFO]    controller: "ios/shapes.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/shapes.js"
[INFO]    created:     "Resources/iphone/alloy/styles/shapes.js"
[INFO]  [ios/tableview.xml] view processing...
[INFO]    view:       "ios/tableview.xml"
[INFO]    controller: "ios/tableview.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/tableview.js"
[INFO]    created:     "Resources/iphone/alloy/styles/tableview.js"
[INFO]  [ios/tinder.xml] view processing...
[INFO]    view:       "ios/tinder.xml"
[INFO]    controller: "ios/tinder.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/tinder.js"
[INFO]    created:     "Resources/iphone/alloy/styles/tinder.js"
[INFO]  [ios/touches.xml] view processing...
[INFO]    view:       "ios/touches.xml"
[INFO]    controller: "ios/touches.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/touches.js"
[INFO]    created:     "Resources/iphone/alloy/styles/touches.js"
[INFO]  [ios/touchid.xml] view processing...
[INFO]    style:      "ios/touchid.tss"
[INFO]    view:       "ios/touchid.xml"
[INFO]    controller: "ios/touchid.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/touchid.js"
[INFO]    created:     "Resources/iphone/alloy/styles/touchid.js"
[INFO]  [ios/wkwebview.xml] view processing...
[INFO]    style:      "ios/wkwebview.tss"
[INFO]    view:       "ios/wkwebview.xml"
[INFO]    controller: "ios/wkwebview.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/wkwebview.js"
[INFO]    created:     "Resources/iphone/alloy/styles/wkwebview.js"
[INFO]  [ios/xib.xml] view processing...
[INFO]    view:       "ios/xib.xml"
[INFO]    controller: "ios/xib.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/xib.js"
[INFO]    created:     "Resources/iphone/alloy/styles/xib.js"
[INFO]  [libraries/calendar.xml] view processing...
[INFO]    view:       "libraries/calendar.xml"
[INFO]    controller: "ios/libraries/calendar.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/calendar.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/calendar.js"
[INFO]  [libraries/charting.xml] view processing...
[INFO]    style:      "ios/libraries/charting.tss"
[INFO]    view:       "libraries/charting.xml"
[INFO]    controller: "ios/libraries/charting.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/charting.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/charting.js"
[INFO]  [libraries/gpuImage.xml] view processing...
[INFO]    view:       "libraries/gpuImage.xml"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/gpuImage.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/gpuImage.js"
[INFO]  [libraries/index.xml] view processing...
[INFO]    view:       "libraries/index.xml"
[INFO]    controller: "ios/libraries/index.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/index.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/index.js"
[INFO]  [libraries/localytics.xml] view processing...
[INFO]    style:      "ios/libraries/localytics.tss"
[INFO]    view:       "libraries/localytics.xml"
[INFO]    controller: "ios/libraries/localytics.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/localytics.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/localytics.js"
[INFO]  [libraries/markdown.xml] view processing...
[INFO]    style:      "ios/libraries/markdown.tss"
[INFO]    view:       "libraries/markdown.xml"
[INFO]    controller: "ios/libraries/markdown.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/markdown.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/markdown.js"
[INFO]  [libraries/markdownResult.xml] view processing...
[INFO]    view:       "libraries/markdownResult.xml"
[INFO]    controller: "ios/libraries/markdownResult.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/markdownResult.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/markdownResult.js"
[INFO]  [libraries/shimmer.xml] view processing...
[INFO]    view:       "libraries/shimmer.xml"
[INFO]    controller: "ios/libraries/shimmer.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/shimmer.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/shimmer.js"
[INFO]  [libraries/ssdp.xml] view processing...
[INFO]    style:      "ios/libraries/ssdp.tss"
[INFO]    view:       "libraries/ssdp.xml"
[INFO]    controller: "ios/libraries/ssdp.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/libraries/ssdp.js"
[INFO]    created:     "Resources/iphone/alloy/styles/libraries/ssdp.js"
[INFO]  [sizefill.xml] view processing...
[INFO]    view:       "sizefill.xml"
[INFO]    controller: "sizefill.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/sizefill.js"
[INFO]    created:     "Resources/iphone/alloy/styles/sizefill.js"
[INFO]  [videoplayer.xml] view processing...
[INFO]    style:      "videoplayer.tss"
[INFO]    view:       "videoplayer.xml"
[INFO]    controller: "ios/videoplayer.js"
[INFO]    created:    "Resources/iphone/alloy/controllers/videoplayer.js"
[INFO]    created:     "Resources/iphone/alloy/styles/videoplayer.js"
[INFO]   
[INFO]  [app.js] Titanium entry point processing...
[INFO]    created:    "Resources/iphone/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]  - iphone/controls.js
[INFO]  - iphone/log.js
[INFO]  - iphone/subclasses/calendardelegate.js
[INFO]  - iphone/subclasses/chartdelegate.js
[INFO]  - iphone/subclasses/collectionviewdatasourcedelegate.js
[INFO]  - iphone/subclasses/collisionbehaviordelegate.js
[INFO]  - iphone/subclasses/drawrectview.js
[INFO]  - iphone/subclasses/gesturerecognizer.js
[INFO]  - iphone/subclasses/locationmanagerdelegate.js
[INFO]  - iphone/subclasses/tableviewdatasourcedelegate.js
[INFO]  - iphone/subclasses/urlsessiondelegate.js
[INFO]  - iphone/ti.reviewdialog.js
[INFO]  - iphone/wkwebview.js
[INFO]  - iphone/xp.ui.js
[INFO]   
[INFO]  Alloy compiled in 5.70965s
[INFO]  Alloy compiler completed successfully
[INFO]  [Hyperloop] CocoaPods dependencies found. This will take a few moments but will be cached for subsequent builds
[INFO]  [Hyperloop] Building CocoaPods dependencies
[WARN]  [Hyperloop] CocoaPods 2019-06-06 16:59:54.324 xcodebuild[11662:8139742]  DTDeviceKit: deviceType from fa485bc47882daaa1731ed779872b6be901d0a6a was NULL
[WARN]  [Hyperloop] CocoaPods 2019-06-06 16:59:54.727 xcodebuild[11662:8139834]  DTDeviceKit: deviceType from fa485bc47882daaa1731ed779872b6be901d0a6a was NULL
[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]  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
[WARN]  If this app has been previously installed on this device, you may need restart it to see the latest launch logo
[WARN]  iOS renders and caches the launch screen to a PNG image that seems to only be invalidated by restarting iOS
[INFO]  Missing 17 app icons, generating missing icons
[INFO]    appicon-Small.png - Used for iPad - size: 29x29
[INFO]    [email protected] - Used for iPhone, iPad - size: 58x58
[INFO]    [email protected] - Used for iPhone - size: 87x87
[INFO]    appicon-Small-40.png - Used for iPad - size: 40x40
[INFO]    [email protected] - Used for iPhone, iPad - size: 80x80
[INFO]    [email protected] - Used for iPhone - size: 120x120
[INFO]    [email protected] - Used for iPhone - size: 120x120
[INFO]    [email protected] - Used for iPhone - size: 180x180
[INFO]    appicon-76.png - Used for iPad - size: 76x76
[INFO]    [email protected] - Used for iPad - size: 152x152
[INFO]    [email protected] - Used for iPad - size: 167x167
[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]  Processing JavaScript files
[INFO]  Writing app properties
[ERROR] An error occurred during build after 54s 525ms
[ERROR] types[type] is not a function

nirmaljpatel avatar Jun 06 '19 22:06 nirmaljpatel

$ gem which cocoapods
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.1/lib/cocoapods.rb

nirmaljpatel avatar Jun 06 '19 22:06 nirmaljpatel