Giter Club home page Giter Club logo

Comments (12)

momrak avatar momrak commented on July 17, 2024

I have tried doing flutter clean deleted Podfile.lock and then running

flutter pub get
cd ios && pod install

without any luck

from dd-sdk-flutter.

fuzzybinary avatar fuzzybinary commented on July 17, 2024

Hi @momrak ,

I can't reproduce this even on a fresh application.

Is there anything else strange about your setup?

There are a few things we can possibly check. Can you check that the following is in your Podfile.lock:

  - DatadogCrashReporting (2.7.1):
    - DatadogInternal (= 2.7.1)
    - PLCrashReporter (~> 1.11.1)

You could also try to delete your ios/Pods directory entirely and rerun flutter pub get and pod install --repo-update and see if that helps.

from dd-sdk-flutter.

momrak avatar momrak commented on July 17, 2024

@fuzzybinary thanks for the reply

Hmm, that is strange. I tried the suggestions above, but get the same result.
Both the lines you posted are in the lockfile
CleanShot 2024-02-29 at 15 01 18@2x

I am using cocoapods version 1.15.1 , could that have an impact? Any other suggestions on what could be strange in our setup?

from dd-sdk-flutter.

fuzzybinary avatar fuzzybinary commented on July 17, 2024

I just upgraded to cocoapods 1.15.2 so I don't think that's the issue.

Can you try deleting your Xcode DerivedData folder?

from dd-sdk-flutter.

momrak avatar momrak commented on July 17, 2024

Tried the following now

rm -rf ~/Library/Developer/Xcode/DerivedData/*
flutter clean
rm -rf ios/Pods
rm ios/Podfile.lock

flutter pub get
cd ios && pod install --repo-update
flutter run -d ios

But the result is the same.. Very strange

from dd-sdk-flutter.

momrak avatar momrak commented on July 17, 2024

@fuzzybinary just to check I tried creating a new project with flutter create <proj-name> and added the DD dep. After adding the configuration I still get the same in this project as well..

Then it does not seem project specific at least. Not sure what else to try though.

CleanShot 2024-02-29 at 19 30 05@2x

from dd-sdk-flutter.

fuzzybinary avatar fuzzybinary commented on July 17, 2024

Yeah, this is very weird. I've created several blank projects and even downgraded Flutter to 3.19.1 and it's worked fine for me every time.

Last possible way to check would be to try opening ios/Runner.xcworkspace in XCode and see if builds from there, though I can't imagine why it would. While there, you should be able to expand the Pods project and go to Pods -> PLCrashReporter and see the following:
image

If not, I'm wondering if there's something blocking downloading the framework? Or possibly something configured weirdly in XCode globally?

from dd-sdk-flutter.

momrak avatar momrak commented on July 17, 2024

I don't see the same as you sent there, so maybe you are on to something with that?
CleanShot 2024-03-01 at 08 01 58@2x

What could be causing that? I am not running on a corporate network, behind a vpn or anything like that

from dd-sdk-flutter.

fuzzybinary avatar fuzzybinary commented on July 17, 2024

Can you see what's in the ios/Pods/PLCrashReporter and ios/Pods/PLCrashReporter/CrashReporter.xcframework directories?

from dd-sdk-flutter.

momrak avatar momrak commented on July 17, 2024

That was not much.. I don't get any error from running pod install, but it doesn't really seem like it manages to get what it should?
CleanShot 2024-03-01 at 18 39 15@2x

from dd-sdk-flutter.

momrak avatar momrak commented on July 17, 2024

I tried downgrading my cocoapods now, and then I get this. So it seems related to my cocoapods install somehow
CleanShot 2024-03-01 at 18 45 46@2x

from dd-sdk-flutter.

momrak avatar momrak commented on July 17, 2024

Got it running now after the downgrade, so will close this issue.

Thank you for your help and patience 🙌

from dd-sdk-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.