From issues-return-93423-apmail-cordova-issues-archive=cordova.apache.org@cordova.apache.org Thu Mar 15 19:06:05 2018 Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D79F018EFF for ; Thu, 15 Mar 2018 19:06:05 +0000 (UTC) Received: (qmail 20100 invoked by uid 500); 15 Mar 2018 19:06:05 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 20080 invoked by uid 500); 15 Mar 2018 19:06:05 -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 20057 invoked by uid 99); 15 Mar 2018 19:06:05 -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; Thu, 15 Mar 2018 19:06:05 +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 36E93C0582 for ; Thu, 15 Mar 2018 19:06:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id PxUPX6aoPd7E for ; Thu, 15 Mar 2018 19:06:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A86D15FAC5 for ; Thu, 15 Mar 2018 19:06:02 +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 75D41E0D00 for ; Thu, 15 Mar 2018 19:06:01 +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 43C17214A5 for ; Thu, 15 Mar 2018 19:06:00 +0000 (UTC) Date: Thu, 15 Mar 2018 19:06:00 +0000 (UTC) From: "Peter (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-13978) Swift 3-4 support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-13978?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Peter updated CB-13978: ----------------------- Attachment: (was: plugin.xml) > Swift 3-4 support > ----------------- > > Key: CB-13978 > URL: https://issues.apache.org/jira/browse/CB-13978 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli, cordova-ios > Affects Versions: cordova-android-7.0.0 > Reporter: Peter > Assignee: Suraj Pindoria > Priority: Blocker > > I tried to=C2=A0transform the cordova-plugin-fcm to Swift, and i realized= lots of bugs. > 1, I cannot configure the use_targets! in the pod file, there is no flag = for it. > 2, the target device preference does not pick up the version. (it goes to= default 8) > 3, Automatically set some capabilities like=C2=A0Capabilities -> Backgrou= nd mode - Remote notification in my workspace. I have no idea how to config= ure it automatically. > The cordova build is failing, however the xcode version seems to me worki= ng: > ProcessProductPackaging "" /Users/zetor/Library/Developer/Xcode/DerivedDa= ta/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.= build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.f= ramework.xcent > cd /Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/Pods > export PATH=3D"/Applications/Xcode.app/Contents/Developer/Platforms/iPho= neSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Dev= eloper/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" > builtin-productPackagingUtility -entitlements -format xml -o /Users/zeto= r/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzr= v/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolbo= xForMac.build/GoogleToolboxForMac.framework.xcent > warning: Falling back to contents of entitlements file "Entitlements-Deb= ug.plist" because it was modified during the build process. Modifying the e= ntitlements file during the build is unsupported.error: The file "Entitleme= nts-Debug.plist" couldn't be opened because there is no such file. > *=20 > ** BUILD FAILED ** > The following build commands failed: > ProcessProductPackaging "" /Users/zetor/Library/Developer/Xcode/DerivedD= ata/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods= .build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.= framework.xcent > (1 failure) > (node:2660) UnhandledPromiseRejectionWarning: Error code 65 for command:= xcodebuild with args: -xcconfig,/Users/zetor/Desktop/shared/myscoutee/fron= tend/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyScoutee.xcwork= space,-scheme,MyScoutee,-configuration,Debug,-sdk,iphonesimulator,-destinat= ion,platform=3DiOS Simulator,name=3DiPhone SE,build,CONFIGURATION_BUILD_DIR= =3D/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/emula= tor,SHARED_PRECOMPS_DIR=3D/Users/zetor/Desktop/shared/myscoutee/frontend/pl= atforms/ios/build/sharedpch > (node:2660) UnhandledPromiseRejectionWarning: Unhandled promise rejectio= n. This error originated either by throwing inside of an async function wit= hout a catch block, or by rejecting a promise which was not handled with .c= atch(). (rejection id: 1) > (node:2660) [DEP0018] DeprecationWarning: Unhandled promise rejections a= re deprecated. In the future, promise rejections that are not handled will = terminate the Node.js process with a non-zero exit code. > 4, With swift 3.2 i was able to access the methods of the plugin, but wit= h swift4, the methods were unavailable. (the class has been identified) > There is a swift support plugin, but i would like to set the bridging hea= der once, instead of creating a new one. I have used a cocoapod-support plu= gin, although it was not working. I think both of the them should be integr= ated into the cordova. > I have wasted more than 10 hours to hack around the plugin config to make= it work. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org