Skip to content

Instantly share code, notes, and snippets.

@kichiemon
Created November 27, 2019 14:35
Show Gist options
  • Select an option

  • Save kichiemon/8451572b2e82983fbba4892eab430493 to your computer and use it in GitHub Desktop.

Select an option

Save kichiemon/8451572b2e82983fbba4892eab430493 to your computer and use it in GitHub Desktop.
project.yaml for XcodeGen
name: ApplicationName
options:
bundleIdPrefix: jp.kichiemon
targets:
ApplicationName:
type: application
platform: iOS
deploymentTarget: "13.0"
sources:
- path: ApplicationName
settings:
configs:
debug:
CUSTOM_BUILD_SETTING: my_debug_value
release:
CUSTOM_BUILD_SETTING: my_release_value
dependencies:
- sdk: libc++.tbd
info:
path: ApplicationName/Info.plist
properties:
CFBundleDevelopmentRegion: $(DEVELOPMENT_LANGUAGE)
CFBundleExecutable: $(EXECUTABLE_NAME)
CFBundleIdentifier: $(PRODUCT_BUNDLE_IDENTIFIER)
CFBundleInfoDictionaryVersion: "6.0"
CFBundleName: $(PRODUCT_NAME)
CFBundlePackageType: "APPL"
CFBundleShortVersionString: "1.0"
CFBundleVersion: "1.0.0"
LSRequiresIPhoneOS: true
UILaunchStoryboardName: "LaunchScreen"
UIApplicationSceneManifest:
UIApplicationSupportsMultipleScenes: false
UISceneConfigurations:
- UIWindowSceneSessionRoleApplication:
- UISceneConfigurationName: "Default Configuration"
- UISceneDelegateClassName: "$(PRODUCT_MODULE_NAME).SceneDelegate"
UIRequiredDeviceCapabilities:
- "armv7"
UISupportedInterfaceOrientations:
- "UIInterfaceOrientationPortrait"
- "UIInterfaceOrientationLandscapeLeft"
- "UIInterfaceOrientationLandscapeRight"
UISupportedInterfaceOrientations~ipad:
- "UIInterfaceOrientationPortrait"
- "UIInterfaceOrientationPortraitUpsideDown"
- "UIInterfaceOrientationLandscapeLeft"
- "UIInterfaceOrientationLandscapeRight"
NSCameraUsageDescription: "Need to access your camera to post photo."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment