Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7BE94200CDE for ; Tue, 25 Jul 2017 01:26:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7A501165E31; Mon, 24 Jul 2017 23:26:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 98D45165E2C for ; Tue, 25 Jul 2017 01:26:09 +0200 (CEST) Received: (qmail 42418 invoked by uid 500); 24 Jul 2017 23:26:08 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 42407 invoked by uid 99); 24 Jul 2017 23:26:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2017 23:26:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 54FCEC006E for ; Mon, 24 Jul 2017 23:26:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id lrbZZQwALlHK for ; Mon, 24 Jul 2017 23:26:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2D06C5FCB5 for ; Mon, 24 Jul 2017 23:26:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3CAEAE0C1D for ; Mon, 24 Jul 2017 23:26:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6BFEE23F1D for ; Mon, 24 Jul 2017 23:26:02 +0000 (UTC) Date: Mon, 24 Jul 2017 23:26:02 +0000 (UTC) From: "jcesarmobile (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12272) cordova-ios: installation of plugin with pod dependency fails: pod install silently exits MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 24 Jul 2017 23:26:10 -0000 [ https://issues.apache.org/jira/browse/CB-12272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16099266#comment-16099266 ] jcesarmobile commented on CB-12272: ----------------------------------- The problem is what I described on https://issues.apache.org/jira/browse/CB-12582?focusedCommentId=16096440&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16096440 pod install for some reason doesn't add the libPod-projectName.a to the Linked libraries when the plugin is installed before the platform (from the CLI or it was on the config.xml) > cordova-ios: installation of plugin with pod dependency fails: pod install silently exits > ----------------------------------------------------------------------------------------- > > Key: CB-12272 > URL: https://issues.apache.org/jira/browse/CB-12272 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-ios > Affects Versions: 4.3.1 > Environment: Mac OS X 10.12.2 > Xcode 8.2 > iPhoneOS10.2.sdk - iOS 10.2 > Cocoapods 1.1.0.rc.3 > cordova@6.4.0 > cordova-ios@4.3.1 > Reporter: Jean-Marc Terrettaz > Priority: Minor > Labels: backlog, cordova-ios-4.3.x, ios-next > Fix For: cordova-ios@4.4.1 > > Attachments: hello-world.zip, plugin.xml > > > I have a Cordova plugin which has a 'framework' dependency of type 'podspec' (see attached plugin.xml). When I add this plugin to a Cordova app on my MacBook, everything works fine, the plugin gets installed and then 'pod install' ist called and runs fine. > I am automating the build on MacServer nodes of our Jenkins CI. The plugin installation fails there. > I run this script : > {code} > CORDOVA_VERSION=6.4.0 > npm install cordova@${CORDOVA_VERSION} > PATH=$PATH:/usr/local/bin/:$(pwd)/node_modules/cordova/bin > rm -rf hello-world > cordova create hello-world > cd hello-world > cordova platform add ios@4.3.1 > cordova -d plugin add sbb-cordova-plugin-onboarding@0.0.5 > {code} > The plugin add command fails with this output: > {code} > + cordova -d plugin add sbb-cordova-plugin-onboarding@0.0.5 > You have been opted out of telemetry. To change this, run: cordova telemetry on. > No scripts found for hook "before_plugin_add". > Calling plugman.fetch on plugin "sbb-cordova-plugin-onboarding@0.0.5" > Fetching plugin "sbb-cordova-plugin-onboarding@0.0.5" via npm > Copying plugin "/Users/admin/.cordova/lib/npm_cache/sbb-cordova-plugin-onboarding/0.0.5/package" => "/Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/plugins/sbb-cordova-plugin-onboarding" > Calling plugman.install on plugin "/Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/plugins/sbb-cordova-plugin-onboarding" for platform "ios > Installing "sbb-cordova-plugin-onboarding" for ios > Running command: /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/cordova/version > Command finished with error code 0: /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/cordova/version > Finding scripts for "before_plugin_install" hook from plugin sbb-cordova-plugin-onboarding on ios platform only. > No scripts found for hook "before_plugin_install". > Install start for "sbb-cordova-plugin-onboarding" on ios. > Beginning processing of action stack for ios project... > Action stack processing complete. > Adding pods since the plugin contained (s) with type="podspec" > pods.json: The file at /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/pods.json does not exist. > Creating new pods.json in platforms/ios > Wrote to pods.json. > Podfile: The file at /Users/admin/jenkins-slave/workspace/user.u209792.cordova/hello-world/platforms/ios/Podfile does not exist. > Creating new Podfile in platforms/ios > Wrote to Podfile. > Set pods.json for `SBBSMPLib` > Added pod line for `SBBSMPLib` > Wrote to pods.json. > Wrote to Podfile. > Running `pod install` (to install plugins) > Failed to install 'sbb-cordova-plugin-onboarding':undefined > Error: Version should contain only numbers and dots > Build step 'Execute shell' marked build as failure > Finished: FAILURE > {code} > pod install does nothing but gives no error. > So I guess the problem has to do with the environment but it is for me very difficult to find the cause of the problem without a more detailled error message or more informations. > Is there any way to get more information or detailled error message? > I attach the whole 'hello-world' Cordova app as it is after the build failure. > Thanks, -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org