! 아하 ! Tuist에서 설정을 해주고 tuist generate를 해줘야 프로젝트에서 모두에게 공유가 됩니다!
내 프로젝트 경로에서 tuist edit
실행
그러면 아래의 Project.swift 파일이 뜬다! (Tuist 설정 파일임)
아래에서 주석으로 추가하라고 되어있는 걸 넣어준다!! 각각 이름에 맞게
let project = Project(
name: "TtouchIsland",
organizationName: "Graphicana",
packages: [
.local(path: "Packages/DummyAssets"), // 추가!!!!
],
targets: [
.target(
name: "TtouchIsland",
destinations: .iOS,
product: .app,
bundleId: "org.graphicana.TtouchIsland",
deploymentTargets: .iOS("26.0"),
infoPlist: .extendingDefault(
with: [
"UILaunchScreen": [
"UIColorName": "",
"UIImageName": "",
],
"UISupportedInterfaceOrientations": [
"UIInterfaceOrientationLandscapeLeft",
"UIInterfaceOrientationLandscapeRight",
],
"CFBundleDisplayName": "Ttouch Island",
"LSApplicationCategoryType": "public.app-category.adventure-games",
// Version (앱 스토어에 표시될 버전, 예: 1.0.0)
// "CFBundleShortVersionString": .string("1.0.0"),
// Build (빌드 번호, 예: 1)
// "CFBundleVersion": .string("1"),
]
),
sources: ["TtouchIsland/Sources/**"],
resources: ["TtouchIsland/Resources/**"],
dependencies: [
.package(product: "DummyAssets"), // 추가 !!!!
]
// settings: settings
),
.target(
name: "TtouchIslandTests",
destinations: .iOS,
product: .unitTests,
bundleId: "org.graphicana.TtouchIslandTests",
infoPlist: .default,
sources: ["TtouchIsland/Tests/**"],
resources: [],
dependencies: [.target(name: "TtouchIsland")]
),
]
)
다 했으면 tuist generate
를 해줘서 확인한다! 끝!