# XcodeGen spec for Sizzle on iOS/iPadOS (see ios/README.md). `make -C ios project` # generates Sizzle.xcodeproj (git-ignored). Versions are passed in by the Makefile # from versions.properties (ios.versionName / ios.versionCode). name: Sizzle options: bundleIdPrefix: cc.tiredsysadmin.ios deploymentTarget: iOS: "15.0" settings: base: SWIFT_VERSION: "5.0" TARGETED_DEVICE_FAMILY: "1,2" ARCHS: arm64 DEVELOPMENT_TEAM: "" CLANG_CXX_LANGUAGE_STANDARD: c++17 CLANG_ENABLE_OBJC_ARC: YES HEADER_SEARCH_PATHS: ["$(SRCROOT)/../core/include", "$(SRCROOT)/../core/src", "$(SRCROOT)/../core/src/fx"] targets: SizzleCore: type: library.static platform: iOS sources: - path: ../core/src excludes: ["**/*.md"] settings: base: PRODUCT_NAME: SizzleCore GCC_OPTIMIZATION_LEVEL: s SizzleFX: type: app-extension platform: iOS sources: [FX] dependencies: - target: SizzleCore - sdk: AudioToolbox.framework - sdk: AVFoundation.framework - sdk: CoreAudioKit.framework - sdk: UIKit.framework settings: base: PRODUCT_BUNDLE_IDENTIFIER: cc.tiredsysadmin.ios.sizzle.fx CODE_SIGN_ENTITLEMENTS: FX/FX.entitlements INFOPLIST_FILE: FX/Info.plist SWIFT_OBJC_BRIDGING_HEADER: FX/Bridging.h # force_load: the effects are found through weak placeholder makers (Registry.cpp), # so without it the linker keeps the placeholders and skips the real ports. OTHER_LDFLAGS: ["-lc++", "-force_load", "$(BUILT_PRODUCTS_DIR)/libSizzleCore.a"] Sizzle: type: application platform: iOS info: path: Host/Info.plist properties: UIBackgroundModes: [audio] # The app hosts the devices itself (in-process), so it compiles the plugin # classes and the editor too, and links the whole core. sources: - Host - FX/SizzleDeviceAU.mm - FX/SizzleEffectAU.mm - FX/SizzleInstrumentAU.mm - FX/SizzleDeviceAU+Sources.mm - FX/SizzleFXViewController.mm - FX/Editor - FX/DeviceLayouts.json dependencies: - target: SizzleFX embed: true codeSign: false - target: SizzleCore - sdk: AudioToolbox.framework - sdk: AVFoundation.framework - sdk: CoreAudioKit.framework - sdk: CoreMIDI.framework settings: base: PRODUCT_BUNDLE_IDENTIFIER: cc.tiredsysadmin.ios.sizzle CODE_SIGN_ENTITLEMENTS: Host/Host.entitlements GENERATE_INFOPLIST_FILE: YES INFOPLIST_KEY_CFBundleDisplayName: Sizzle INFOPLIST_KEY_UILaunchScreen_Generation: YES INFOPLIST_KEY_UIApplicationSceneManifest_Generation: YES INFOPLIST_KEY_UISupportedInterfaceOrientations: "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight" INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight" ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon SWIFT_OBJC_BRIDGING_HEADER: Host/Bridging.h USER_HEADER_SEARCH_PATHS: ["$(SRCROOT)/FX"] OTHER_LDFLAGS: ["-lc++", "-force_load", "$(BUILT_PRODUCTS_DIR)/libSizzleCore.a"]