Skip to content

RNN Link didn't work with AppDelegate.swift #8062

@gosha212

Description

@gosha212

What happened?

  1. Create a new project from template of react native 0.77.x
  2. Install RNN
  3. Execute npx rnn-link
  4. Execute pod install
  5. try to build the ios project

Result -> ReactNativeNavigation not found.

This happens because the logic of swift detection in ReactNativeNavigation.podspec is broken. We need to take in account the root project instead.

`
project_root = File.expand_path('../../..', dir)
all_app_delegate_files = Dir.glob(File.join(project_root, '**/AppDelegate.swift'))

`

What was the expected behaviour?

No response

Was it tested on latest react-native-navigation?

  • I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

No response

In what environment did this happen?

React Native Navigation version: 0.81.0
React Native version: 0.77.2
Has Fabric (React Native's new rendering system) enabled: (yes/no) yes
Node version:
Device model:
iOS version:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions