---
title: "Discussion on \"Conditional Compilation in Swift: Making Cross-Platform Apple Apps Work\" | Hashnode"
description: "Discussion on \"Conditional Compilation in Swift: Making Cross-Platform Apple Apps Work\". I am currently building an app the will exist across multiple apple platforms (MacOS, iOS and iPadOS) and during this process I noticed that some features won’t work on other apple platforms.For example I was building a feature that required camera a..."
url: "https://hashnode.com/posts/conditional-compilation-in-swift-making-cross-platform-apple-apps-work/686e447775c20d624c3bc7ea"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Conditional Compilation in Swift: Making Cross-Platform Apple Apps Work](https://clementlumumba.hashnode.dev/conditional-compilation-in-swift-making-cross-platform-apple-apps-work?utm_source=hashnode&utm_medium=feed)

I am currently building an app the will exist across multiple apple platforms (MacOS, iOS and iPadOS) and during this process I noticed that some features won’t work on other apple platforms.For example I was building a feature that required camera a...

Jul 9, 2025 · 2 min read · clementlumumba.hashnode.dev  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#swiftui](https://hashnode.com/tag/swiftui)
-   [#xcode](https://hashnode.com/tag/xcode)
-   [#apple](https://hashnode.com/tag/apple)

## Written by

[Clement Lumumba](https://hashnode.com/@ClemoLumumba)

@ClemoLumumba · Nairobi, Kenya

  
[View profile](https://hashnode.com/@ClemoLumumba)

🤖🤖🤖🤖

iOS Engineer

## Responses 1

Markdown supported · ⌘↵ to post

[Daniel Dennis](https://hashnode.com/@katungi)

[Jul 9, 2025](https://hashnode.com/posts/conditional-compilation-in-swift-making-cross-platform-apple-apps-work/686e447775c20d624c3bc7ea/comment/686e4ad8067c7f939cf9fa0b)

Very informative article
