Andrew O Hart
02/23/2022, 3:31 PMkpgalligan
02/23/2022, 4:12 PMAndrew O Hart
02/23/2022, 4:26 PMAndrew O Hart
02/23/2022, 4:26 PMAndrew O Hart
02/23/2022, 4:27 PMkpgalligan
02/23/2022, 4:30 PMkpgalligan
02/23/2022, 4:32 PMAndrew O Hart
02/23/2022, 4:36 PMAndrew O Hart
02/23/2022, 4:38 PMAndrew O Hart
02/23/2022, 4:38 PMkpgalligan
02/23/2022, 4:38 PMkpgalligan
02/23/2022, 4:39 PMAndrew O Hart
02/23/2022, 4:39 PMkpgalligan
02/23/2022, 4:41 PMAndrew O Hart
02/23/2022, 4:41 PMReason: image not found
Andrew O Hart
02/23/2022, 4:42 PMkpgalligan
02/23/2022, 4:42 PMkpgalligan
02/23/2022, 4:42 PMkpgalligan
02/23/2022, 4:43 PMPods
folder and run pod install
Andrew O Hart
02/23/2022, 4:47 PMAndrew O Hart
02/23/2022, 4:48 PMkpgalligan
02/23/2022, 4:48 PMkpgalligan
02/23/2022, 4:48 PMkpgalligan
02/23/2022, 4:50 PMAndrew O Hart
02/23/2022, 4:51 PMkpgalligan
02/23/2022, 4:51 PMAndrew O Hart
02/23/2022, 4:53 PMkpgalligan
02/23/2022, 4:53 PMI see, I really have no experience with Cocoapods since I’ve been an Android developer for years, only dipping into it now because I’m working on KMM in work.This is a major internal training issue we have. We recruit most people from the Android side, and very few have significant iOS toolchain experience. I spent years doing J2objc before KMP/M, so I was like extra ready for this.
Andrew O Hart
02/23/2022, 4:54 PMkpgalligan
02/23/2022, 4:54 PMWhen you say you generally delete the Pods folder, you mean the Pods folder that you see in the Xcode sidebar, with the schema folder and Products and frameworks folders too?I would not delete things in xcode. It’s weird. In the file system, wherever you have the
Podfile
there will be a folder that cocoapods adds called Pods
. that’s where it does it’s work. Delete that (and just that), in the file system navigator (or from AS, or the terminal, just not from Xcode).kpgalligan
02/23/2022, 4:55 PMAndrew O Hart
02/23/2022, 4:55 PMAndrew O Hart
02/23/2022, 4:56 PMkpgalligan
02/23/2022, 4:56 PMHave you personally done the setup for embedAndSignAppleFrameworkForXcodeMaybe once, but not really. I’m currently doing optimized XCFramework publishing in CI to be consumed by cocoapods and SPM. I probably wouldn’t recommend anybody do direct framework integration (although some teams want it, so the Kotlin team needs to support both).
Andrew O Hart
02/23/2022, 4:57 PMkpgalligan
02/23/2022, 4:58 PMAndrew O Hart
02/23/2022, 4:59 PMkpgalligan
02/23/2022, 4:59 PMkpgalligan
02/23/2022, 4:59 PMAndrew O Hart
02/23/2022, 5:00 PMkpgalligan
02/23/2022, 5:00 PMAndrew O Hart
02/23/2022, 5:02 PMkpgalligan
02/23/2022, 5:03 PMkpgalligan
02/23/2022, 5:04 PMAndrew O Hart
02/23/2022, 5:04 PMkpgalligan
02/23/2022, 5:05 PMAndrew O Hart
02/23/2022, 5:05 PMAndrew O Hart
02/23/2022, 5:05 PMkpgalligan
02/23/2022, 5:06 PMxcodeproj
directly with cocoapods. You’re really only supposed to use the workspace.kpgalligan
02/23/2022, 5:07 PMkpgalligan
02/23/2022, 5:08 PMKaMPKitiOS.xcworkspace
in Xcode (from the ios
folder). If you’re lucky, you won’t even need to run pod install
. We put the Pods
folder into github to make it easy, but generally I wouldn’t check that into source for a real project.Andrew O Hart
02/23/2022, 5:11 PMkpgalligan
02/23/2022, 5:11 PMAndrew O Hart
02/23/2022, 5:12 PMkpgalligan
02/23/2022, 5:12 PMkpgalligan
02/23/2022, 5:12 PMkpgalligan
02/23/2022, 5:13 PMAndrew O Hart
02/23/2022, 5:13 PMAndrew O Hart
02/23/2022, 5:14 PMAndrew O Hart
02/23/2022, 5:16 PMAndrew O Hart
02/23/2022, 5:16 PMkpgalligan
02/23/2022, 5:17 PMkpgalligan
02/23/2022, 5:18 PMkpgalligan
02/23/2022, 5:18 PMAndrew O Hart
02/23/2022, 5:22 PM-lsqlite3
to Other Liker Flags
in your Bulid Settings
method you mentioned on github?Andrew O Hart
02/23/2022, 5:22 PMAndrew O Hart
02/23/2022, 5:25 PMkpgalligan
02/23/2022, 5:26 PM-lsqlite3
to Xcode. Then I forget about it entirely 🙂kpgalligan
02/23/2022, 5:27 PMkpgalligan
02/23/2022, 5:28 PM-Objc
, for example), but not the sqlite3. So, I guess I’d say add it in Xcode. If you don’t need it, it should be ignored (unless you’re using sqlciper, then definitely do not do that).Andrew O Hart
02/23/2022, 5:34 PMAndrew O Hart
02/23/2022, 5:34 PMkpgalligan
02/23/2022, 5:34 PMAndrew O Hart
02/23/2022, 5:35 PMAndrew O Hart
02/23/2022, 5:35 PMkpgalligan
02/23/2022, 5:38 PMAndrew O Hart
02/23/2022, 5:42 PM