phrase / ios-sdk

Phrase Over the Air iOS SDK
https://phrase.com
Other
14 stars 3 forks source link

Xcode 14 preview error #49

Closed bill-florio closed 1 year ago

bill-florio commented 1 year ago

Hi! when I open my project with Xcode 14, I got this error:

SettingsError: noExecutablePath(<IDESwiftPackageStaticLibraryProductBuildable:ObjectIdentifier(0x0000600014eebb40):'PhraseSDK'>)

Reopen with Xcode 13 works fine.

winkelsdorf commented 1 year ago

Hi @bill-florio,

thank you for your report!

As to my knowledge Xcode 14 currently has issues with Previews together with SPM packages.

Please see: https://developer.apple.com/forums/thread/707569

We are investigating if we can do anything on our end to fix this.

winkelsdorf commented 1 year ago

Follow-Up: It still seems to be broken with Xcode 14.0.1. We don't adjust the library type in our Package.swift as we have a very simple Package (https://github.com/phrase/ios-sdk/blob/master/Package.swift), so unfortunately nothing we can do about right now.

From what I read, Apple is likely to fix this with Xcode 14.1, currently in Beta.

Sorry for the inconvenience.

arthur-chambriard commented 1 year ago

Hello FYI: I had the issue as well. Xcode 14.1 has been released yesterday and fixes the issue.