chrisribe / ti-firebase

Appcelerator / Titanium module project to build and use the google firebase SDK
Other
33 stars 14 forks source link

Error while compiling App (module v.1.3.1) #23

Open kilyan-s opened 7 years ago

kilyan-s commented 7 years ago

Hello,

Thanks for this module, I would like to use Firebase Analytics for an app.

I have downloaded the compiled module (version 1.3.1). I added the module to my application project. When I try to compile the application I get the following error in Appcelerator Studio console :

[ERROR] :  ** BUILD FAILED **
[ERROR] :  The following build commands failed:
[ERROR] :   Ld build/Intermediates/Philia.build/Debug-iphoneos/Philia.build/Objects-normal/armv7/Philia normal armv7
[ERROR] :   Ld build/Intermediates/Philia.build/Debug-iphoneos/Philia.build/Objects-normal/arm64/Philia normal arm64
[ERROR] :  (2 failures)

I'm using : Titanium SDK 6.1.0.GA Xcode 8.3.3 iOS simulator iOS 10.3.1 & iPhone 6S iOS 10.3.3

Do you have any idea where this might come from ?

Thanks, Kilyan

This is the log of Appcelerator Studio console :

Appcelerator Command-Line Interface, version 6.2.4
Copyright (c) 2014-2017, Appcelerator, Inc.  All Rights Reserved.
2017-10-10T15:28:20.738Z | TRACE  | set environment to {"registry":"https://software.appcelerator.com","baseurl":"https://platform.appcelerator.com"}
2017-10-10T15:28:20.739Z | TRACE  | checking credentials for existing session
2017-10-10T15:28:20.866Z | TRACE  | Attempting to load session info from config file
2017-10-10T15:28:20.870Z | TRACE  | check if session is invalidated
2017-10-10T15:28:21.633Z | TRACE  | refresh session expiry to:  1508254101541
2017-10-10T15:28:21.636Z | TRACE  | session expiry 1508254101541 false
2017-10-10T15:28:21.637Z | TRACE  | Arrow Cloud config file: /Users/UBG/.acs
2017-10-10T15:28:21.638Z | TRACE  | found Arrow Cloud login { mid: 'a995d1ff5acd6e302d4207b9ba0a603607983439',
  publishPort: 443,
  publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
  username: 'francois@ubg-interactive.fr',
  cookie: [ 'connect.sid=s%3AbcXQMsfXSYxuDWyCsGUEAPCF8BigzQOb.ayBxEJwKhxASAnCS3lYra%2FIW3swUlFohLcP0aXbArYM; Path=/; Expires=Mon, 23 Oct 2017 10:00:34 GMT; HttpOnly' ],
  defaultEP: 
   { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
     publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com
2017-10-10T15:28:21.639Z | TRACE  | Arrow Cloud cookie expiry [ 1508752834000 ]
2017-10-10T15:28:21.639Z | TRACE  | session already loaded in opts.session
2017-10-10T15:28:21.641Z | TRACE  | getCredentials() session:
{
  "ipaddress": "192.168.1.114",
  "username": "francois@ubg-interactive.fr",
  "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": "a995d1ff5acd6e302d4207b9ba0a603607983439",
  "fingerprint_description": "Mac OSX Serial Number: C02Q814CFVH5",
  "org_id": 100002299,
  "expiry": 1508254101541
}
2017-10-10T15:28:21.641Z | TRACE  | loading plugins for command "run"
2017-10-10T15:28:21.687Z | TRACE  | run search paths:
[
  "/Users/UBG/.appcelerator/install/6.2.4/package",
  "/Users/UBG/.appcelerator/install/6.2.4/package/node_modules",
  "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules",
  "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules",
  "/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules",
  "/Applications/Appcelerator Studio/node_modules",
  "/Applications/node_modules",
  "/node_modules",
  "/Users/UBG/.appcelerator/.npm/lib/node_modules"
]
2017-10-10T15:28:21.688Z | DEBUG  | [PLUGIN-LOAD] 0ms /Users/UBG/.appcelerator/install/6.2.4/package/appc.js
2017-10-10T15:28:22.062Z | DEBUG  | [PLUGIN-LOAD] 371ms /Users/UBG/.appcelerator/install/6.2.4/package/node_modules/appc-cli-titanium/appc.js
2017-10-10T15:28:22.062Z | DEBUG  | run plugin: /Users/UBG/.appcelerator/install/6.2.4/package/node_modules/appc-cli-titanium
2017-10-10T15:28:22.064Z | DEBUG  | [PLUGIN-LOAD] 1ms /Users/UBG/.appcelerator/install/6.2.4/package/node_modules/arrow/appc.js
2017-10-10T15:28:22.067Z | DEBUG  | run plugin: /Users/UBG/.appcelerator/install/6.2.4/package/node_modules/arrow
2017-10-10T15:28:22.069Z | TRACE  | plugin "arrow" failed its "when" function check, skipping...
2017-10-10T15:28:22.069Z | TRACE  | loading plugin "titanium" for command "run" CLI options via function
2017-10-10T15:28:22.071Z | TRACE  | loading plugin "titanium" for command "run" CLI options via array
2017-10-10T15:28:22.073Z | TRACE  | executing command "run" with the following plugins:
["titanium"]
2017-10-10T15:28:22.074Z | TRACE  | session already loaded in opts.session
2017-10-10T15:28:22.076Z | DEBUG  | Titanium Downloads Last Checked: 1507626738454
2017-10-10T15:28:22.117Z | TRACE  | No project alloy hook; skipping update to 1.0.0
10/10/2017, 5:28:25 PM
Operating System
  Name                        = Mac OS X
  Version                     = 10.12.6
  Architecture                = 64bit
  # CPUs                      = 4
  Memory                      = 8589934592
Node.js
  Node.js Version             = 4.6.2
  npm Version                 = 2.15.11
Titanium CLI
  CLI Version                 = 5.0.14
Titanium SDK
  SDK Version                 = 6.1.0.GA
  SDK Path                    = /Users/UBG/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA
  Target Platform             = iphone
Command
  /Users/UBG/.nvm/versions/node/v4.6.2/bin/node /Users/UBG/.appcelerator/install/6.2.4/package/node_modules/titanium/lib/titanium.js build --platform ios --log-level trace --sdk 6.1.0.GA --project-dir /Users/UBG/Documents/Appcelerator_Studio_Workspace/Philia - iOS --target device --ios-version 10.3.1 --device-family iphone --developer-name Francois GONNET (7AFEEGWG9B) --device-id e86bbab674eecd5bc2ab66e7de4283c83019f1ee --pp-uuid 105099b2-6261-458c-bd34-4f5d85902469 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 49485 --config-file /var/folders/cm/6vn269t50cbgb2pxq6rjcrl40000gp/T/build-1507649302075.json --no-banner --project-dir /Users/UBG/Documents/Appcelerator_Studio_Workspace/Philia - iOS
[INFO] :   Found Titanium module id=guy.mcdooooo.tipop version=1.0.6 platform=iphone deploy-type=test path=/Users/UBG/Library/Application Support/Titanium/modules/iphone/guy.mcdooooo.tipop/1.0.6
[INFO] :   Found Titanium module id=dk.napp.drawer version=1.2.4 platform=iphone deploy-type=test path=/Users/UBG/Library/Application Support/Titanium/modules/iphone/dk.napp.drawer/1.2.4
[INFO] :   Found Titanium module id=ti.animation version=1.1.0 platform=iphone deploy-type=test path=/Users/UBG/Library/Application Support/Titanium/modules/iphone/ti.animation/1.1.0
[INFO] :   Found Titanium module id=com.ubginteractive.TiNowPlaying version=1.0 platform=iphone deploy-type=test path=/Users/UBG/Library/Application Support/Titanium/modules/iphone/com.ubginteractive.TiNowPlaying/1.0
[INFO] :   Found Titanium module id=ti.firebase version=1.3.1 platform=iphone deploy-type=test path=/Users/UBG/Library/Application Support/Titanium/modules/iphone/ti.firebase/1.3.1
[INFO] :   Deploy type: test
[INFO] :   Building for target: device
[INFO] :   Building using iOS SDK: 10.3.1
[INFO] :   Building for iOS device: e86bbab674eecd5bc2ab66e7de4283c83019f1ee
[INFO] :   Building for device family: iphone
[INFO] :   iOS Development Certificate: Francois GONNET (7AFEEGWG9B)
[INFO] :   Minimum iOS version: 10.0
[INFO] :   Using default keychain
[INFO] :   Logging enabled on port 40208
[INFO] :   Debugging disabled
[INFO] :   Profiler disabled
[INFO] :   Set to copy files instead of symlinking
[INFO] :   Forcing clean build: /Users/UBG/Documents/Appcelerator_Studio_Workspace/Philia - iOS/build/iphone/build-manifest.json does not exist
[INFO] :   Initializing the build directory
[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] :   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
[WARN] :   The default icon "DefaultIcon.png" contains an alpha channel and will be flattened against a white background
[WARN] :   You may create an image named "DefaultIcon-ios.png" that does not have an alpha channel in the root of your project
[WARN] :   It is highly recommended that the DefaultIcon.png be 1024x1024
[INFO] :   Missing 6 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] :   Creating launch image set
[WARN] :   Missing a launch image:
[WARN] :     Default
[WARN] :       Default-Landscape-736h@3x.png - Used for iPhone - dimensions: 2208x1242, orientation: landscape
[INFO] :   Creating assets image set
[INFO] :   Processing JavaScript files
[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] :   Invoking xcodebuild
[ERROR] :  ** BUILD FAILED **
[ERROR] :  The following build commands failed:
[ERROR] :   Ld build/Intermediates/Philia.build/Debug-iphoneos/Philia.build/Objects-normal/armv7/Philia normal armv7
[ERROR] :   Ld build/Intermediates/Philia.build/Debug-iphoneos/Philia.build/Objects-normal/arm64/Philia normal arm64
[ERROR] :  (2 failures)