Lighter icon indicating copy to clipboard operation
Lighter copied to clipboard

Adding two .sqlite3 or .db files "unable to load transferred PIF" error when building

Open murdocdv opened this issue 2 years ago • 1 comments

The main project I want to use this project with has two .sqlite3 files added as resources to the target.

When I build after configuring the Enlighter plug-in, I get the following error:

Build service could not create build operation: unable to load transferred PIF: PIFLoader: GUID '~/Library/Developer/Xcode/DerivedData/LighterTesting-euoeynunaavusyczdlhoedwycgua/SourcePackages/plugins/LighterTesting.output/LighterTesting/Enlighter/cities3.0.sqlite3' has already been registered

I can easily reproduce this in a sample project.

  1. Created a new project - Multiplatform app, no Core Data or Tests
  2. Add the Lighter package
  3. Configure Enlighter as a build tool plug-in
  4. Add two different .sqlite3 files, one .sqlite3 file & one .db file, or two .db files
  5. Build

You will then see the above error. Screenshot 2023-01-16 at 10 40 01 PM

Screenshot 2023-01-16 at 10 40 49 PM

murdocdv avatar Jan 17 '23 03:01 murdocdv