1/** 2 * Additional `xcodebuild` build settings that overrides project's and target's build settings. 3 * See https://xcodebuildsettings.com for full documentation. 4 */ 5export type XcodebuildSettings = Record<string, string | boolean>; 6 7export type Flavor = { 8 /** 9 * Xcode configuration to use. 10 * Default build settings might be different depending on the configuration. 11 */ 12 configuration: 'Release' | 'Debug'; 13 14 /** 15 * The iOS SDK to use. The device and the simulator have different SDKs, 16 * so basically it means whether you want to build for the device or simulator. 17 */ 18 sdk: 'iphoneos' | 'iphonesimulator'; 19 20 /** 21 * An array of CPU architectures to build against. 22 */ 23 archs: ('arm64' | 'x86_64' | 'i386')[]; 24}; 25 26export type Framework = { 27 /** 28 * Name of the target that the framework was built from. 29 */ 30 target: string; 31 32 /** 33 * The flavor object based on which the framework was built. 34 */ 35 flavor: Flavor; 36 37 /** 38 * Path to the artifact — `.framework` file. 39 */ 40 frameworkPath: string; 41 42 /** 43 * Size of the artifact binary in bytes. 44 */ 45 binarySize: number; 46}; 47