# XcodeGen 설정 — macOS 에서 `xcodegen generate` 로 iosApp.xcodeproj 를 만든다. # brew install xcodegen # cd app/iosApp && xcodegen generate && open iosApp.xcodeproj # Gradle 이 만든 ComposeApp.framework 를 링크한다. name: iosApp options: bundleIdPrefix: kr.tkrmagid deploymentTarget: iOS: "15.0" settings: base: PRODUCT_BUNDLE_IDENTIFIER: kr.tkrmagid.tetrig MARKETING_VERSION: "2.0.0" CURRENT_PROJECT_VERSION: "2" SWIFT_VERSION: "5.0" TARGETED_DEVICE_FAMILY: "1,2" # iPhone + iPad ENABLE_USER_SCRIPT_SANDBOXING: NO targets: iosApp: type: application platform: iOS sources: - path: iosApp info: path: iosApp/Info.plist properties: CFBundleDisplayName: TETRIG UILaunchScreen: {} UISupportedInterfaceOrientations: - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight UISupportedInterfaceOrientations~ipad: - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight UIRequiresFullScreen: false settings: base: FRAMEWORK_SEARCH_PATHS: - "$(SRCROOT)/../composeApp/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)" OTHER_LDFLAGS: - "-framework" - "ComposeApp" preBuildScripts: - name: Build Compose framework script: | cd "$SRCROOT/../" ./gradlew :composeApp:embedAndSignAppleFrameworkForXcode basedOnDependencyAnalysis: false