feat: Add iOS platform support #60

Merged
Henry-Hiles merged 7 commits from eleboucher/nexus:ios-support into main 2026-08-08 16:35:57 -04:00
Contributor
No description provided.
Henry-Hiles left a comment

just one small nitpick :)

just one small nitpick :)
hook/build.dart Outdated
@ -20,0 +28,4 @@
final iosConfig = codeConfig.iOS;
iosSdk = iosConfig.targetSdk;
final minVersion = iosConfig.targetVersion;
iosSdkPath = (await Process.run("xcrun", [
Owner

Failures should be handled here. Maybe you can edit lib/helpers/extensions/get_xcode_sdk.dart to take in a {String? sdkType} and just use that?

Failures should be handled here. Maybe you can edit `lib/helpers/extensions/get_xcode_sdk.dart` to take in a `{String? sdkType}` and just use that?
Henry-Hiles marked this conversation as resolved
hook/build.dart Outdated
@ -20,0 +45,4 @@
: "$archTriple-apple-ios$minVersion.0";
extraEnv = {
"GOOS": "ios",
"CC": (await Process.run("xcrun", [
Owner

Same here :)

Same here :)
Henry-Hiles marked this conversation as resolved
@ -12,0 +19,4 @@
if (sdkType != null) ...["--sdk", sdkType],
"-f",
"clang",
], "get XCode clang");
Owner

Sorry for another nitpick but instead of splitting this into multiple methods can we not just Future<String> getXCodeTool({String? sdkType, String? findTool}) and then use e.g. getXCodeTool(iosSdk.type, "clang")?

Sorry for another nitpick but instead of splitting this into multiple methods can we not just `Future<String> getXCodeTool({String? sdkType, String? findTool})` and then use e.g. `getXCodeTool(iosSdk.type, "clang")`?
eleboucher marked this conversation as resolved
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Nexus/nexus!60
No description provided.