Windows: 11
Builder: 3.72
IOS SDK: 18.4
This may not be a problem with IOS Project Builder, but this has happened since I upgraded the SDK and IOS Project Builder to the newest version, so I am wondering if the migration script didn't grab some Billling related Swift files in the IOS SDK.
I am repro'ing this on a fresh empty Unity project (with only the Voxelbusters library billing installed).
Should there be a billing .framework directory in SDK-IOS\System\Library somewhere?
This is using Essential Kit (Voxelbusters) for Billling, which I have been doing for a while now, but just encountered this problem after upgrading. Is "BillingServices/BillingServices-Swift.h" something that should come from the IOS SDK? Or is this just the third party library having a bug.
In file included from VoxelBusters\EssentialKit\BillingServices\NPBillingServicesBinding.mm:11:
VoxelBusters\EssentialKit\BillingServices\NPBillingServicesDataTypes.h(12,9): fatal error: 'BillingServices/BillingServices-Swift.h' file not found
12 | #import <BillingServices/BillingServices-Swift.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ [arm64] Recompiling VoxelBusters\EssentialKit\NativeUI\UIAlertController+DatePicker.m (flags changed)...
1 error generated.
detected compiler error, aborting multithreaded build.
In file included from VoxelBusters\EssentialKit\BillingServices\NPBillingServicesDataTypes.mm:9:
VoxelBusters\EssentialKit\BillingServices\NPBillingServicesDataTypes.h(12,9): fatal error: 'BillingServices/BillingServices-Swift.h' file not found
12 | #import <BillingServices/BillingServices-Swift.h>
The contents of the NPBillingServicesDataTypes.h file starts with:
#import <Foundation/Foundation.h>
#import <StoreKit/StoreKit.h>
#import "NPKit.h"
#import <BillingServices/BillingServices-Swift.h>
...
The content of NPBillingServicesBinding.mm starts with:
#import <Foundation/Foundation.h>
#import <StoreKit/StoreKit.h>
#import "NPBillingServicesDataTypes.h"
#import "NPDefines.h"
#import "BillingServices/BillingServices-swift.h"
...
I'm not really sure where that -swift.h file comes from though.