Giter Site home page Giter Site logo

rubinbasha / flavorpodsissue Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 67 KB

Project created in order to showcase issues coming from adding "https://pub.dev/packages/shared_preferences" to project that has flavors for different IPAs and APKs, generated by using "https://pub.dev/packages/flutter_flavorizr".

Kotlin 2.88% Swift 8.96% Objective-C 0.84% Dart 57.27% Ruby 30.04%

flavorpodsissue's Introduction

flavorpodsissue

flutter/flutter#65387

Flutter project showing issues with flutter_flavorizr and shared_preferences in iOS. Project created in order to showcase issues coming from adding "https://pub.dev/packages/shared_preferences" to project that has flavors for different IPAs and APKs, generated by using "https://pub.dev/packages/flutter_flavorizr". App is run by using the following command with variations based on the Flavor we want to run it:

flutter run --flavor production -t lib/main-production.dart

before adding shared_preferences dependency the project does run smoothly. As soon as the library is added, when executing "flutter pub get" Podfile is generated and "ios" files are changed and at that point the app is not runnable anymore unless I would remove the dependency and revert the changes to the "ios" directory.

Getting Started

  • flutter pub get
  • flutter pub run build_runner watch --delete-conflicting-outputs

Error Logs

Flutter doctor does not complain about anything, therefore here I paste only the Logs that come up when executing "flutter run --flavor production -t lib/main-production.dart"

Launching lib/main-production.dart on iPhone SE (2nd generation) in debug mode... Running pod install... 1.5s Running Xcode build...

Xcode build done. 3.9s Failed to build iOS app Error output from Xcode build:

** BUILD FAILED **

Xcode's output: โ†ณ diff: /Podfile.lock: No such file or directory

diff: /Manifest.lock: No such file or directory

error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

note: Using new build system

note: Building targets in parallel

note: Planning build

note: Constructing build description

warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in

target 'Runner' from project 'Runner')

Could not build the application for the simulator.
Error launching application on iPhone SE (2nd generation).

flavorpodsissue's People

Contributors

rubinbasha avatar

Watchers

 avatar

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.