Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Add xcodebuild destination specifier #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ios_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def getAnswer(text):
print("Compiling Fugu14App")

try:
subprocess.run(["xcodebuild", "-scheme", "Fugu14App", "-derivedDataPath", "build"], check=True, cwd="arm/iOS/Fugu14App/")
subprocess.run(["xcodebuild", "-scheme", "Fugu14App", "-derivedDataPath", "build", "-destination", "generic/platform=iOS"], check=True, cwd="arm/iOS/Fugu14App/")
except subprocess.CalledProcessError as e:
print(f"Failed to build Fugu14App! Exit status: {e.returncode}")
print("If the build failed due to a codesign error, open arm/iOS/Fugu14App/Fugu14App.xcodeproj in Xcode")
Expand Down