[main] Hot Restart fixes (#18317) · dotnet/macios@495ebc9 (original) (raw)

`@@ -217,6 +217,23 @@

`

217

217

`

`

218

218

`

`

219

219

``

``

220

`+

`

``

221

`+

`

``

222

`+

`

``

223

+

``

224

`+

`

``

225

`+

`

``

226

`+

`

``

227

`+

`

``

228

`+

`

``

229

`+

`

``

230

`+

`

``

231

`+

`

``

232

`+

`

``

233

`+

`

``

234

`+

`

``

235

`+

`

``

236

+

220

237

`

`

221

238

`

`

222

239

` <_CodeSignHotRestartInputs Include="$(_AppBundleManifestPath)" Outputs="$(HotRestartSignedAppDir)Info.plist" />

`

`@@ -232,11 +249,12 @@

`

232

249

` _CreateHotRestartCachedBundle;

`

233

250

` _UnpackLibraryResources;

`

234

251

` _ComputeHotRestartBundleContents;

`

``

252

`+

_CodesignHotRestartAppBundle;

`

235

253

` _CopyHotRestartBundleResources;

`

236

254

` _CopyFilesToHotRestartSignedAppDirContents;

`

237

255

` _CopyFilesToHotRestartContentDir;

`

238

256

` _CopyFilesToHotRestartAppContentDir;

`

239

``

`-

_CodesignHotRestartAppBundle;

`

``

257

`+

_CreateHotRestartAppMarkers;

`

240

258

` </_CreateHotRestartOutputBundleDependsOn>

`

241

259

`

`

242

260

``

`@@ -247,7 +265,7 @@

`

247

265

` Condition="'$(_CanOutputAppBundle)' == 'true' And '$(IsAppExtension)' == 'false' And '$(IsHotRestartBuild)' == 'true' And '$(EnableCodeSigning)' != 'false'"

`

248

266

` DependsOnTargets="_CreateHotRestartCachedBundle;_CollectCodeSignHotRestartInputs"

`

249

267

` Inputs="@(_CodeSignHotRestartInputs)"

`

250

``

`-

Outputs="$(HotRestartAppBundlePath)_CodeSignature\CodeResources">

`

``

268

`+

Outputs="@(_CodeSignHotRestartInputs -> '%(Outputs)')">

`

251

269

``

252

270

` <CodesignHotRestartApp

`

253

271

` AppBundlePath="$(HotRestartAppBundlePath)"

`