Giter Site home page Giter Site logo

Comments (13)

petri-lipponen-movesense avatar petri-lipponen-movesense commented on July 20, 2024 1

I'm having a same issue and it's preventing me creating ios version of the app.

XCode 13.2.1 (13C100), pod install run manually as well as part of "flutter build ios" (flutter run ends up with same error. The only thing I did was to change the team and signing in xcode project target.

Android builds & runs fine.

Pubspec.lock tells that amplitude_flutter is version 3.9.0

from amplitude-flutter.

yuhao900914 avatar yuhao900914 commented on July 20, 2024 1

Thanks. I will take a look today and get back to you.

from amplitude-flutter.

yuhao900914 avatar yuhao900914 commented on July 20, 2024 1

@bgoncharuck,
I created a new app and integrate with amplitude flutter 3.8.1 successfully. And I'm using the XCode 13.4.1

[✓] Flutter (Channel stable, 3.0.1, on macOS 12.3.1 21E258 darwin-x64, locale en-US)
    • Flutter version 3.0.1 at /Users/hao.yu/Workspace/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (4 weeks ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

Did you run pod install under the ios folder?
Can you also share your Podfile?
Do use_frameworks! and use_modular_headers! exist in your Runner target?

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

from amplitude-flutter.

bgoncharuck avatar bgoncharuck commented on July 20, 2024 1

@yuhao900914 you can close the issue
It is not issue of Amplitude SDK

from amplitude-flutter.

yuhao900914 avatar yuhao900914 commented on July 20, 2024

Hi @vitulgoyani ,
Can you provide more details about how we can reproduce this issue? Did you run build in Xcode or through the command line?
Did you run pod install in the iOS folder?
Also, what's your flutter version and Xcode version?

from amplitude-flutter.

bgoncharuck avatar bgoncharuck commented on July 20, 2024

Having the same issue with iOS

from amplitude-flutter.

yuhao900914 avatar yuhao900914 commented on July 20, 2024

Hi there, can you run flutter doctor -v and share the result back?

from amplitude-flutter.

bgoncharuck avatar bgoncharuck commented on July 20, 2024

Here you go https://pastebin.com/M1iFShZt
iOS device:
• Ipnone (mobile) • aab1fc5346f6aef8717343c927ab92401c27ae79 • ios • iOS 15.5 19F77

from amplitude-flutter.

bgoncharuck avatar bgoncharuck commented on July 20, 2024

Thank you for such a quick colaboration, @yuhao900914. Looking forward to solve this issue.
My main presumption is that the new XCode version needed for a new flutter SDK messes something up. Because every version of plugin has this issue. And Android version works just fine.

from amplitude-flutter.

bgoncharuck avatar bgoncharuck commented on July 20, 2024

@yuhao900914
Sure I did, and everything were installed by pod install.
And yes, I don't have use_frameworks! in my Podfile. It's old. Thanks a lot, I am trying it out!

from amplitude-flutter.

bgoncharuck avatar bgoncharuck commented on July 20, 2024

@yuhao900914 adding the use_frameworks! to the Podfile mess up with other package googleads/googleads-mobile-flutter#544
I guess it is not your problem, but I it is useful information.

from amplitude-flutter.

bgoncharuck avatar bgoncharuck commented on July 20, 2024

If someone want to find a working solution for both Google AdMob and Amplitude or other plugins that need use_frameworks!

Add this to Podfile
use_frameworks! :linkage => :static

from amplitude-flutter.

yuhao900914 avatar yuhao900914 commented on July 20, 2024

Thanks @bgoncharuck for the solution!

from amplitude-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.