# Creating a Framework for iOS | raywenderlich.com

**URL:** <https://forums.kodeco.com/t/creating-a-framework-for-ios-raywenderlich-com/130613>\
**Category:** 🎓 Courses & Articles\
**Created:** [January 20, 2021, 3:38pm UTC](https://forums.kodeco.com/t/creating-a-framework-for-ios-raywenderlich-com/130613 "2021-01-20T15:38:28Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![pauladdy](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/pauladdy/32/104527_2.png) [@pauladdy](https://forums.kodeco.com/u/pauladdy)\
**Post date:** [June 12, 2022, 11:23pm UTC](https://forums.kodeco.com/t/creating-a-framework-for-ios-raywenderlich-com/130613/21 "2022-06-12T23:23:32Z")

</div>

I may have found a solution here, doing more tests to confirm. Note though, that the issue was known and was supposed to have been resolved prior to Xcode 13…

> **[SwiftPM binaryTarget dependency and code signing](https://forums.swift.org/t/swiftpm-binarytarget-dependency-and-code-signing/38953/29)**
>
> There is still an issue if a project uses a Swift package which itself declares a binary Swift package as dependency (Project → Source package → Binary package instead of Project → Binary package), which is the problem described by the message...

---

<div class="post-metadata">

**Author:** ![gabecolors](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gabecolors/32/105813_2.png) [@gabecolors](https://forums.kodeco.com/u/gabecolors)\
**Post date:** [October 22, 2022, 7:12pm UTC](https://forums.kodeco.com/t/creating-a-framework-for-ios-raywenderlich-com/130613/22 "2022-10-22T19:12:40Z")

</div>

I’m stuck here as well, would be great to update the tutorial for Xcode 13 with Products explained @emadgnia Thank you!

---

<div class="post-metadata">

**Author:** ![gabecolors](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gabecolors/32/105813_2.png) [@gabecolors](https://forums.kodeco.com/u/gabecolors)\
**Post date:** [October 22, 2022, 9:29pm UTC](https://forums.kodeco.com/t/creating-a-framework-for-ios-raywenderlich-com/130613/23 "2022-10-22T21:29:10Z")

</div>

Thank you for this! I am (I think) near the end - totally makes sense how this works:

```auto
public class CalendarPickerViewController: UIViewController {

```

But then we need to add public to 8 more things. None of them exist as listed. For example you say in the tutorial:

Next, add the public keyword to:

```auto
CalendarPickerViewController.init(baseDate:selectedDateChanged:)

```

Since that exact series of characters does not exist in the code, I’m guessing the above means that in the CalendarPickerViewController, add public to the following:

```auto
/// MARK: Initializers

  init(baseDate: Date, selectedDateChanged: @escaping ((Date) -> Void)) {

```

But that’s just sort of close to what you wrote. What do I google to understand your syntax?

Assuming I’m right, what is this shorthand:

```auto
CalendarPickerViewController.init(baseDate:selectedDateChanged:)

```

And if I’m wrong help! ha.

---

<div class="post-metadata">

**Author:** ![hsiehce92](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hsiehce92/32/105896_2.png) [@hsiehce92](https://forums.kodeco.com/u/hsiehce92)\
**Post date:** [March 16, 2023, 6:00am UTC](https://forums.kodeco.com/t/creating-a-framework-for-ios-raywenderlich-com/130613/24 "2023-03-16T06:00:40Z")

</div>

After Xcode 13.0 update, the Products directory is unavailable by default after create a new framework project, so we will need few steps to add framework to RWCalendarPicker project.

For those who cannot find Products directory, you can add the framework project after right click on RWCalendarPick in navigator, then go to RWCalendarPicker target window, general tab, inside Frameworks, Libraries, and… section, click add button.

Then you should see the framework project just created.

[Previous page](https://forums.kodeco.com/t/creating-a-framework-for-ios-raywenderlich-com/130613.md?page=1)
