Post

Replies

Boosts

Views

Activity

Storyboard not loading properly in app extensions
Hi all, I have an app that uses storyboards to power two extensions (a share extension and an iMessage app). Up until Xcode 15, these app extensions worked flawlessly. Now that my app is built with Xcode 15, these share extensions fail to load the main storyboards (I get a crash on my IBOutlets being nil). Is there some setting in the new Xcode that I need to enable to make sure my storyboard is loaded properly? Or is this a bug that I should be submitting to the Feedback Assistant? I just want to inquire before I spend time building a reproducer project.
0
0
223
Oct ’23
Mac Catalyst issues linking to dynamic libraries
Hi,I have an app for iOS/iPadOS that I've recently converted to support Mac Catalyst. The app used to run fine using an older version of Xcode, but now when I try and run the app on Xcode Version 11.4.1 (11E503a), I get the following error for 4 of my dependencies: error: multiple configured targets of 'XXXX' are being created for macOSI'm not sure how to fix this. The app runs fine on iOS and iPadOS.Here's a Package.swift for one of my dependencies:// swift-tools-version:5.1import PackageDescriptionlet package = Package( name: "MDFToolbox", platforms: [ .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v3) ], products: [ .library(name: "MDFToolbox", type: .dynamic, targets: ["MDFToolbox"]), .library(name: "MDFToolboxMocks", type: .dynamic, targets: ["MDFToolboxMocks"]) ], dependencies: [ .package(url: "git@github.com:mpdifran/Swinject.git", from: "2.7.0"), ], targets: [ .target(name: "MDFToolbox", dependencies: ["Swinject"]), .target(name: "MDFToolboxMocks", dependencies: ["MDFToolbox"]), //.testTarget(name: "MDFToolboxTests", dependencies: ["MDFToolbox"]) ])
0
0
605
Apr ’20