bug: No such module 'Capacitor' for second target on ios bundling (v3)
See original GitHub issueBug Report
We have to targets configured in our ios configuration, mainly when we bundle our second target which is not the default we run into this already known error
Sometimes it is also happening on our first target but normally not. If we open, clean, polish or recreate the ios structure from scratch sometimes we can get it work. But today we have tried so many times without success.
Not sure if this is coming from v3 or we have this already before, because we used only android on v2, after we have testet v3 which works like a charm on android, we decided some days ago to go also for the ios platform.
Capacitor Version
Latest Dependencies:
@capacitor/cli: 2.4.6
@capacitor/core: 2.4.6
@capacitor/android: 2.4.6
@capacitor/ios: 2.4.6
Installed Dependencies:
@capacitor/cli: 3.0.0-beta.1
@capacitor/core: 3.0.0-beta.1
@capacitor/android: 3.0.0-beta.1
@capacitor/ios: 3.0.0-beta.1
[success] iOS looking great! 👌
[success] Android looking great! 👌
Platform(s)
ios
Other Technical Details
npm --version
output: 6.14.11
node --version
output: v14.11.0
pod --version
output (iOS issues only): 1.8.4
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
No such module 'Capacitor' in AppDelegate.swift
I opened the app using this command: ionic cap open ios and got an error: No module Capacitor found , but anyway I...
Read more >Xcode 12.0.1 "No such module" | Apple Developer Forums
I have the same problem, I can build the project for generic IOS, but when I choose a simulator (Simulator 12.0) it keep...
Read more >No such module '..Kit' when using Capacitor Plugin - Ionic Forum
I'm building an Capacitor Plugin. To autenticate a user using WebAuthn (since this is not yet suported in WKWebView-based browsers).
Read more >Troubleshooting iOS - OneSignal Documentation
Common setup issues with iOS. ... Step 3. Check below for common issues and if still not sure, send us a log. ......
Read more >[Answer]-No such module 'Capacitor' in AppDelegate.swift-swift
score:3. The problem with editing your Podfile directly within the iOS bundle in Xcode is that every time you build your bundle, you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yeah, if you add a new target in the project you also have to add it in the Podfile
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.