-
Hello! I tried putting the code in a framework (File->New->Target->Framework) and that works fine with the extension but the capacitor plugin refuses to find ("No such module...") the framework when importing even though I've added it to the "Frameworks and Libraries" section of the capacitor-plugin-target config. Is there something I'm missing or is there another way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I guess I'm going to create a cocoapod and then depending on it in the podfile of the capacitor plugin and the extension. I hope this works.. Edit: Similar issue.. I can build the capacitor plugin in its own xcode project but not in the main "App"-project... "No such module..." again.. :( Edit: Apparently you have to add the dependency to the podspec file of the capacitor plugin as well. Finally got it to compile. :) |
Beta Was this translation helpful? Give feedback.
I guess I'm going to create a cocoapod and then depending on it in the podfile of the capacitor plugin and the extension. I hope this works..
Edit: Similar issue.. I can build the capacitor plugin in its own xcode project but not in the main "App"-project... "No such module..." again.. :(
Edit: Apparently you have to add the dependency to the podspec file of the capacitor plugin as well. Finally got it to compile. :)