Giter VIP home page Giter VIP logo

whatwentwrong's Introduction

  • 🔭 I’m working on universal native apps for Android, iOS, and the web with React Native, Expo, and Next.js.
  • 🌱 I’m currently learning TypeScript, GraphQL and TensorFlow.js.
  • 👨‍💻 All of my public speaking is available at https://davidl.fr/talks.

Most Recent Blog Posts

Most Recent Videos

Designing Birthday Picker UX in React Native with date-fns Simple reanimated Animated View Tricks with Catalin Miron - React Native 20/80 Text and Button - Tamagui Playground #02 Tamagui stacks - Tamagui playground #01 Add Next.js to React Native Web "Just in case" #shorts Installer AWS Amplify avec app mobile React Native

Tools I use

git html5 css3 javascript typescript react gatsby nextjs graphql tensorflow netlify

Statistics are extracted from my public activity and doesn't reflect completely the work with my clients. Feel free to contact me if you want to know more about my skills.

flexbox flexbox

Follow Me

flexbox

whatwentwrong's People

Contributors

flexbox avatar

Watchers

 avatar  avatar  avatar

whatwentwrong's Issues

> Task :app:installDebug FAILED

> Task :app:installDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: No connected devices!

error code 65

❌  error: Cycle in dependencies between targets 'Lottie_iOS' and 'RCTBlob'; building could produce unreliable results.


error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening digitalmentor.xcodeproj

** BUILD FAILED **

A problem occurred configuring project ':core'.

Software version

$ sw_vers && /usr/bin/xcodebuild -version
ProductName:	Mac OS X
ProductVersion:	10.14.4
BuildVersion:	18E226
Xcode 10.2.1
Build version 10E1001

React Native version

$ react-native --version
0.59.5

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':react-native-branch'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
     platforms;android-23 Android SDK Platform 23
  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
  
  Using Android SDK: /opt/android/sdk

You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.

We have an error on the iOS build because CircleCI doesn't allow us to install the ruby bundler

cat: Gemfile.lock: No such file or directory
Fetching: bundler-2.0.1.gem (100%)
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
Exited with code 1

block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)

Software version

$ sw_vers && /usr/bin/xcodebuild -version
ProductName:	Mac OS X
ProductVersion:	10.14.4
BuildVersion:	18E226
Xcode 10.2.1
Build version 10E1001

React Native version

$ react-native --version
0.57.0

Problem

❌  /Users/cerebro/appname/node_modules/react-native/Libraries/LinkingIOS/RCTLinkingManager.h:25:29: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]

Exit status: 65

** ARCHIVE FAILED **
ERROR [2019-05-09 09:27:33.38]: Exit status: 65
INFO [2019-05-09 09:27:33.40]: 
WARN [2019-05-09 09:27:33.40]: Maybe the error shown is caused by using the wrong version of Xcode
WARN [2019-05-09 09:27:33.40]: Found multiple versions of Xcode in '/Applications/'
WARN [2019-05-09 09:27:33.40]: Make sure you selected the right version for your project
WARN [2019-05-09 09:27:33.40]: This build process was executed using '/Applications/Xcode-10.2.app'
WARN [2019-05-09 09:27:33.40]: If you want to update your Xcode path, either
INFO [2019-05-09 09:27:33.40]: 
INFO [2019-05-09 09:27:33.40]: - Specify the Xcode version in your Fastfile
INFO [2019-05-09 09:27:33.41]: ▸ xcversion(version: "8.1") # Selects Xcode 8.1.0

.circleci/config.yml

# iOS
macos_defaults: &macos_defaults
  macos:
    xcode: "10.2.0"

# -------------------------
#          JOBS
# -------------------------

version: 2.1
orbs:
  slack: circleci/[email protected]

jobs:
  build:
    working_directory: ~/repo
    docker:
      # documented at https://circleci.com/docs/2.0/circleci-images/
      - image: circleci/node:10

ios/Fastfile

platform :ios do
  before_all do
    setup_circle_ci
  end

  def xcode_version_select
    xcversion(version: '10.2.0')
  end

  ...

     lane :release_to_beta do
    check_build_number_versus_testflight
    match(type: 'appstore')
    xcode_version_select
    build_app(
      scheme: APP_SCHEME.to_s,
      export_options: {
        ...
        }
      },
      xcargs: "-UseNewBuildSystem=NO"
    )
  end

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.