@duell10111/apple-targets
Version:
Generate Apple Targets with Expo Prebuild
23 lines (22 loc) • 786 B
TypeScript
import { ConfigPlugin } from "@expo/config-plugins";
import { SwiftDependency } from "./config";
import { ExtensionType } from "./target";
export type XcodeSettings = {
name: string;
/** Directory relative to the project root, (i.e. outside of the `ios` directory) where the widget code should live. */
cwd: string;
bundleId: string;
deploymentTarget: string;
currentProjectVersion: number;
frameworks: string[];
type: ExtensionType;
swiftDependencies?: SwiftDependency[];
hasAccentColor?: boolean;
colors?: Record<string, string>;
teamId?: string;
icon?: string;
exportJs?: boolean;
/** File path to the extension config file. */
configPath: string;
};
export declare const withXcodeChanges: ConfigPlugin<XcodeSettings>;