Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode don't see the files #474

Open
AndreaGProg opened this issue Nov 20, 2021 · 2 comments
Open

Xcode don't see the files #474

AndreaGProg opened this issue Nov 20, 2021 · 2 comments

Comments

@AndreaGProg
Copy link

Hi,
I have the following problem... can you help me please?

  1. npx create-react-native-module --package-name react-native-XXX --generate-example XXX
    ...
    Linking the new module library to the example app
    yarn add v1.22.17
    [1/4] 🔍 Resolving packages...
    [2/4] 🚚 Fetching packages...
    [3/4] 🔗 Linking dependencies...
    warning "react-native > react-native-codegen > [email protected]" has unmet peer dependency "@babel/preset-env@^7.1.6".
    warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
    [4/4] 🔨 Building fresh packages...
    ...
    Pod installation complete! There are 54 dependencies from the Podfile and 45 total pods installed.
    [!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via pod repo remove master. To suppress this warning please add warn_for_unused_master_specs_repo => false to your Podfile.
    ...
    Done!

  2. cd example/ ==> npx react-native run-ios ==> yes, works well!

  3. for edit XXX.h and XXX.m I open react-native-XXX/ios/XXX.xcodeproj (and not .xcworkspace - and not /example/) but xcode not showing XXX.h and XXX.m files?
    (instead if I open react-native-XXX/example/ios/example.xcworkspace works well)
    How can I edit the XXX.h and XXX.m files?

  • npx react-native --version => 6.2.0
  • yarn -v => 1.21.1
  • npm -v => 7.24.0
  • Xcode Version 13.1
  • MacOS BigSur 11.6

Thank you all!

@mackuba
Copy link

mackuba commented Jan 26, 2022

Hey, did you figure this out?

@phuongzzz
Copy link

I'm having this issue too, does anyone know the solution? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants