apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.16k stars 986 forks source link

No such Module #1506

Closed B-Hooper26 closed 1 day ago

B-Hooper26 commented 2 days ago

I have made an app on andorid stuido and It is made up of Kotlin Multiplatform, for the application structure, and Jetbrains Compose / Compose Multiplatform for the UI. Material2 standard is used for the Compose API.

Ive recently got a macbook to do app development, when i open the IosApp.xcodeproj and run it it says buld failed cause No such module 'ComposeApp'. I had s1 else and opened this with no issue as ive uploaded my app to the store.

breautek commented 2 days ago

You should have an xcworkspace, try opening that instead of the xcodeproj

The project likely has external dependencies which is only glued by the workspace.

B-Hooper26 commented 2 days ago

For some reason i can't find the file

breautek commented 1 day ago

the xcworkspace might only be generated on pod install but the cordova CLI should have done that for you, assuming that you're using the CLI of course.

B-Hooper26 commented 1 day ago

My project doesn't use pods I'm pretty sure

breautek commented 1 day ago

The CLI will setup a xcworkspace and pods if there are any pod dependencies for you.

If you aren't using the Cordova CLI and instead configuring the projects manually then there is little we can do to provide support for.

No such module 'ComposeApp' means you're missing a dependency for your project but that dependency has no relation to Cordova.

B-Hooper26 commented 1 day ago

Do you know what I can do ?

B-Hooper26 commented 1 day ago

Do you know what I can do ?

breautek commented 1 day ago

Nope and nothing here really seems like it's related to the Cordova framework, so I'll be closing this issue.

It sounds like you're asking how to setup the Compose framework, in which case you're better off asking their community for assistance.

If you have questions more specifically to Cordova, then Github Discussions would be a place for those questions.