Skip to content

swift: add iOS simulator support #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2025
Merged

swift: add iOS simulator support #38

merged 1 commit into from
May 22, 2025

Conversation

barnstar
Copy link
Member

updates tailscale/tailscale#15802

This adds the required targets to build for the iOS simulator. We support ios, ios-sim, and ios-fat
framework targets (the latter of which is an xcframework that combines the former)

The sample app is updated to link in the ios-fat version so it can be run on any target device or sim.

The fields on the LoopbackConfig are now public so they can be extracted if needed.

@barnstar barnstar requested a review from danderson May 21, 2025 17:02
Copy link

review-ai-agent bot commented May 21, 2025

Pull Request Revisions

RevisionDescription
r3
Updated Swift README documentation detailsRefined build instructions, code examples, and documentation notes for Swift Tailscale framework, including minor syntax and explanation adjustments
r2
Updated iOS build script and MakefileModified Makefile to add ios-fat target, updated iOS simulator build scripts, and improved build process logging
r1
iOS Simulator and Universal Framework SupportAdded support for building iOS Simulator libraries, Universal (fat) XCFramework, and updated build scripts and configurations to handle multiple architectures and simulator builds

✅ AI review completed for r3
Help React with emojis to give feedback on AI-generated reviews:
  • 👍 means the feedback was helpful and actionable
  • 👎 means the feedback was incorrect or unhelpful
💬 Replying to feedback with a comment helps us improve the system. Your input also contributes to shaping future interactions with the AI reviewer.

We'd love to hear from you—reach out anytime at [email protected].

@barnstar barnstar force-pushed the barnstar/swift-ios-sim branch from f6085c5 to 2f00c4f Compare May 21, 2025 17:31
updates tailscale/tailscale#15802

This adds the required targets to build for the iOS
simulator.   We support both ios, ios-sim, and ios-fat
framework targets.

The sample app is updated to link in the ios-fat version
so it can be run on any target device or sim.
@barnstar barnstar force-pushed the barnstar/swift-ios-sim branch from 2f00c4f to fe723f9 Compare May 22, 2025 14:06
@barnstar barnstar merged commit 727bd68 into main May 22, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants