Skip to content

Commit

Permalink
fix: 시뮬레이터로도 빌드 가능하도록 프로젝트 설정 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
leeari95 committed Nov 21, 2024
1 parent f3271e8 commit 97f2497
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 6 deletions.
8 changes: 6 additions & 2 deletions Animal-Crossing-Wiki/Projects/App/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleVersion</key>
<string>0</string>
<key>CFBundleShortVersionString</key>
<string>2.0.0</string>
<key>CFBundleDevelopmentRegion</key>
<string>ko_KR</string>
<key>CFBundleIdentifier</key>
Expand All @@ -12,8 +16,8 @@
<string>ACNH-wiki</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
Expand Down
7 changes: 7 additions & 0 deletions Animal-Crossing-Wiki/Projects/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ let appPrivacyInfo: PrivacyManifest = .privacyManifest(
]
)

let settings: Settings = .settings(
base: [
"EXCLUDED_ARCHS[sdk=iphonesimulator*]": "arm64"
]
)

let project = Project(
name: "ACNH-wiki",
targets: [
Expand All @@ -50,6 +56,7 @@ let project = Project(
privacyManifest: appPrivacyInfo),
scripts: [.runSwiftLintAutocorrect, .runSwiftLint],
dependencies: dependencies,
settings: settings,
coreDataModels: [
CoreDataModel.coreDataModel("Sources/CoreDataStorage/CoreDataStorage.xcdatamodeld")
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Find the villagers you have visited and tap the home icon on the villager's page
"There are no results for your search." = "There are no results for your search.";
"Are you sure you want to check them all?" = "Are you sure you want to check them all?";
"Are you sure you want to uncheck them all?" = "Are you sure you want to uncheck them all?";
"search" = "Search";
"searching" = "Search";

// MARK: - CatalogViewController
"Catalog" = "Catalog";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
"There are no results for your search." = "검색에 대한 결과가 없습니다.";
"Are you sure you want to check them all?" = "정말 모두 체크하시겠습니까?";
"Are you sure you want to uncheck them all?" = "정말 모두 체크 해제 하시겠습니까?";
"search" = "검색하기";
"searching" = "검색하기";

// MARK: - CatalogViewController
"Catalog" = "카탈로그";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ class ItemsViewController: UIViewController {
case .keyword(let title, _): navigationItem.title = title.lowercased().localized.capitalized

case .search:
navigationItem.title = "search".lowercased().localized.capitalized
navigationItem.title = "searching".lowercased().localized.capitalized
default: break
}
let moreButton = UIBarButtonItem(
Expand Down
7 changes: 6 additions & 1 deletion Tuist/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ import PackageDescription
"ReactorKit": .framework,
"RxCocoaRuntime" : .framework,
"RxRelay" : .framework
]
],
baseSettings: .settings(
base: [
"EXCLUDED_ARCHS[sdk=iphonesimulator*]": "arm64"
]
)
)
#endif

Expand Down

0 comments on commit 97f2497

Please sign in to comment.