name: LibNovel options: bundleIdPrefix: cc.kalekber deploymentTarget: iOS: "17.0" xcodeVersion: "16.0" generateEmptyDirectories: true indentWidth: 4 tabWidth: 4 usesTabs: false settings: base: SWIFT_VERSION: "5.10" ENABLE_PREVIEWS: YES MARKETING_VERSION: "1.0.0" CURRENT_PROJECT_VERSION: "1" LIBNOVEL_BASE_URL: "https://v2.libnovel.kalekber.cc" configs: Debug: SWIFT_ACTIVE_COMPILATION_CONDITIONS: DEBUG Release: SWIFT_ACTIVE_COMPILATION_CONDITIONS: "" packages: # Markdown rendering — renders chapter HTML from the server MarkdownUI: url: https://github.com/gonzalezreal/swift-markdown-ui from: "2.4.0" # Async image loading with caching Kingfisher: url: https://github.com/onevcat/Kingfisher from: "8.0.0" targets: LibNovel: type: application platform: iOS deploymentTarget: "17.0" sources: - path: LibNovel excludes: - "**/.DS_Store" - "Resources/Info.plist" resources: - path: LibNovel/Resources/Assets.xcassets dependencies: - package: Kingfisher - package: MarkdownUI settings: base: PRODUCT_BUNDLE_IDENTIFIER: cc.kalekber.libnovel ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon TARGETED_DEVICE_FAMILY: "1,2" # iPhone + iPad GENERATE_INFOPLIST_FILE: NO INFOPLIST_FILE: LibNovel/Resources/Info.plist LibNovelTests: type: bundle.unit-test platform: iOS deploymentTarget: "17.0" sources: - path: LibNovelTests dependencies: - target: LibNovel settings: base: PRODUCT_BUNDLE_IDENTIFIER: cc.kalekber.libnovel.tests schemes: LibNovel: build: targets: LibNovel: all run: config: Debug environmentVariables: LIBNOVEL_BASE_URL: value: "https://v2.libnovel.kalekber.cc" isEnabled: true test: config: Debug targets: - LibNovelTests profile: config: Release analyze: config: Debug archive: config: Release