Skip to content

Use NSTextStorageDelegate instead of method swizzling #611

Use NSTextStorageDelegate instead of method swizzling

Use NSTextStorageDelegate instead of method swizzling #611

Workflow file for this run

name: Test iOS build
on:
pull_request:
paths:
- .github/workflows/build-ios.yml
- RNLiveMarkdown.podspec
- apple/**
- cpp/**
- example/package.json
- example/ios/**
merge_group:
branches:
- main
push:
branches:
- main
paths:
- .github/workflows/build-ios.yml
- RNLiveMarkdown.podspec
- apple/**
- cpp/**
- example/package.json
- example/ios/**
jobs:
build:
if: github.repository == 'Expensify/react-native-live-markdown'
runs-on: macos-13
concurrency:
group: build-ios-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Check out Git repository
# v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Restore node_modules from cache
# v4
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
with:
path: |
node_modules
example/node_modules
key: build-ios-node-modules-${{ hashFiles('package-lock.json') }}
restore-keys: build-ios-node-modules-
- name: Install node_modules
run: npm ci
- name: Restore Pods from cache
# v4
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
with:
path: |
example/ios/Pods
~/Library/Caches/CocoaPods
~/.cocoapods
key: build-ios-pods-${{ hashFiles('node_modules/react-native/package.json') }}
restore-keys: build-ios-pods-
- name: Install Pods
working-directory: example/ios
run: |
bundler install
bundler exec pod install
- name: Remove .xcode.env.local
working-directory: example/ios
run: rm -rf .xcode.env.local
- name: Restore build artifacts from cache
# v4
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
with:
path: ~/Library/Developer/Xcode/DerivedData
key: build-ios-derived-data-${{ hashFiles('node_modules/react-native/package.json') }}
restore-keys: build-ios-derived-data-
- name: Build app
working-directory: example
run: npx react-native run-ios --no-packager