SetPlatform for the new Arm7 #3218
-
I have this code below and Cake.CoreCLR 0.38.4 and I need to set the iPhone configuration for ARM7. Can this be added? Will using WithProperty work also? I believe this is the new architecture for iOS builds. I'm having issues with switching the CodesignKey using MSBuild I looked here and did not see a setting for it: http://develop.cakebuild.net/api/Cake.Common.Tools.MSBuild/PlatformTarget/ Also, WithProperty does work, since iPhone is generally used in peoples projects. It would be nice to add an enum or exend the SetPlatform to allow a string.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Assuming e.g. configurator
.SetConfiguration(BuildParameters.Configuration)
- .SetPlatformTarget(BuildParameters.Platform)
+ .WithProperty("Platform", "ARM7")
.SetVerbosity(Verbosity.Diagnostic)
.WithProperty("BuildIpa", "true")
.WithProperty("CodesignKey", BuildParameters.CertTypes[BranchProject].IOSTeam)
.WithProperty("CodesignProvision", provisionType)
.WithProperty("MtouchNoSymbolStrip", "false")
.WithProperty("ArchiveOnBuild", "true")
.WithLogger(
Context.Tools.Resolve("MSBuild.ExtensionPack.Loggers.dll").FullPath,
"XmlFileLogger",
$"logfile=\"{BuildParameters.LogPath}\";verbosity=Detailed;encoding=UTF-8"
)
); It would be great if you could point us to documentation where we can see which platform targets we should be adding to the enumeration (PRs welcome as well). |
Beta Was this translation helpful? Give feedback.
Assuming
ARM7
is a more recent platform target, then it's not part of the enum yet (should be added in a future version of Cake), so in the meantime you should use.WithProperty("Platform", "xxxx")
e.g.