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

error: no such module 'CioTracking' import CioTracking (React-Native Firebase) #4477

Open
2 tasks done
cinzianicoletti opened this issue Apr 30, 2024 · 0 comments
Open
2 tasks done

Comments

@cinzianicoletti
Copy link

cinzianicoletti commented Apr 30, 2024

What happened?

in command:
detox build --configuration ios.sim.debug

I get the following error, (which does not occur to me when compiling via React Native):

nameApp/ios/NotificationService/NotificationService.swift:3:8: error: no such module 'CioTracking'
import CioTracking

The following build commands failed:
  SwiftEmitModule normal arm64 Emitting\ module\ for\ NotificationService (in target 'NotificationService' from project 'Base')
SwiftCompile normal x86_64 nameApp/ios/NotificationService/NotificationService.swift (in target 'NotificationService' from project 'Base')
SwiftCompile normal x86_64 Compiling\ NotificationService.swift nameApp/ios/NotificationService/NotificationService.swift (in target 'NotificationService' from project 'Base')
SwiftCompile normal arm64 nameApp/ios/NotificationService/Env.swift (in target 'NotificationService' from project 'Base')
SwiftCompile normal arm64 Compiling\ Env.swift nameApp/ios/NotificationService/Env.swift (in target 'NotificationService' from project 'Base')
SwiftCompile normal x86_64 Compiling\ Env.swift nameApp/ios/NotificationService/Env.swift (in target 'NotificationService' from project 'Base')
SwiftCompile normal x86_64 nameApp/ios/NotificationService/Env.swift (in target 'NotificationService' from project 'Base')
SwiftEmitModule normal x86_64 Emitting\ module\ for\ NotificationService (in target 'NotificationService' from project 'Base')
SwiftCompile normal arm64 Compiling\ NotificationService.swift nameApp/ios/NotificationService/NotificationService.swift (in target 'NotificationService' from project 'Base')
SwiftCompile normal arm64 nameApp/ios/NotificationService/NotificationService.swift (in target 'NotificationService' from project 'Base')
(10 failures)

What was the expected behaviour?

Let it execute the compilation.

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

It occurs after the insertion of the Firebase NotificationService

In what environment did this happen?

Detox version: 20.20.3
React Native version: 0.73.6
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version: v19.9.0
Device model: Simulator
iOS version: 17.4.1
macOS version: Sonoma 14.4.1
Xcode version: 15.3
Test-runner (select one): jest

Detox logs

Detox logs
 FAIL  e2e/starter.test.js
  ● Test suite failed to run

    field CFBundleIdentifier not found inside Info.plist of app binary at appName/ios/build/Build/Products/Debug-iphonesimulator/Base.app
        at _reinstallAppsOnDevice.next (<anonymous>)

      at getNextResult (node_modules/caf/src/caf.js:253:25)
      at DetoxWorker.runner (node_modules/caf/src/caf.js:293:5)
      at DetoxWorker.instance [as _reinstallAppsOnDevice] (node_modules/caf/src/caf.js:63:32)
          at init.next (<anonymous>)
      at getNextResult (node_modules/caf/src/caf.js:253:25)


Device logs

Device logs
paste your device.log here!

More data, please!

No response

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

No branches or pull requests

1 participant