-
Notifications
You must be signed in to change notification settings - Fork 439
CocoaPods dependency causing build failure #924
Comments
If bumping to Firebase iOS SDK 5.8.1 is the solution then that's a relatively easy fix. However, the new Xcode 10 buildsystem doesn't seem to play nice with that version on NativeScript. While on the subject of Xcode 10: did your daily build server switch to Xcode 10 around the time you saw the failure? |
No it’s still running Xcode 8 |
We're seeing the same issue since last night, running xcode 9.3 |
@patrick-nurt What changed yesterday? |
Updated to latest version of your plugin yesterday, was building fine last night - this morning we get the same error in travis:
|
My brain has trouble making sense of this as there are too many variables (Xcode versions, NativeScript versions, Plugin versions, Pod versions) and inconsistent behavior (worked after the upgrade, but later it didn't).. so this needs to be pinned down further. I'm currently already in Xcode 10's "new build system" hell, figuring things out between NativeScript 4 and 5 (@ next) versions which messes up my development machine, so don't expect a quick patch here. |
I am having the same issues from a brand new project. Using Sidekick cloud build.
|
Can anyone share a project I can clone to reproduce this issue, along with the NativeScript and Xcode versions that are used to build the project? I simply can't reproduce this specific issue.. |
I can, but I am not sure what version of Xcode is being used on Sidekick Cloud Builds. |
I am having the same issue from yesterday. Getting "Build failed". I have not uploaded it to Github yet. But sure can share google drive link to download nativescript project. |
I have created a PR that fixes the issue by updating to Firebase 5.8.1 |
I still have issue after Adding "pod 'GoogleUtilities', '5.2.3'" and changing Firebase/core to 5.8.1 |
@Aakashchauhan17 What's the exact issue with that config? |
Note that even though I still have no way to reproduce the issue I will add that temp fix ( |
@EddyVerbruggen . I am getting this kind of error when trying to tun command 'tns run ios' Executing before-shouldPrepare hook from /Users/Aakash/Documents/Projects/aakashcam/hooks/before-shouldPrepare/nativescript-dev-webpack.js Unable to apply changes on device: D67E3CFF-7EF5-4154-A95C-0CA64CE2D648. Error is: Command xcodebuild failed with exit code 65. |
@Aakashchauhan17 You're using Xcode 10 and running into a compatibility issue with NativeScript. I'm actually trying to help fix this type of errors in the CLI. It has nothing to do with this plugin. |
@EddyVerbruggen |
Yep. See my previous comment. Using Xcode 9 doesn't give you this headache, so it's because of the new Xcode 10 build system. |
It was working fine until tomorrow. And I haven't changed anything in code. |
Ok. Yes. now I understand. Thanks. So I might need to shift to use xcode 9 |
Yeah, you can download it from Apple (I did it as well to be able to switch between 9 and 10 when needed). And also keep an eye out on the issues @ https://github.com/NativeScript/nativescript-cli/issues |
7.1.0 has been released, with the alledged temp fix for the OP's |
If you need a project to tinker with, you can use Picme: github.com/jlooper/picme |
@EddyVerbruggen Ok. Cool. I will try to do it with xcode 9.4.1 and firebase sdk 7.1.0 . And thank you so much to look further into this issue |
@EddyVerbruggen builds succeeded this morning with latest version. Thank you very much for the quick response. Really appreciated. Sorry for any headaches. :) |
also have this issue when I tried building with NS Sidekick |
@virtualbjorn have you been using the latest version of |
Update plugin to solve EddyVerbruggen/nativescript-plugin-firebase#924
+1 |
I'm having this issue as well, and I cannot apply any patch because the patch suggested here: |
How to downgrade xcode 10 to xcode 9 |
You need to first uninstall xcode 10 from application and from the Apple's website go to downloads and select xcode 9.4.x to download. Then you are good to go. It works fine. |
Correct. You can also try the “next” (5) version of nativescript which has better Xcode 10 compat. |
no need, check the version of the plugin in package.json update it. |
No luck. Eventhough i downgraded to xcode 9, firebase 7.1. i am getting error with methodswizzler. Firebase/Core ( |
update the firebase plugin to 7 at least.
El mié., 3 de oct. de 2018 5:58 PM, spmamidi <[email protected]>
escribió:
… No luck. Eventhough i downgraded to xcode 9, firebase 7.1. i am getting
error with methodswizzler.
Anyworkarounds are highly appreciated.
Firebase/Core (> 5.6.0) was resolved to 5.6.0, which depends on
FirebaseAnalytics (= 5.1.1) was resolved to 5.1.1, which depends on
GoogleUtilities/MethodSwizzler (> 5.2.0)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#924 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2xqI8vjesulS5cFLWAafNJarsvEDpwks5uhUEDgaJpZM4W5qX6>
.
|
No Luck. I have updated to 7. |
Solved this using version 6 of plugin |
Getting:
When running an iOS build. Only started happening today on our daily builds. Not sure if there's anything you can do, I've found a corresponding ticket here:
firebase/firebase-ios-sdk#1845
describing the problem, with a workaround.
The text was updated successfully, but these errors were encountered: