Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Set the minimum iOS deployment version to 9.0 #7337

Open
wants to merge 2 commits into
base: develop-9.6
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion ide-support/revdeploylibraryios.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function deployGetIphoneOSes
end deployGetIphoneOSes

function deployGetIosMinimumVersions
return "8.0,9.0,10.0,11.0,12.0,13.0,14.0"
return "9.0,10.0,11.0,12.0,13.0,14.0"
end deployGetIosMinimumVersions

////////////////////////////////////////////////////////////////////////////////
Expand Down
40 changes: 19 additions & 21 deletions ide-support/revsaveasiosstandalone.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -586,24 +586,22 @@ private command revSaveAsMobileStandaloneMain pStack, pAppBundle, pTarget, pSett
put tSDKs["sim"]["suffix"] into tSimVersion
put the itemdel into tOldItemDel
set the itemdel to"_"
if item 1 of tSimVersion < 8 then
put tRedirects into tDeploy["redirects"]
else
put empty into tDeploy["redirects"]
repeat for each line tRedirect in tRedirects
get offset("//", tRedirect)
if it is not 0 then
--symlinkRedirect char (it + 2) to -1 of tRedirect, pAppBundle & slash & char 1 to (it - 1) of tRedirect
local tSource, tTarget
put char (it + 2) to -1 of tRedirect into tSource
put pAppBundle into tTarget

put slash & char 1 to (it - 1) of tRedirect after tTarget

symlinkRedirect tSource, tTarget
end if
end repeat
end if

put empty into tDeploy["redirects"]
repeat for each line tRedirect in tRedirects
get offset("//", tRedirect)
if it is not 0 then
--symlinkRedirect char (it + 2) to -1 of tRedirect, pAppBundle & slash & char 1 to (it - 1) of tRedirect
local tSource, tTarget
put char (it + 2) to -1 of tRedirect into tSource
put pAppBundle into tTarget

put slash & char 1 to (it - 1) of tRedirect after tTarget

symlinkRedirect tSource, tTarget
end if
end repeat

set the itemdel to tOldItemDel

-- Output file to create
Expand Down Expand Up @@ -1013,7 +1011,7 @@ private command revDecorateImageAssets pTarget, pSettings, pBaseFolder, pAppBund
local tMinVersion
put pSettings["ios,minimum version"] into tMinVersion
if tMinVersion is empty then
put "8.0" into tMinVersion
put "9.0" into tMinVersion
end if

-- create the Assets.car file
Expand Down Expand Up @@ -1475,8 +1473,8 @@ private function revGetMinimumOSByArch pMinimumOS
-- same for all archs
-- We only support version >= 6.0
--
if pMinimumOS is empty or pMinimumOS < "6.0" then
put "6.0" into tMinimumOSByArch["i386"]
if pMinimumOS is empty or pMinimumOS < "9.0" then
put "9.0" into tMinimumOSByArch["i386"]
else
put pMinimumOS after tMinimumOSByArch["i386"]
end if
Expand Down