Widget in iOS 17 Xcode beta errors

In Xcode 15, we got improvements on widgets, which also change A LOT how we handle them in code, we need to take care now of: Live action, animations, Time Lines & App Intents If you download the Widgets example from Apple, you’ll see that it won’t compile in Xcode 15 Beta 2 after create … 

 

Testable import in Xcode

In Swift there’s a message in “Test Target” that states that the bridging header will be removed in newer versions of swift. @testable import YourProject You fix it by adding #import “Project-Bridging-Header.h” inside ProjectTests-Bridging-Header and deleting the @testable inside your test @testable import YourProject