Skip to content

Commit

Permalink
Fix if Xcode not installed, no more code error
Browse files Browse the repository at this point in the history
Xcode 14.3.1 in sources
  • Loading branch information
e-marchand committed Aug 24, 2023
1 parent 6d5a8ea commit 8f14d3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project/Sources/Classes/Xcode.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ Function path($useDefaultPath : Boolean)

// ⚠️ The tools are not necessarily in the XCode package
$found:=This:C1470.success\
& (This:C1470.tools.parent.parent.extension=".app")\
& (This:C1470.tools.parent.parent.isPackage)
&& (String:C10(This:C1470.tools.parent.parent.extension)=".app")\
&& (Bool:C1537(This:C1470.tools.parent.parent.isPackage))

If ($found)

Expand Down
4 changes: 2 additions & 2 deletions Project/Sources/Methods/COMPONENT_INIT.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ If (OB Is empty:C1297(SHARED)) | $reset
//***********************

// 1] iOS
SHARED.xCodeMinVersion:="14.1"
SHARED.xCodeMinVersion:="14.3.1"
SHARED.iosDeploymentTarget:="16.0"
SHARED.useXcodeDefaultPath:=True:C214

Expand All @@ -108,7 +108,7 @@ If (OB Is empty:C1297(SHARED)) | $reset

// Project config
SHARED.swift:=New object:C1471(\
"Version"; "5.7.1"; \
"Version"; "5.8.1"; \
"Export"; New object:C1471("stripSwiftSymbols"; False:C215; "method"; "development"); \
"Flags"; New object:C1471("Debug"; ""; "Release"; ""); \
"OptimizationLevel"; New object:C1471(\
Expand Down

0 comments on commit 8f14d3e

Please sign in to comment.