Skip to content

Instantly share code, notes, and snippets.

@lokshunhung
Last active November 25, 2024 10:33
Show Gist options
  • Save lokshunhung/e8d64d353d91587f908aedb17f4dfa11 to your computer and use it in GitHub Desktop.
Save lokshunhung/e8d64d353d91587f908aedb17f4dfa11 to your computer and use it in GitHub Desktop.
React Native generate Xcodeproj Xcworkspace (expo prebuild)
# frozen_string_literal: true
source "https://rubygems.org"
# Gemfile - used by Ruby Bundler
# ruby version managed by rbenv
gem "cocoapods", "~> 1.16"
.PHONY: expo-prebuild
expo-prebuild:
pnpm install
bundle install
# Proxy CocoaPods CLI invocations to use Ruby Bundler inside Expo CLI
pod() { bundle exec pod ${@:1}; }; pnpm exec expo prebuild
cd ios; bundle exec pod install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment