---
title: "github.com/mac-cain13/r.swift 7.0.0 Breaking Changes"
description: "What each github.com/mac-cain13/r.swift release removed, renamed or changed: 58 breaking changes in 11 versions on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/mac-cain13/r.swift
last_updated: 2026-12-04
---

# github.com/mac-cain13/r.swift breaking changes

github.com/mac-cain13/r.swift 7.0.0 is its newest release with breaking changes, 31 of them. The first: Removed builtProductsDir. Every breaking API change we have recorded in github.com/mac-cain13/r.swift on Swift Package Index: 58 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.8.0`, released November 5, 2024. [Source repository](https://github.com/mac-cain13/R.swift)

- From [6.0.0](#v-6-0-0) to [7.0.0](#v-7-0-0): 31 breaking changes in 1 version.
- From [0.2.0](#v-0-2-0) to [7.0.0](#v-7-0-0): 56 breaking changes in 10 versions.

## github.com/mac-cain13/r.swift 7.0.0 breaking changes

github.com/mac-cain13/r.swift 7.0.0: 31 breaking changes.

- **Removed** `builtProductsDir`  

Use environment variables instead of this command-line argument. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `bundleIdentifier`  

Use environment variables instead of this command-line argument. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `codeSignEntitlements`  

Use environment variables instead of this command-line argument. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `ColorResourceType`  

This protocol is no longer available in the support library. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `developerDir`  

Use environment variables instead of this command-line argument. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `FileResourceType`  

This protocol is no longer available in the support library. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `FontResourceType`  

This protocol is no longer available in the support library. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `generateUITestFile`  

For a file with only ids, run rswift a second time with --generators id. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `hostingBundle`  

Specify the bundle in code with \_R(bundle:) instead. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `IdentifierType`  

This protocol is no longer available in the support library. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `ImageResourceType`  

This protocol is no longer available in the support library. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `infoPlistFile`  

Use environment variables instead of this command-line argument. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `platformDir`  

Use environment variables instead of this command-line argument. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `productModuleName`  

Use environment variables instead of this command-line argument. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `R.nib.XXX.secondView`  

Only the firstView accessor remains for nib views. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `R.swift.Library`  

Remove the dependency on R.swift.Library and add the RswiftLibrary target from the main package. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `sdkRoot`  

Use environment variables instead of this command-line argument. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `sourceRoot`  

Use environment variables instead of this command-line argument. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `StoryboardViewControllerResourceType`  

This protocol is no longer available in the support library. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `StringResourceType`  

This protocol is no longer available in the support library. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Removed** `Validatable`  

This protocol is no longer available in the support library. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Renamed** `accessLevel`  

Use the access-level argument instead of accessLevel when calling the rswift tool. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Renamed** `NibResourceType`  

Use NibReferenceContainer instead. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Renamed** `ReuseIdentifierType`  

Use ReuseIdentifierContainer instead. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Renamed** `Rswift`  

Change import Rswift to import RswiftResources in your code. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Renamed** `StoryboardResourceType`  

Use StoryboardReference instead. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Renamed** `StoryboardResourceWithInitialControllerType`  

Use InitialControllerContainer instead. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Renamed** `StoryboardSegueIdentifier`  

Use SegueIdentifier instead. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Renamed** `TypedStoryboardSegueInfo`  

Use TypedSegue instead. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Behavior changed** `R.string`  

Strings without arguments are also formatted now, so literal percent signs must be escaped as %%. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)
- **Configuration changed**  

CI builds that run the plugins must pass -skipPackagePluginValidation to xcbuildtool. [github.com](https://github.com/mac-cain13/R.swift/blob/master/Documentation/Migration.md)

## github.com/mac-cain13/r.swift 6.0.0 breaking changes

github.com/mac-cain13/r.swift 6.0.0: 3 breaking changes.

- **Removed**  

R.swift no longer generates an rswift-lastrun file. Code or scripts that read that file will need another approach. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v6.0.0)
- **Behavior changed**  

R.swift no longer performs the build script's input/output files check. Build setups that relied on this check may behave differently. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v6.0.0)
- **Behavior changed**  

R.swift no longer runs during Xcode index builds. Build setups that depended on it running then may behave differently. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v6.0.0)

## github.com/mac-cain13/r.swift 5.0.0 breaking changes

github.com/mac-cain13/r.swift 5.0.0: 3 breaking changes.

- **Removed**  

CLR file support was removed; use color resources instead. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v5.0.0)
- **Behavior changed**  

Generated code no longer includes empty structs, so code referencing them will break. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v5.0.0)
- **Behavior changed**  

This release targets Xcode 10 and the iOS 12 SDK and is not compatible with older versions; use R.swift 4 if older compatibility is needed. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v5.0.0)

## github.com/mac-cain13/r.swift 4.0.0 breaking changes

github.com/mac-cain13/r.swift 4.0.0: 1 breaking change.

- **Default changed**  

Generated resource names now use better capitalization by default, so existing generated names may change; check code that references them. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v4.0.0)

## github.com/mac-cain13/r.swift 3.0.0 breaking changes

github.com/mac-cain13/r.swift 3.0.0: 2 breaking changes.

- **Removed**  

Swift 2 is no longer supported. Stay on the 2.\* versions of the package if your code targets Swift 2. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v3.0.0)
- **Renamed**  

Some methods were renamed. They carry an availability annotation, so the compiler will flag the old names and show you what to rename them to. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v3.0.0)

## github.com/mac-cain13/r.swift 2.0.0 breaking changes

github.com/mac-cain13/r.swift 2.0.0: 1 breaking change.

- **Removed**  

Version 2.0.0 is not compatible with Swift 2.1. Users who still need Swift 2.1 should stay on version 1.4.2. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v2.0.0)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### github.com/mac-cain13/r.swift 1.0.0 breaking changes

github.com/mac-cain13/r.swift 1.0.0: 12 breaking changes.

- **Removed**  

Version 1.0.0 no longer supports iOS 7. Projects that still need iOS 7 must stay on R.swift 0.13. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v1.0.0)
- **Renamed** `R.nib.someView.initiate`  

Use R.nib.someView() in place of R.nib.someView.initiate(). [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v1.0.0)

And 10 more in this version.

### github.com/mac-cain13/r.swift 0.13.0 breaking changes

github.com/mac-cain13/r.swift 0.13.0: 1 breaking change.

- **Renamed** `R.segue.mySegue`  

Segue accessors moved from R.segue.\<name> to R.segue.\<viewController>.\<name>; update code to the new path or it will fail to compile. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v0.13.0)

### github.com/mac-cain13/r.swift 0.11.0 breaking changes

github.com/mac-cain13/r.swift 0.11.0: 1 breaking change.

- **Behavior changed**  

Names generated from resource filenames change: invalid characters are cleaned differently and capitals are preserved. Code that references previously generated names may need updating. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v0.11.0)

### github.com/mac-cain13/r.swift 0.10.0 breaking changes

github.com/mac-cain13/r.swift 0.10.0: 1 breaking change.

- **Behavior changed**  

Generated resources now come from the project file, so files on disk that are not in the Xcode project may no longer produce R symbols. Check code that uses those resources. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v0.10.0)

### github.com/mac-cain13/r.swift 0.2.0 breaking changes

github.com/mac-cain13/r.swift 0.2.0: 2 breaking changes.

- **Removed** `UIImage.*`  

Images are now accessed through R.\[assetFolder\].\[imageName\] instead of the UIImage.\* approach. Update image lookups to the new form. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v0.2.0)
- **Renamed**  

The project was renamed to R.swift. Update imports and references to the new name. [github.com](https://github.com/mac-cain13/R.swift/releases/tag/v0.2.0)

## Related packages

- [R.swift](https://since.dev/packages/cocoapods/R.swift.md):  on CocoaPods

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
