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

Could not build debug for development on ios #5994

Open
lahama123 opened this issue Nov 14, 2024 · 3 comments
Open

Could not build debug for development on ios #5994

lahama123 opened this issue Nov 14, 2024 · 3 comments

Comments

@lahama123
Copy link

lahama123 commented Nov 14, 2024

Description:

I've cloned the repository and trying to run the application for development on my Mac M3 laptop:

I see the errors below:

  1. For FMDB error, I added pod 'FMDB', '~> 2.7.5' to Podfile and the error disappeared
Ảnh màn hình 2024-11-14 lúc 15 53 41 2. I am currently getting this error Ảnh màn hình 2024-11-12 lúc 17 37 21

Steps to reproduce:

  1. Clone the app
  2. Change to the project directory and run yarn to install dependencies
  3. Run npx pod-install to fetch and install pod packages and dependencies
  4. Open XCode and hit build button to build the application

Environment Information:

  • Rocket.Chat App Version: 4.54.0
  • Device Name: iPhone SE (3rd generation) - iOS 18.1
  • OS Version: Mac Air M3 macOS Sonoma 14.7.1
  • Xcode: 16.1
  • yarn: 1.22.22
  • ruby: 2.7.7p221
  • node: 18.20.4
  • react-native-cli: 2.0.1
  • openjdk@17
  • cocoapods: 1.14.3

Expected behavior:

I expect to have the debug version of the application to run on my simulator

@lahama123 lahama123 changed the title could not build debug for development on ios Could not build debug for development on ios Nov 15, 2024
@Conrado916645
Copy link

Im having the same issue.

@diegolmello
Copy link
Member

Possibly related to Xcode 16 and duplicate of #5877

Can you try this? #5877 (comment)

@lahama123
Copy link
Author

I switched to the single-server branch, and also followed #5877. Now I'm getting an error
❌ fatal error: module 'MMKV' in AST file '/Users/luanlq/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/11VXJ14B462VN/MMKV-10E29FEUR7Q2O.pcm' (imported by AST file '/Users/luanlq/Library/Developer/Xcode/DerivedData/RocketChatRN-haqhwjhkbdnuetgnjparxfcmwaqc/Build/Intermediates.noindex/PrecompiledHeaders/RocketChatRN-Bridging-Header-swift_JLWOM4RNGQUF-clang_11VXJ14B462VN.pch') is not defined in any loaded module map file; maybe you need to load '/Users/luanlq/Documents/work/react-native/app_chat/ios/Pods/Headers/Public/MMKV/MMKV.modulemap'?

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